-
Notifications
You must be signed in to change notification settings - Fork 76
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
RepoToolset fails to load the correct compiler in WPF projects #154
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The toolset uses a
<PackageReference>
to reference Microsoft.Net.Compilers:roslyn-tools/sdks/RepoToolset/tools/Compiler.props
Line 10 in f093fd2
This feature assumes that build extensions included in the package will be used during the build. However, for the .tmp_proj created for WPF projects, this is not the case. The underlying bug is NuGet/Home#5894.
The workaround is to explicitly import the NuGet build files when building the WPF temporary project, as shown in dotnet/roslyn-sdk#94.
The text was updated successfully, but these errors were encountered: