Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Recent visual studio versions won't fetch old nuget packages

$
0
0

I have a C# solution that currently runs perfectly with Visual Studio 2013 but fails to build when a recent version (say 2017 or 2019) is used. It complains that it can't find some DLLs. The DLLs being complained about are old versions which I can't even find on the nuget.org website but for some reasons, VS 2013 managed to fetch them all.

Some of the old packages I'm trying to fetch are: - Microsoft.Practices.EnterpriseLibrary.Common v1.0.0 - Infragistics2.Shared v11.1 - Microsoft.Practices.Unity v1.0.0

I made sure to use the exact package sources I used in 2013 for 2019 but it won't find the old DLLs still.

I am thinking on getting these old DLLs into a private repository so I can make VS2019 fetch them and use but I feel this is not ideal since there are 10s or 100s of these packages.

I need an understanding of why VS2013 builds the solution and VS2019 doesn't. I've searched a lot of info on this but I can't find something useful yet. I also need an advice on the way to go. All I need is to be able to use recent VS to successfully build the solution.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>