-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
deps.json for ProjectReferences is not emitted correctly #3254
Comments
Also related: #2674 |
You can contrast this to a raw file reference which includes fileversion / assemblyversion. For some reason fileversion and assemblyversion are missing from projectreferences. This breaks the scenario where folks submodule a library to replace it (or in this case WPF just tries to test their own libs which in the case of WindowsBase overlap libs in the base shared framework). /cc @dsplaisted |
…021.2 (dotnet#3254) - Microsoft.NET.Sdk.Web - 3.1.100-preview2.19521.2
Also happening in WinForms, deps files contain no version for facades referenced by test projects via ProjectReference and for |
I bet you can workaround by using both a project reference and a raw file reference. |
yeah having both kinds of references seems to be a useable workaround, loads the right System.Drawing now |
When I create a project with a project reference like this...
... the
deps.json
file that's generated has an entry like this:The application loads
WindowsBase
fromMicrosoft.NetCore.App
instead of loading the one supplied by the referenced project.Repro: XUnitTestProject1.zip
/cc @ericstj
The text was updated successfully, but these errors were encountered: