Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate 'Content' items were included: regression on 5.0.300 #17976

Closed
ForNeVeR opened this issue May 30, 2021 · 8 comments
Closed

Duplicate 'Content' items were included: regression on 5.0.300 #17976

ForNeVeR opened this issue May 30, 2021 · 8 comments
Labels
untriaged Request triage from a team member

Comments

@ForNeVeR
Copy link

ForNeVeR commented May 30, 2021

When building this project (see the specific commit), I'm getting the following error after updating to 5.0.300:

$ Scripts/Prepare-Talks.ps1
$ dotnet build
[…]
Microsoft.NET.Sdk.DefaultItems.targets(318, 5): [NETSDK1022] Duplicate 'Content' items were included. The .NET SDK includes 'Content' items from your project directory by default. You can either remove these items from your project file, or set the 'EnableDefaultContentItems' property to 'false' if you want to explicitly include them in your project file. For more information, see https://aka.ms/sdkimplicititems. The duplicate items were: 'wwwroot\talks\git-basics\node_modules\.bin\grunt'; 'wwwroot\talks\git-basics\node_modules\.bin\mime'; 'wwwroot\talks\git-basics\node_modules\.bin\mustache'; 'wwwroot\talks\git-basics\node_modules\.bin\nopt'; 'wwwroot\talks\git-basics\node_modules\abbrev\LICENSE'; 'wwwroot\talks\git-basics\node_modules\accepts\LICENSE'; 'wwwroot\talks\git-basics\node_modules\after\LICENCE'; 'wwwroot\talks\git-basics\node_modules\array-flatten\LICENSE'; 'wwwroot\talks\git-basics\node_modules\arraybuffer.slice\Makefile'; 'wwwroot\talks\git-basics\node_modules\backo2\Makefile'; 'wwwroot\talks\git-basics\node_modules\base64-arraybuffer\LICENSE-MIT'; 'wwwroot\talks\git-basics\node_modules\base64id\LICENSE'; 'wwwroot\talks\git-basics\node_modules\better-assert\Makefile'; 'wwwroot\talks\git-basics\node_modules\blob\Makefile'; 'wwwroot\talks\git-basics\node_modules\callsite\Makefile'; 'wwwroot\talks\git-basics\node_modules\component-bind\Makefile'; 'wwwroot\talks\git-basics\node_modules\component-emitter\LICENSE'; 'wwwroot\talks\git-basics\node_modules\component-inherit\Makefile'; 'wwwroot\talks\git-basics\node_modules\concat-map\LICENSE'; 'wwwroot\talks\git-basics\node_modules\content-disposition\LICENSE'; 'wwwroot\talks\git-basics\node_modules\content-type\LICENSE'; 'wwwroot\talks\git-basics\node_modules\cookie\LICENSE'; 'wwwroot\talks\git-basics\node_modules\debug\LICENSE'; 'wwwroot\talks\git-basics\node_modules\debug\Makefile'; 'wwwroot\talks\git-basics\node_modules\depd\LICENSE'; 'wwwroot\talks\git-basics\node_modules\destroy\LICENSE'; 'wwwroot\talks\git-basics\node_modules\ee-first\LICENSE'; 'wwwroot\talks\git-basics\node_modules\encodeurl\LICENSE'; 'wwwroot\talks\git-basics\node_modules\engine.io-client\LICENSE'; 'wwwroot\talks\git-basics\node_modules\engine.io-parser\LICENSE'; 'wwwroot\talks\git-basics\node_modules\engine.io\LICENSE'; 'wwwroot\talks\git-basics\node_modules\escape-html\LICENSE'; 'wwwroot\talks\git-basics\node_modules\etag\LICENSE'; 'wwwroot\talks\git-basics\node_modules\express\LICENSE'; 'wwwroot\talks\git-basics\node_modules\express\node_modules\debug\Makefile'; 'wwwroot\talks\git-basics\node_modules\express\node_modules\ms\LICENSE'; 'wwwroot\talks\git-basics\node_modules\finalhandler\LICENSE'; 'wwwroot\talks\git-basics\node_modules\finalhandler\node_modules\debug\Makefile'; 'wwwroot\talks\git-basics\node_modules\finalhandler\node_modules\ms\LICENSE'; 'wwwroot\talks\git-basics\node_modules\findup-sync\LICENSE-MIT'; 'wwwroot\talks\git-basics\node_modules\forwarded\LICENSE'; 'wwwroot\talks\git-basics\node_modules\fresh\LICENSE'; 'wwwroot\talks\git-basics\node_modules\glob\LICENSE'; 'wwwroot\talks\git-basics\node_modules\grunt-cli\bin\grunt'; 'wwwroot\talks\git-basics\node_modules\grunt-cli\completion\bash'; 'wwwroot\talks\git-basics\node_modules\grunt-cli\completion\zsh'; 'wwwroot\talks\git-basics\node_modules\grunt-cli\node_modules\.bin\nopt'; 'wwwroot\talks\git-basics\node_modules\grunt-known-options\LICENSE'; 'wwwroot\talks\git-basics\node_modules\has-binary\LICENSE'; 'wwwroot\talks\git-basics\node_modules\has-binary\Makefile'; 'wwwroot\talks\git-basics\node_modules\has-cors\Makefile'; 'wwwroot\talks\git-basics\node_modules\http-errors\LICENSE'; 'wwwroot\talks\git-basics\node_modules\indexof\Makefile'; 'wwwroot\talks\git-basics\node_modules\inflight\LICENSE'; 'wwwroot\talks\git-basics\node_modules\inherits\LICENSE'; 'wwwroot\talks\git-basics\node_modules\ipaddr.js\Cakefile'; 'wwwroot\talks\git-basics\node_modules\ipaddr.js\LICENSE'; 'wwwroot\talks\git-basics\node_modules\json3\LICENSE'; 'wwwroot\talks\git-basics\node_modules\media-typer\LICENSE'; 'wwwroot\talks\git-basics\node_modules\merge-descriptors\LICENSE'; 'wwwroot\talks\git-basics\node_modules\methods\LICENSE'; 'wwwroot\talks\git-basics\node_modules\mime-db\LICENSE'; 'wwwroot\talks\git-basics\node_modules\mime-types\LICENSE'; 'wwwroot\talks\git-basics\node_modules\mime\LICENSE'; 'wwwroot\talks\git-basics\node_modules\minimatch\LICENSE'; 'wwwroot\talks\git-basics\node_modules\mustache\bin\mustache'; 'wwwroot\talks\git-basics\node_modules\mustache\LICENSE'; 'wwwroot\talks\git-basics\node_modules\negotiator\LICENSE'; 'wwwroot\talks\git-basics\node_modules\nopt\LICENSE'; 'wwwroot\talks\git-basics\node_modules\object-assign\license'; 'wwwroot\talks\git-basics\node_modules\object-component\Makefile'; 'wwwroot\talks\git-basics\node_modules\on-finished\LICENSE'; 'wwwroot\talks\git-basics\node_modules\once\LICENSE'; 'wwwroot\talks\git-basics\node_modules\options\Makefile'; 'wwwroot\talks\git-basics\node_modules\parsejson\LICENSE'; 'wwwroot\talks\git-basics\node_modules\parsejson\Makefile'; 'wwwroot\talks\git-basics\node_modules\parseqs\LICENSE'; 'wwwroot\talks\git-basics\node_modules\parseqs\Makefile'; 'wwwroot\talks\git-basics\node_modules\parseuri\LICENSE'; 'wwwroot\talks\git-basics\node_modules\parseuri\Makefile'; 'wwwroot\talks\git-basics\node_modules\parseurl\LICENSE'; 'wwwroot\talks\git-basics\node_modules\path-is-absolute\license'; 'wwwroot\talks\git-basics\node_modules\path-to-regexp\LICENSE'; 'wwwroot\talks\git-basics\node_modules\proxy-addr\LICENSE'; 'wwwroot\talks\git-basics\node_modules\qs\LICENSE'; 'wwwroot\talks\git-basics\node_modules\range-parser\LICENSE'; 'wwwroot\talks\git-basics\node_modules\resolve\LICENSE'; 'wwwroot\talks\git-basics\node_modules\reveal.js\lib\font\league-gothic\LICENSE'; 'wwwroot\talks\git-basics\node_modules\reveal.js\lib\font\source-sans-pro\LICENSE'; 'wwwroot\talks\git-basics\node_modules\reveal.js\LICENSE'; 'wwwroot\talks\git-basics\node_modules\reveal.js\node_modules\.bin\grunt'; 'wwwroot\talks\git-basics\node_modules\reveal.js\node_modules\.bin\mustache'; 'wwwroot\talks\git-basics\node_modules\send\LICENSE'; 'wwwroot\talks\git-basics\node_modules\send\node_modules\.bin\mime'; 'wwwroot\talks\git-basics\node_modules\send\node_modules\debug\Makefile'; 'wwwroot\talks\git-basics\node_modules\send\node_modules\debug\node_modules\ms\LICENSE'; 'wwwroot\talks\git-basics\node_modules\serve-static\LICENSE'; 'wwwroot\talks\git-basics\node_modules\setprototypeof\LICENSE'; 'wwwroot\talks\git-basics\node_modules\socket.io-adapter\LICENSE'; 'wwwroot\talks\git-basics\node_modules\socket.io-client\LICENSE'; 'wwwroot\talks\git-basics\node_modules\socket.io-parser\LICENSE'; 'wwwroot\talks\git-basics\node_modules\socket.io-parser\node_modules\component-emitter\Makefile'; 'wwwroot\talks\git-basics\node_modules\socket.io-parser\node_modules\debug\Makefile'; 'wwwroot\talks\git-basics\node_modules\socket.io-parser\node_modules\ms\LICENSE'; 'wwwroot\talks\git-basics\node_modules\socket.io\LICENSE'; 'wwwroot\talks\git-basics\node_modules\statuses\LICENSE'; 'wwwroot\talks\git-basics\node_modules\to-array\LICENCE'; 'wwwroot\talks\git-basics\node_modules\type-is\LICENSE'; 'wwwroot\talks\git-basics\node_modules\ultron\LICENSE'; 'wwwroot\talks\git-basics\node_modules\unpipe\LICENSE'; 'wwwroot\talks\git-basics\node_modules\utils-merge\LICENSE'; 'wwwroot\talks\git-basics\node_modules\vary\LICENSE'; 'wwwroot\talks\git-basics\node_modules\wrappy\LICENSE'; 'wwwroot\talks\git-basics\node_modules\ws\Makefile'; 'wwwroot\talks\git-basics\node_modules\xmlhttprequest-ssl\LICENSE'; 'wwwroot\talks\git-basics\node_modules\yeast\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\.bin\grunt'; 'wwwroot\talks\modern-programming\node_modules\.bin\mime'; 'wwwroot\talks\modern-programming\node_modules\.bin\mustache'; 'wwwroot\talks\modern-programming\node_modules\.bin\nopt'; 'wwwroot\talks\modern-programming\node_modules\abbrev\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\accepts\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\after\LICENCE'; 'wwwroot\talks\modern-programming\node_modules\array-flatten\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\arraybuffer.slice\Makefile'; 'wwwroot\talks\modern-programming\node_modules\backo2\Makefile'; 'wwwroot\talks\modern-programming\node_modules\base64-arraybuffer\LICENSE-MIT'; 'wwwroot\talks\modern-programming\node_modules\better-assert\Makefile'; 'wwwroot\talks\modern-programming\node_modules\blob\Makefile'; 'wwwroot\talks\modern-programming\node_modules\callsite\Makefile'; 'wwwroot\talks\modern-programming\node_modules\component-bind\Makefile'; 'wwwroot\talks\modern-programming\node_modules\component-emitter\Makefile'; 'wwwroot\talks\modern-programming\node_modules\component-inherit\Makefile'; 'wwwroot\talks\modern-programming\node_modules\content-disposition\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\content-type\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\cookie\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\debug\Makefile'; 'wwwroot\talks\modern-programming\node_modules\debug\node_modules\ms\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\depd\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\destroy\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\ee-first\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\engine.io-client\Makefile'; 'wwwroot\talks\modern-programming\node_modules\engine.io-client\node_modules\debug\Makefile'; 'wwwroot\talks\modern-programming\node_modules\engine.io-client\node_modules\parseuri\Makefile'; 'wwwroot\talks\modern-programming\node_modules\engine.io-parser\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\engine.io-parser\Makefile'; 'wwwroot\talks\modern-programming\node_modules\engine.io\Makefile'; 'wwwroot\talks\modern-programming\node_modules\engine.io\node_modules\debug\Makefile'; 'wwwroot\talks\modern-programming\node_modules\escape-html\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\etag\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\express\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\finalhandler\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\findup-sync\LICENSE-MIT'; 'wwwroot\talks\modern-programming\node_modules\forwarded\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\fresh\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\global\Makefile'; 'wwwroot\talks\modern-programming\node_modules\glob\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\grunt-cli\AUTHORS'; 'wwwroot\talks\modern-programming\node_modules\grunt-cli\bin\grunt'; 'wwwroot\talks\modern-programming\node_modules\grunt-cli\completion\bash'; 'wwwroot\talks\modern-programming\node_modules\grunt-cli\completion\zsh'; 'wwwroot\talks\modern-programming\node_modules\grunt-cli\LICENSE-MIT'; 'wwwroot\talks\modern-programming\node_modules\grunt-cli\node_modules\.bin\nopt'; 'wwwroot\talks\modern-programming\node_modules\has-binary-data\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\has-binary-data\Makefile'; 'wwwroot\talks\modern-programming\node_modules\has-binary\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\has-binary\Makefile'; 'wwwroot\talks\modern-programming\node_modules\has-cors\Makefile'; 'wwwroot\talks\modern-programming\node_modules\http-errors\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\http-errors\node_modules\statuses\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\indexof\Makefile'; 'wwwroot\talks\modern-programming\node_modules\inherits\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\ipaddr.js\Cakefile'; 'wwwroot\talks\modern-programming\node_modules\ipaddr.js\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\json3\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\lru-cache\CONTRIBUTORS'; 'wwwroot\talks\modern-programming\node_modules\lru-cache\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\media-typer\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\merge-descriptors\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\methods\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\mime-db\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\mime-types\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\mime\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\minimatch\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\mustache\bin\mustache'; 'wwwroot\talks\modern-programming\node_modules\mustache\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\negotiator\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\nopt\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\object-component\Makefile'; 'wwwroot\talks\modern-programming\node_modules\object-keys\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\on-finished\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\options\Makefile'; 'wwwroot\talks\modern-programming\node_modules\parsejson\Makefile'; 'wwwroot\talks\modern-programming\node_modules\parseqs\Makefile'; 'wwwroot\talks\modern-programming\node_modules\parseuri\Makefile'; 'wwwroot\talks\modern-programming\node_modules\parseurl\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\path-to-regexp\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\proxy-addr\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\qs\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\range-parser\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\resolve\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\reveal.js\lib\font\league-gothic\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\reveal.js\lib\font\source-sans-pro\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\reveal.js\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\reveal.js\node_modules\.bin\grunt'; 'wwwroot\talks\modern-programming\node_modules\reveal.js\node_modules\.bin\mustache'; 'wwwroot\talks\modern-programming\node_modules\send\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\send\node_modules\.bin\mime'; 'wwwroot\talks\modern-programming\node_modules\send\node_modules\ms\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\serve-static\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\serve-static\node_modules\ms\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\serve-static\node_modules\send\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\serve-static\node_modules\send\node_modules\.bin\mime'; 'wwwroot\talks\modern-programming\node_modules\sigmund\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\socket.io-adapter\node_modules\debug\Makefile'; 'wwwroot\talks\modern-programming\node_modules\socket.io-adapter\node_modules\socket.io-parser\Makefile'; 'wwwroot\talks\modern-programming\node_modules\socket.io-client\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\socket.io-parser\Makefile'; 'wwwroot\talks\modern-programming\node_modules\socket.io\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\socket.io\Makefile'; 'wwwroot\talks\modern-programming\node_modules\socket.io\node_modules\debug\Makefile'; 'wwwroot\talks\modern-programming\node_modules\statuses\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\to-array\LICENCE'; 'wwwroot\talks\modern-programming\node_modules\type-is\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\ultron\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\unpipe\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\utils-merge\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\vary\LICENSE'; 'wwwroot\talks\modern-programming\node_modules\ws\Makefile'; 'wwwroot\talks\modern-programming\node_modules\xmlhttprequest\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\.bin\grunt'; 'wwwroot\talks\net-core-slides\node_modules\.bin\mime'; 'wwwroot\talks\net-core-slides\node_modules\.bin\mustache'; 'wwwroot\talks\net-core-slides\node_modules\.bin\nopt'; 'wwwroot\talks\net-core-slides\node_modules\abbrev\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\accepts\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\after\LICENCE'; 'wwwroot\talks\net-core-slides\node_modules\array-flatten\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\arraybuffer.slice\Makefile'; 'wwwroot\talks\net-core-slides\node_modules\backo2\Makefile'; 'wwwroot\talks\net-core-slides\node_modules\base64-arraybuffer\LICENSE-MIT'; 'wwwroot\talks\net-core-slides\node_modules\base64id\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\better-assert\Makefile'; 'wwwroot\talks\net-core-slides\node_modules\blob\Makefile'; 'wwwroot\talks\net-core-slides\node_modules\callsite\Makefile'; 'wwwroot\talks\net-core-slides\node_modules\component-bind\Makefile'; 'wwwroot\talks\net-core-slides\node_modules\component-emitter\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\component-inherit\Makefile'; 'wwwroot\talks\net-core-slides\node_modules\concat-map\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\content-disposition\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\content-type\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\cookie\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\debug\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\debug\Makefile'; 'wwwroot\talks\net-core-slides\node_modules\depd\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\destroy\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\ee-first\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\encodeurl\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\engine.io-client\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\engine.io-parser\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\engine.io\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\escape-html\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\etag\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\express\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\express\node_modules\debug\Makefile'; 'wwwroot\talks\net-core-slides\node_modules\express\node_modules\ms\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\finalhandler\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\finalhandler\node_modules\debug\Makefile'; 'wwwroot\talks\net-core-slides\node_modules\finalhandler\node_modules\ms\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\findup-sync\LICENSE-MIT'; 'wwwroot\talks\net-core-slides\node_modules\forwarded\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\fresh\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\glob\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\grunt-cli\bin\grunt'; 'wwwroot\talks\net-core-slides\node_modules\grunt-cli\completion\bash'; 'wwwroot\talks\net-core-slides\node_modules\grunt-cli\completion\zsh'; 'wwwroot\talks\net-core-slides\node_modules\grunt-cli\node_modules\.bin\nopt'; 'wwwroot\talks\net-core-slides\node_modules\grunt-known-options\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\has-binary\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\has-binary\Makefile'; 'wwwroot\talks\net-core-slides\node_modules\has-cors\Makefile'; 'wwwroot\talks\net-core-slides\node_modules\http-errors\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\indexof\Makefile'; 'wwwroot\talks\net-core-slides\node_modules\inflight\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\inherits\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\ipaddr.js\Cakefile'; 'wwwroot\talks\net-core-slides\node_modules\ipaddr.js\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\json3\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\media-typer\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\merge-descriptors\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\methods\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\mime-db\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\mime-types\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\mime\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\minimatch\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\mustache\bin\mustache'; 'wwwroot\talks\net-core-slides\node_modules\mustache\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\negotiator\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\nopt\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\object-assign\license'; 'wwwroot\talks\net-core-slides\node_modules\object-component\Makefile'; 'wwwroot\talks\net-core-slides\node_modules\on-finished\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\once\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\options\Makefile'; 'wwwroot\talks\net-core-slides\node_modules\parsejson\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\parsejson\Makefile'; 'wwwroot\talks\net-core-slides\node_modules\parseqs\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\parseqs\Makefile'; 'wwwroot\talks\net-core-slides\node_modules\parseuri\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\parseuri\Makefile'; 'wwwroot\talks\net-core-slides\node_modules\parseurl\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\path-is-absolute\license'; 'wwwroot\talks\net-core-slides\node_modules\path-to-regexp\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\proxy-addr\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\qs\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\range-parser\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\resolve\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\reveal.js\lib\font\league-gothic\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\reveal.js\lib\font\source-sans-pro\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\reveal.js\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\reveal.js\node_modules\.bin\grunt'; 'wwwroot\talks\net-core-slides\node_modules\reveal.js\node_modules\.bin\mustache'; 'wwwroot\talks\net-core-slides\node_modules\send\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\send\node_modules\.bin\mime'; 'wwwroot\talks\net-core-slides\node_modules\send\node_modules\debug\Makefile'; 'wwwroot\talks\net-core-slides\node_modules\send\node_modules\debug\node_modules\ms\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\serve-static\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\setprototypeof\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\socket.io-adapter\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\socket.io-client\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\socket.io-parser\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\socket.io-parser\node_modules\component-emitter\Makefile'; 'wwwroot\talks\net-core-slides\node_modules\socket.io-parser\node_modules\debug\Makefile'; 'wwwroot\talks\net-core-slides\node_modules\socket.io-parser\node_modules\ms\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\socket.io\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\statuses\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\to-array\LICENCE'; 'wwwroot\talks\net-core-slides\node_modules\type-is\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\ultron\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\unpipe\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\utils-merge\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\vary\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\wrappy\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\ws\Makefile'; 'wwwroot\talks\net-core-slides\node_modules\xmlhttprequest-ssl\LICENSE'; 'wwwroot\talks\net-core-slides\node_modules\yeast\LICENSE'; 'wwwroot\talks\talk-javascriptservices\node_modules\highlight.js\LICENSE'; 'wwwroot\talks\talk-javascriptservices\node_modules\reveal.js\lib\font\league-gothic\LICENSE'; 'wwwroot\talks\talk-javascriptservices\node_modules\reveal.js\lib\font\source-sans-pro\LICENSE'; 'wwwroot\talks\talk-javascriptservices\node_modules\reveal.js\LICENSE'

I have the following lines in the .fsproj file:

    <!-- node_modules is ignored by default, so we need to fix that manually -->
    <Content Include="wwwroot\talks\*\node_modules\**" CopyToPublishDirectory="Always" />

From the error message, it looks like the files under node_modules without extension are now suddenly included as Content by the SDK (as well as by my .fsproj the second time), but everything else is still not.

I've checked the DefaultItems files in the SDK and found no changes between 5.0.100 and 5.0.300. Is it possible that treatment for ** was changed in between the releases? Sdk.Razor.StaticAssets.ProjectSystem.props has the following lines:

<DefaultItemExcludes>$(DefaultItemExcludes);**\node_modules\**;node_modules\**</DefaultItemExcludes>

Which is then used as following:

<Content Include="wwwroot\**" ExcludeFromSingleFile="true" CopyToPublishDirectory="PreserveNewest" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />

If this now only excludes files with extensions for some reason (i.e. only exclusion omits extensionless files, but inclusion by ** still adds them), then this may've caused the issue.

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged Request triage from a team member label May 30, 2021
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@ahmedalejo
Copy link

From the error message, it looks like the files under node_modules without extension are now suddenly included as Content by the SDK (as well as by my .fsproj the second time), but everything else is still not.

MSBUILD
That's exactly what I´m facing. My build fails intermittently on Azure DevOps agent.

  • Microsoft (R) Build Engine version 16.9.0+57a23d249 for .NET build completes
  • Microsoft (R) Build Engine version 16.10.0+4242f381a for .NET build fails

@ahmedalejo
Copy link

Do you have a workaround @ForNeVeR?

@ForNeVeR
Copy link
Author

ForNeVeR commented May 31, 2021

@ahmedalejo, sorry for the late answer. Here's my workaround.

Essentially, add <Content Remove="wwwroot\talks\*\node_modules\**" /> before adding the content items (via <Content Include="wwwroot\talks\*\node_modules\**"). This way, you'll remove the unwanted content (files without extensions), and then add them back as part of ** expansion (which is what I wanted, anyway).

@ForNeVeR
Copy link
Author

Could the issue be related to dotnet/msbuild#6235?

Though it talks literally about *.*, and I see no *.* in the related parts of the SDK.

@ahmedalejo
Copy link

@ahmedalejo, sorry for the late answer. Here's my workaround.

You replied just in time! I couldn´t have asked for more. Thanks.

Essentially, add <Content Remove="wwwroot\talks\*\node_modules\**" /> before adding the content items (via <Content Include="wwwroot\talks\*\node_modules\**"). This way, you'll remove the unwanted content (files without extensions), and then add them back as part of ** expansion (which is what I wanted, anyway).

Thanks for the workaround.
This reminds me of .net events 😅

textbox.TextChanged -= OnTextChanged;
textbox.TextChanged += OnTextChanged;

@ladipro
Copy link
Member

ladipro commented May 31, 2021

Thank you for reporting the issue! It is indeed a recent MSBuild regression, now tracked in dotnet/msbuild#6502.

@ForNeVeR
Copy link
Author

ForNeVeR commented Jun 1, 2021

Ok, I'll close this, then. Thanks a lot for taking a look!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

3 participants