Breaking change in msbuild.sh
See original GitHub issueAfter https://github.com/dotnet/arcade/pull/1423/files, msbuild.sh no longer sets NUGET_PACKAGES
, causing the following error when using it to build an arcade project:
018-12-13T20:13:54.4060639Z ./eng/common/msbuild.sh --ci src/publishwitharcade.proj /p:__BuildType=Release /p:__BuildArch=arm
2018-12-13T20:13:54.4102191Z [command]/bin/bash --noprofile --norc /__w/_temp/1bc9b032-b9a9-4f00-967f-0b83a3b0254f.sh
2018-12-13T20:13:56.0898580Z /__w/7/s/src/publishwitharcade.proj(8,3): error : Unable to find package Microsoft.DotNet.Arcade.Sdk. No packages exist with this id in source(s): myget.org dotnet-core, nuget.org
2018-12-13T20:13:56.0935604Z /__w/7/s/src/publishwitharcade.proj(8,31): error MSB4236: The SDK 'Microsoft.DotNet.Arcade.Sdk' specified could not be found.
2018-12-13T20:13:56.1013752Z
2018-12-13T20:13:56.1025489Z Build FAILED.
2018-12-13T20:13:56.1025627Z
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
MSBuild breaking changes in .NET Core 2.1 - 3.1
Lists the breaking changes in MSBuild for .NET Core 2.1 - 3.1.
Read more >Breaking change inside v7.0.200 - MSBuild Preview ...
Describe the bug "dotnet build -o " feature (output folder for entire solution build) To Reproduce use "dotnet build -o " with sdk...
Read more >MSBuild (Visual Studio) — conan 1.60.2 documentation
While they are recommended and usable and we will try not to break them in future releases, some breaking changes might still happen...
Read more >Incremental Builds in MSBuild and How to Avoid Breaking Them
It can be easy to break incremental builds by using the build events in Visual Studio to change input files at build time,...
Read more >MSBuild deletes one lib file, breaking the build. Visual ...
I've tried changing the output dir of Common.lib , but every time MSBuild will build it in the new location, then delete it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh yeah, I misread what @tmat propoced as passing a new property to the script 😃
@jcagme If I understand correctly, @tmat’s suggestion is what needs to be done on the arcade side to fix msbuild.sh/ps1.