-
Notifications
You must be signed in to change notification settings - Fork 256
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
A package referencing just NETStandard causes invalid binding redirects on .NET 4.7.2 in a web application #7440
Comments
@GSPP does this still repro on 15.9 and 16.1? |
I just tested on the latest 2017 and it still reproduces. In particular it is enough to merely open the solution to get reference assemblies copied into bin so that my app won't start (dotnet/standard#936). This is the most annoying of the bugs. Please take a look at these issues. I believe they affect a lot of developers because they are so easy to reproduce. The web and this issue tracker are full of reports. If you do a web search for a few of the error messages you will finds masses of cases. These issues seem severe and should be prioritized. Am I misjudging the impact? Do you need help in reproducing? The issues that I opened have repro instructions. Pinging people from related issues: @joperezr @wtgodbe @terrajobst @karelz |
@GSPP which of the bugs still exist and reproduced on .NET 4.7.2 / 4.8? |
BTW: There are still about 7 bugs opened from the list above (incl. this one). I would recommend to consolidate them into 1 clearly described problem with simplified repro on 4.7.2 / 4.8. |
I might make another run at this in the future. It is a good point that I need to test 4.8. 4.7.2 + the latest VS17 definitely does not contain a fix for dotnet/standard#936. I'd need to test the other issues as well. |
I can still reproduce dotnet/standard#936 on 4.8, latest VS17 and in a clean VM. It's unlikely to be a configuration issue with the machine. |
@GSPP thanks! Note that we were not able to reproduce that repro: dotnet/standard#936 (comment) ... so I have suspicion there is something more fishy happening on your side (maybe the project does not target 4.7.2, or something like that). Anyway, let's dig into that one. |
I'm certainly willing to help you reproduce. I also do not exclude the possibility of user error on my part but I tried to be careful (that's why I used the clean VM). In any case I believe I am using a supported configuration because I am really not doing anything advanced. Can you give me a list of things I need to reproduce? Is it just 936? I has been a while since I touched this problem area. |
There seems to be an issue that adds bad binding redirects to web.config. I originally opened two issues about this with dotnet/standard:
I was told that an internal NuGet issue exists to track this work and that I might create a public GitHub issue to publicly track this. I am hereby doing that.
To summarize, there are a few suspicious points about this:
All of this is on .NET 4.7.2, VS 15.8.7, Windows 7. I also repro'ed some of it on a clean Windows 10 VM with VS 15.8.8.
The text was updated successfully, but these errors were encountered: