-
Notifications
You must be signed in to change notification settings - Fork 1.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
Reference assemblies are incorrectly being marked as references #1739
Comments
cc @eerhardt \ @dsplaisted could you recommend any workarounds for this? |
@joperezr could you please have a look? |
Sure I can take a look. @pranavkm do you have a fork of the repo with your changes so I can try take a look at a repro? |
@joperezr here's a simpler repro - https://github.com/pranavkm/repro1739/tree/master/app. Running |
ok, great I'm taking a look |
I am able to repro the problem, but I'm not too familiar with the task that generates the deps file. Task seems to be |
@pranavkm is this still reproing for you? I just tried this using the latest CLI from master and dotnet run and open the page worked as expected using your repro repo above. |
We've been using 2.1.0-preview1\preview2 sdks for a while now and I haven't seen this issue reproduce. |
Merge stabilize to master
Merge stabilize to master
* Enable CodeQL for official builds * Set Codeql.Enabled to true for the build job
Seems like the opposite of #1738
I'm working on updating AspNetCore's repositories to use the 2.2 SDK. With the 2.0.0 SDK, when attempting to publish a Mvc application (https://github.com/aspnet/MvcPrecompilation/blob/dev/testapps/RazorPagesApp/RazorPagesApp.csproj for reference) for
net461
,Microsoft.Win32.Primitives
(among others) is recorded as areferenceassembly
in the deps file:With 2.2.0-preview1-007522 SDK, it ends up in the deps file as a
reference
:This in turn causes view compilation to fail, with
The text was updated successfully, but these errors were encountered: