-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Roslyn projects failing to build in source-build bootstrap build #57342
Labels
Comments
Here's the PR adding the patch that does this: dotnet/installer#12500. |
lbussell
pushed a commit
to lbussell/roslyn
that referenced
this issue
Jan 7, 2022
Some projects use Microsoft.NET.Sdk.WindowsDesktop sdk which cannot be built using a boostrapped source-build sdk, since WindowsDesktop is not supported. These cannot be ignored using ExcludeFromSourceBuild because the project still needs to be loaded and the sdk cannot be found. See dotnet#57342
lbussell
pushed a commit
to lbussell/roslyn
that referenced
this issue
Jan 7, 2022
Some projects use Microsoft.NET.Sdk.WindowsDesktop sdk which cannot be built using a boostrapped source-build sdk, since WindowsDesktop is not supported. These cannot be ignored using ExcludeFromSourceBuild because the project still needs to be loaded and the sdk cannot be found. See dotnet#57342
lbussell
pushed a commit
to lbussell/roslyn
that referenced
this issue
Jan 7, 2022
Some projects use Microsoft.NET.Sdk.WindowsDesktop sdk which cannot be built using a boostrapped source-build sdk, since WindowsDesktop is not supported. These cannot be ignored using ExcludeFromSourceBuild because the project still needs to be loaded and the sdk cannot be found. See dotnet#57342
lbussell
pushed a commit
to lbussell/roslyn
that referenced
this issue
Jan 25, 2022
Some projects use Microsoft.NET.Sdk.WindowsDesktop sdk which cannot be built using a boostrapped source-build sdk, since WindowsDesktop is not supported. These cannot be ignored using ExcludeFromSourceBuild because the project still needs to be loaded and the sdk cannot be found. See dotnet#57342
Fixed with dotnet/installer#13093. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
When building roslyn in a bootstrapped source-build scenario (i.e. building with a version of the SDK that has been previously source-built), any projects with
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
fail to build. These are failing because source-build does not build the WindowsDesktop SDK. These projects are attempting to be excluded using<ExcludeFromSourceBuild>
, but this fails because the project still needs to be loaded to access the property. These projects will need to be excluded using a different method for source-build. In the interim, a patch has been created including a.slnf
file which excludes these projects.The text was updated successfully, but these errors were encountered: