-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dotnet/sdk needs to build for net472 during source-build #2548
Comments
[Triage] A fix for this was submitted as a patch. The patch needs to get backported. |
(Not sure if this is the same underlying issue, but I think it is) Another symptom is that OmniSharp may fail to load some analyzers such as https://github.com/dotnet/roslyn-analyzers/blob/main/src/NetAnalyzers/Core/Microsoft.NetFramework.Analyzers/TypesShouldNotExtendCertainBaseTypes.cs As a result during O# initialization Mono may print errors such as:
(The issue is that the type of the /cc @webczat |
@lambdageek - can you please log a separate issue for the OmniSharp issue you encountered? |
Closing this as the patch was backported - dotnet/sdk#23266 |
I think we confirmed it was exactly that issue. |
In order for OmniSharp to work with a source-built .NET SDK, we need to build our MSBuild tasks for netfx. This is because OmniSharp uses Mono. For example, see #2006.
In 5.0, we built the SDK tasks for netfx. But in dotnet/sdk#19649 we stripped the netfx TFM during the build.
@MichaelSimons @crummel @dagood @dseefeld
The text was updated successfully, but these errors were encountered: