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.

error NETSDK1085 during Roslyn builds with 3.0.100 preview 4 sdk

See original GitHub issue

When building Roslyn with 3.0.100-preview4-010381 installed, I get the following error on every solution build.

8>------ Build started: Project: VS.Tools.Roslyn.Package, Configuration: Debug Any CPU ------
2>C:\Program Files\dotnet\sdk\3.0.100-preview4-010381\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(112,5): error NETSDK1085: The 'NoBuild' property was set to true but the 'Build' target was invoked.
2>Done building project "IlAsmDeploy.csproj" -- FAILED.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
peterhuenecommented, Mar 1, 2019

Could we limit the setting of NoBuild to where we invoke the Publish target? That should workaround this issue.

1reaction
JoeRobichcommented, Mar 6, 2019

@peterhuene We’ve removed NoBuild from the offending project and things build as expected again. Thanks for your help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NETSDK1045: The current .NET SDK does not support ...
This error occurs when the build tools can't find the version of the .NET SDK that's needed to build a project. This is...
Read more >
The SDK 'Microsoft.NET.Sdk' specified could not be found - ...
For me updating Visual Studio Build Tools resulted in the 'SDK not found' error. The solution: run Visual Studio Installer, modify the ...
Read more >
Incompatible versions of Mono MSBuild and .NET Core ...
Problem description. Some combinations of the Mono MSBuild and .NET Core SDK are incompatible on Linux and macOS. If you use such combinations,...
Read more >
Solution to Visual Studio 2022 messing up ...
The error shown when attempting to load the projects was: The project file cannot be opened. Unable to locate the .NET SDK. Check...
Read more >
Trying Out Daily Builds of Roslyn - Stuart Lang
I wanted to try out a daily build of Roslyn to see the effect of a recent change to the C# compiler. I...
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