Nuget returned an unexpected status code '404 Not Found' - Package on local...
Trying to generate a Nuget Package from dll. One of our project is generating ConfigurationCore.dll and References of project assemblies given below Microsoft.CSharpNewtonsoft.JsonMak.Enums (Custom...
View ArticleNuget package created by VS does not update version
I have a nuget package <name>.1.0.1.nupkg generated by a build in Visual studio. After some changes to the source code, I want to generate a new version.On the project properties I change the...
View ArticleVersion conflict detected for Microsoft.CodeAnalysis.Common. Reference the...
I want to add the FluentValidation Nuget package in my asp.net core app through Nuget Package Manager.While adding I get this error:Severity Code Description Project File Line Suppression State Error...
View ArticleNot able to see startup.auth.cs
I am using .NET MVC 5. I do not see startup.auth.cs. I am trying to do external Google Authenication and need to reference somethings.What NuGet package do I need to get in order to get the...
View ArticleCan we reference a YAML template from a Nuget package?
I need to update a couple of pipelines to use the same logic and thought about using templates to split the common YAML steps.All the projects share the same dependency with an in-house Nuget package...
View ArticleHow to create and use ASP.NET vNext class library NuGet package?
I would like to create a NuGet package of my ASP.NET vNext class library. How can I do it, step by step? I understand there is kpm build, but I couldn't find a guide regarding where to download kpm,...
View ArticleNuGet - add a new package feed from command line
I have a scenario where im creating a build in VSTS. I don't have access to the VM hosting the Agent and it's not setup to include our internal package feed.I do have access via the command line...
View ArticleWhy doesn't assembly redirecting work in my project
In a VB project I'm using Add-in-Express (v905-b4661-vs-std) and NuGet package Azure.Storage.Files.Shares (12.8.0) (Visual Studio 16.11, DotNet 4.7.2) and got a problem:Could not load file or assembly...
View ArticleError occured while restoring NuGet packages: Data at the root level is...
I'm having a problem with NuGet since I clicked on Clear All NuGet Cache(s) button.Since that time, when I close a project in Visual Studio and open up another project, I need to clear all NuGet cache...
View ArticleTarget framework in nuspec of NuGet packet for .NetFramework
I know that creating nugets for .Net Standard, .Net Core or .Net5 is now fast and simple but unfortunately, I must create nuget for old not so good .NetFramework and I got an issue with dependence...
View ArticleCan't publish a core 3.1 self contained app after upgrading from core 2.1,...
Think the error may be unrelated to the upgrade, it builds fine, publishes as framework dependent fine, but self contained fails.Here is what the errors stay; clearly something needs to be downloaded,...
View ArticleInstall nuget package in VS Code
So, I'm trying to connect SAP HANA and VS Code (Python). I came across the article :https://www.cdata.com/kb/tech/saphana-python-petl.rstSo, I tried to install the libraries petl and cdata.saphana. I...
View ArticlePack the whole solution into a single nupkg?
I have a number of helper libraries that I would like to turn into a single NuGet package:ProjectAProjectB (references ProjectA)ProjectCI can make individual packages of these:nuget pack...
View ArticleInstalling NuGet package in the root directory
I've created a NuGet package which should not be installed to a particular project but rather to the root directory of the solution.The installation works fine via command line. I'm wondering why a...
View ArticleHow to add an icon to a nuget package?
We are hosting our own nuget server through Teamcity. Is there any other way to add an icon to a .nuspec file other than specifying a web url (http://....)?Or is there a place in Teamcity that these...
View ArticleVisual Studio 2022 Project dependencies NuGetPackages won't load
Everything was working until I cleaned one project and then the NuGetPackages won't load.I've tried to clean the solution and all projects. I've also tried to build, rebuild, unload, load the projects....
View ArticleNugeting a multiplatform project on Windows
I am currently developing an app on Xamarin Forms that is targeted to be deployed on iOS and Android. One of the features of the app is a custom view of the camera. The camera module in itself was...
View ArticleDebug nuget packages on Visual Studio for Mac not working
I have some nuget package hosted in my gitlab project. And I need debug this package and can't do this on Visual Studio for Mac.Here is my csproj file:<Project...
View ArticleNuGet local repository and package restoring
In our team we are trying to build workflow with multiple packages project and NuGet team repository server. But to avoid deployment of packages on every change every developer has own local repository...
View ArticleHow can I clear the NuGet package cache using the command line?
I can clear my development computer's NuGet package cache using Visual Studio menu Tools→ Options→ NuGet Package Manager→ General: Clear Package Cache button.I would like to do this on the command...
View Article