VS says "You have 1 deprecated package versions installed", but which one?
Got the yellow rectangle with the following message:You have 1 deprecated package versions installedHow can I find out out which one?So far I've tried:scrolling through my dozens of packages, hoping...
View ArticleSqlite Extension issue
I have the same issue that was being discussed in this post. Versioning information could not be retrieved from the NuGet package repositoryHowever, i cant even open that file to change it. Im kind of...
View ArticleHow to solve System.IO.FileNotFoundException for Cefsharp
I am building a web scraping app using Cefsharp.Offscreen. I use Visual Studio 22 and net framework 6 or 7. I have installed Cefsharp.Offscreen, Cefsharp.WinForms, Cefsharp.Common, cef.redist.x64 and...
View ArticleCan't install nuget package in VS 2022
When I am going to install a nuget package in Visual Studio Pro 2022 (17.5.4), it shows the following error:Error NU1102Unable to find package Microsoft.NETCore.Platforms with version (>=...
View ArticleAzure Pipeline fails when * in version of package config
When building in VS with config<PackageReference Include="<PackageName>" Version="*" />Does works fine.When building using a Azue Devops Pipeline.This fails<PackageReference...
View ArticleDownlaod package from Manage NuGet Package so slow
I want to download a System.Data.SqlClient in Visual Studio and then I download it from Manage NuGet Packages for Solution (right-click on the Solution Explorer). When I try to browse that, it looks...
View ArticleUnable to load the service index from source
I want to download a System.Data.SqlClient in Visual Studio and then I download it from Manage NuGet Packages for Solution (right-click on the Solution Explorer). When I try to browse that, it looks...
View Articlehow to get all nuget dependencies for offline installation
I use two computers, one with internet connection and the other one without.I want to install a Nuget package (Nuget.server) with all its dependencies on the offline computer.Unfortunately it is not...
View Articlehow to find respected project related for global library
How to find the reference or root of the project related to library-> location C:\Users\user1.nuget\packages.. from where it is installed or consumed?Searched on all solutions by manage package...
View ArticleAn assembly specified in the application dependencies manifest (...) was not...
I upgraded Microsoft.AspNetCore from 2.0.3 to 2.0.5 and my WebAPI project, although running successfully locally, fails to start in production (IIS). Everything was fine in production until this...
View Article.Net XML PackageReference with constraint
From time to time, some packages need to be updated to fix vulnerabilities raised by alerts.As an example: package name: "Contoso", affected versions: >=3.0.0 and <3.1.3, patched version:...
View ArticleC# .Net6 - C++/CLI Nuget Package Fails
I am having problems creating a Nuget package for my C++/CLI Visual studio project.I have a .Net6 C# assembly MyNet6Lib, which references my C++/CLI dll MyClrLib.dll, which is also built against .Net6....
View ArticleAn error occurred while trying to restore packages. Please try again
I am trying to restore the missing nuget packages and it keeps giving me this Error:An error occurred while trying to restore packages. Please try again.Any experience solving this?How can I find out...
View ArticleThe inline constraint resolver of type 'DefaultInlineConstraintResolver' was...
I have an Optimizely 11.20 solution with controllers that use inline route constraints like this:`[Route("...
View ArticleRestore all nugets and their dependencies to a flat folder
I have a c# project, I need to be able to restore all its nugets (and all their dependencies) to a folder and then load dynamically (using reflection) one DLL.This single DLL might depend on other dlls...
View Articledotnet pack reads an empty VCTargetsPath
I am building a Nuget package with Azure Pipelines.The pipeline is run by a self hosted agent.It works perfectly for pure .NET and .NET framwework projects, but I get an error with a (VS2022) solution...
View ArticleDifferent NuGet Package used in Visual Studio "stopped mode" than in debug mode
I identified a strange behaviour of Visual Studio.I have an App that has the same NuGet package (but different versions) in its dependency graph.The graph looks like this:The "cousing dependency" rule...
View ArticleHow to reference System.Windows.Interactivity.dll from a nuget package in...
I was trying to replace Blend with nuget package Microsoft.Xaml.Behaviors.Wpf so to continue using System.Windows.Interactivity.dll.Here is the solution I tried.How to add System.Windows.Interactivity...
View ArticleMSBuild Build Artefacts references
The ask is simple. When msbuild generates the dll/exe for a project, does it store any reference to the NuGet packages in the generated artefacts?I have an application that refers to, for example,...
View ArticleWhat is the update/patch policy on vulnerable Microsoft.AspNetCore package...
I have some quite old library code using Microsoft.AspNetCore 2.2.0, which has vulnerability CVE-2019-0548. The library is compiled for targets Netstandard 2.0 and NET 6.0, consumed by NET Framework...
View Article