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

.Net Core project use a different Nuget version than Nuget manager shows (updated)

$
0
0

OS: Windows 10IDE: VS2019,FW: .net core 3I'm using a specific version of a Nuget (built by one of my peers, originally using C++ with a C# wrapper). The Nuget is stored in our local JFrog artifactory.When calling one of its assemblies methods, it claims that the method signature doesn't fits the Nuget method signature. A newer version of this Nuget actually has this method with this signature. In other words - I see the Nuget version in the VS nuget manager, but the compiler claims that I'm actually using a newer version.In one episode, I actually installed a newer version of this Nuget, but afterwards I Uninstalled it and Installed (back) the older version, which fits me.

My peers are also using the same Nuget and using the same method and they don't have that problem.

I tend to think that this is a problem that related to my local machine (chache, local files, etc..), so I did all the things I could think of:I cleaned cache, delete my bin folder, execute dotnet restore, restart my local machine.Nothing helps.

Some UPDATE:When I click on "Go To Defintion" (F12) - the VS open a file as (From Metadata). When "Open containing Folder" - I've reached "Temp\MetadataAsSource<some guid>" folder. Trying to delete it, but it keeps coming back

I'd appreciate any assumption\idea\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>