Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Browsing all 3067 articles
Browse latest View live
↧

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 Article


Not 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 Article


Download 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 Article

Image may be NSFW.
Clik here to view.

PackageReference 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 Article

Unable 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 Article


Nuget 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 Article

Missing 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 Article

How 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 Article


Not 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 Article


How 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 Article

Error 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 Article

Nuget 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 Article


Manually 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 Article

How 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 Article


Installing 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 Article

SpotifyAPI.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 Article


NuGet 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 Article

Blazor: 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 Article

Microsoft.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
Browsing all 3067 articles
Browse latest View live


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