NuGet Package and .pdb files
In Visual Studio 2019 using the new project file format with the Pack command how do I include the .pdb files in the package and how do I ensure they are copied into the output when the package is...
View ArticleNot able tp update Nuget version Error "Cannot modify an evaluated object...
When I am trying to install latest version 10.0.3 of NewtonSoft.Json I get the errorCannot modify an evaluated object originating in an imported file ""C:\code2\<my...
View ArticleDownload all packages from private nuget feed
I want to download all packages in all version from my private nuget feed.Thats it. I have no problem in using powershell, bash, package manager what ever.I can't use a placeholder project - that...
View ArticlePackageReference to project in the same Solution/git repository
At the moment I'm trying to setup a solution with a implementations class library and an abstractions project. I want to have both packages on nuget.org.Normally when you're just using...
View ArticleUnable to push nuGet packages to GitLab with dotnet CLI due to Unauthorized...
GitLab now supports nuget public and private feed repository.I've got a public project (e.g: https://gitlab.com/sunnyatticsoftware/sasw-test-support)I create an access token for my user with api and...
View ArticleNuget API for package metadata does not list all the versions of a package
My goal is to get programmatically retrieve the publish date of each version of a NuGet package. However, NuGet API for package metadata seems not to hold information for all the versions of a...
View ArticleMissing context menu for BundlerMinifier.Core in Visual Studio
In short, upgrading Visual Studio to vsn 2019 16.8.5 or later (and maybe earlier) breaks BundlerMinifier vsn 3.2.499 (the latest).This issue covers the problem in more detail but no need to read it to...
View ArticleHow to add Roslyn code-analyzers to Unity project? (for Unity versions below...
When I install Roslyn code-analyzer as NuGet-package for a project (say Assembly-CSharp) of solution of my Unity-project, 2 things happen:package is installed to Packages folder at Unity-project...
View ArticleNot able to update Nuget version Error "Cannot modify an evaluated object...
When I am trying to install the latest version 10.0.3 of NewtonSoft.Json I get the errorCannot modify an evaluated object originating in an imported file ""C:\code2\<my...
View ArticleHow to add public packages from github to my .Net solution
I am trying to add packages from https://github.com/orgs/DKE-Data/packages to my asp.net project. Here are the things I have triedDownload the package.nupkg file and add the location to the package...
View Article"At Least version X" Nuget Dependency Declaration?
This document is a bit confusing. How can I specify that I depend on AT LEAST version 1.2.0 of package XPTO? is it <PackageReference Include="XPTO" Version="1.2" />?My intention is that if a...
View ArticleError in installing Nuget Package Microsoft.AspNet.WebApi.Cors in Web API2...
I am trying to install Microsoft.AspNet.WebApi.Cors package to impliment CORS in my Web API application.I am using below command to install package:Install-Package Microsoft.AspNet.WebApi.CorsBut it's...
View ArticleNuget package in Xamarin.Forms project is installed but get missing reference
I'm working on a multiplatform project with Xamarin.Forms in Visual Studio 16.9.2.With the solution Nuget packages manager I installed the SharpFluids package and got no errors or warning.Now, I can...
View ArticleManually loading of assemblies and dependencies at runtime (nuget...
I currently have an issue with loading assemblies at runtime using Assembly.LoadFrom(String).While the specified assembly is loaded just fine, referenced third-party assemblies (e.g. nuget packages)...
View ArticleHow to get a list of Nuget packages used by multiple microservices
We have dozens of microservices and need to keep track of the list of Nuget packages used by each and update these packages at regular intervals for compliance. Is there a tool out there that could...
View ArticleInstalling NuGet package without validating public key signature
I am trying to install following NuGet package in Visual Studio 2019 on my laptop. But it seems ZScalar root certificate in office network causing some error while installing package. If I try this in...
View ArticleSpotifyAPI.Web nuget package. How do I convert IPlayableItem to FullTrack?
I'm making a spotify application and using the SpotifyAPI.Web nuget package, but when you get a track it's in the form of IPlayableItem. How do I convert IPlayableItem to FullTrack?
View ArticleNuGet Package restore failed
I am creating an 'ASP.NET Core MVC4' Demo project. When I am compiling it on another computer it outputs an error as follows:Error 2 NuGet Package restore failed for project MVCDemo: Unable to find...
View ArticleBlazor: how to include javascript-package, which is installed with...
I'm afraid this will be a stupid question. But I don't manage it to use my JS-Package (for example jQuery), which i have installed with Visual Studio Nuget-Package-Manage in my .net 5 Blazor...
View ArticleMicrosoft.jQuery.Unobtrusive.Ajax in MVC Core
I have a project in ASP.NET MVC 5 in which I am using the Microsoft.jQuery.Unobtrusive.Ajax library.I want to move this project to ASP.NET Core and I have doubts if this library will work for me in...
View Article