-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
System.Diagnostics.Process.sln fails to build in Visual Studio #51601
Comments
Tagging subscribers to this area: @Anipik, @safern, @ViktorHofer Issue DetailsDescription
After this, I'm trying to build System.Diagnostics.Process.sln in Visual Studio and getting these errors:
ConfigurationWindows 10 x64
|
Assigning @Anipik. He will take a look when he has some cycles after Preview 4 work is done. |
The original problem here was caused by the SLN file missing This fixed the SLN but now the build is failing as follows (in VS), which is the same thing mentioned in #53529
I can reproduce the same thing from the command-line if I build the project for this TargetFramework and don't build ProjectReferences:
Dropping The difference between the two is that when project references are not built, the not-supported source isn't passed to the gen facades task. (Aside: I don't think the targets for facades and not-supported assemblies make sense together since not-supported assemblies assume that everything in the contract is not supported, which makes GenFacades irrelevant). The reason for this difference is that This changed the name of the Target used, but missed updating the name of that target in the condition (this codepath is only used during VS builds). I'll submit a fix for that. |
Excellent find @ericstj 👍. As you can see in the change, I did update the target name in the condition but unfortunately to the wrong one :( |
No worries. Easy thing to miss since we don't have CI coverage for the VS-style build. |
I am encountering this issue as well. I currently can't build Is there anything I can do now manually to make the builds within VS work? |
Try updating Line 59 in a6b9a63
To 6.0.0-beta.21378.2 The fix for the seed assemblies change hasn't made it into dotnet/runtime yet. |
Fixed with the GenFacades fix in the Arcade repo. |
Description
After this, I'm trying to build System.Diagnostics.Process.sln in Visual Studio and getting these errors:
Configuration
Windows 10 x64
.NET 6.0 Preview 2
VS 16.9.4
The text was updated successfully, but these errors were encountered: