Duplicate 'Content' items were included: regression on 5.0.300
See original GitHub issueWhen 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: https://github.com/dotnet/sdk/blob/6accda8014aba36ff81e6ece72514bd0c0b439db/src/RazorSdk/Sdk/Sdk.Razor.StaticAssets.ProjectSystem.props#L22
Which is then used as following: https://github.com/dotnet/sdk/blob/6accda8014aba36ff81e6ece72514bd0c0b439db/src/RazorSdk/Sdk/Sdk.Razor.StaticAssets.ProjectSystem.props#L30
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.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8 (1 by maintainers)
@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).Ok, I’ll close this, then. Thanks a lot for taking a look!