question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Breaking change in msbuild.sh

See original GitHub issue

After 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:open
  • Created 5 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jcagmecommented, Feb 7, 2019

Oh yeah, I misread what @tmat propoced as passing a new property to the script 😃

0reactions
sbomercommented, Feb 7, 2019

@jcagme If I understand correctly, @tmat’s suggestion is what needs to be done on the arcade side to fix msbuild.sh/ps1.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found