error NETSDK1085 during Roslyn builds with 3.0.100 preview 4 sdk
See original GitHub issueWhen 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:
- Created 5 years ago
- Comments:12 (12 by maintainers)
Top 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 >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
Could we limit the setting of
NoBuild
to where we invoke thePublish
target? That should workaround this issue.@peterhuene We’ve removed
NoBuild
from the offending project and things build as expected again. Thanks for your help.