-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
ImplicitlyExpandNETStandardFacades option on MSBuild Extensions corrupts build #2527
Comments
The same happens for me though i have 4.6.2 MVC project. It has NuGet reference to And the same warning icons are displayed for me too. |
And also the same issue is mentioned here - https://dzone.com/articles/net-core-dll-hell-is-here-can-net-core-20-save-us |
You can find an overview of some of what is going on here and what issues there are here: dotnet/standard#481 What makes you think that older DLLs are being chosen in place of newer ones? Are you looking at the timestamp, assembly version, or what? Generally we should choose the assembly with the higher version number, and we don't look at the timestamp. |
ok, here is my case. I have a couple of class libraries. They use These packages are used in web app that also has web api. Part of packages.config for webapp:
So it references to System.Runtime 4.3.0. Locally it's stored at My web app csproj part looks like
And i don't have
So it has redirect to the same 4.1.1.0 version so it looks good. When i do actual build i got warning
After the build in web app So my project references to System.Runtime 4.3 (actual version 4.1.1.0), but during build it is replaced to 4.1.2.0. If i add |
I've the same issue as @sergey-litvinov describes. I've found out, the 4.1.2.0 Version of System.Runtime is the one wich is in the NetStandart2.0.1 Nuget Package. |
In the same boat as people above. Number of libraries from 4.6.1 Extensions overwrite referenced libs and causing some dll hell. Going to try this |
My own solution (for a .net 4.6.2 winform solution):
Question: Is there any way to apply |
Obviously not monintored anymore, so close. |
https://social.msdn.microsoft.com/Forums/en-US/51dc828b-43ca-4177-b68e-7a6a9cf81db5/ms-build-extensions-file-corrupt-my-bin-web-api-folder?forum=msbuild
Hi All,
It seems that when my .NET 4.7 (or 4.61+) has dependencies to .NEt standard 1.1 or higher, MSBuild merges some Libraries from this path to the bin folder (Web API project)
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\net461\lib
These DLLs however, are OLDER than the ones that Nuget gets for for example, System.Net.Http , System.Runtime, System.Runtime.InteropServices etc
Many assemblies thus, are corrupted with incorrect, older 4.61 assemblies.
My projects are set to work for .NEt 4.7. The libraries that require dotnetstandard are not mine, but from MS, to say, OData 6.1 (and 6.0 also). So I cannot get rid of them.
Please somebody has a workaround or a fix?
Thanks
(My workaround now, is to drop these DLLs into the bin folder, which are the correct DLls that Nuget retrieves)
![drag](https://user-images.githubusercontent.com/3471239/30473873-19643c48-9a02-11e7-8a96-93beceb7aee7.PNG)
The text was updated successfully, but these errors were encountered: