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

Nuget package installed but references not resolved

I have a multi-project solution with Prism Nuget packages installed in several projects. I then attempted to add a Prism Mef extensions package to one of the projects using the Nuget Package Manager UI...

View Article


Can I create a Nuget package for a C# project that includes its project...

I have two GitHub actions for two separate projects, both of which share a project dependency. Currently, when the NuGet package is created for the base project it is also creating a separate NuGet...

View Article


Unauthorized nuget package from Visual Studio Team Services using asp.net...

I am unable to install/restore nuget packages from a Visual Studio Team Services feed in an asp.net core web application (RC2). I receive the following:error: Response status code does not indicate...

View Article

Force re-download of solution and project NuGet packages without reinstall

Is there a way via NuGet.exe or within Visual Studio 2022, natively or via the Package Management Console, to only re-download all packages for a given solution and/or project without re-installing...

View Article

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

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

View Article


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

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

View Article

error CS0246: The type or namespace name 'CsvHelper' could not be found

I'm new to Unity and C#, hopefully my question is clear enough. It's a Unity test project to show the issue only. On Mac: I created a new class and opened it with Visual Studio, added the CsvHelper...

View Article

Cannot add migrations in Entity Framework Core v6.0.7 .NET 6 - could not load...

This project uses Entity Framework Core v6.0.7 and .NET Version 6.When I try to add a migration or update the database from NuGet package manager console, I'm getting the following error:add-migration...

View Article


WebSupergoo.ABCpdf10 exception "Illegal characters in path"

I am trying to re-build an old .NET Visual Basic application I have inherited that uses WebSupergoo.ABCpdf10 (ABCpdf, Version=10.1.2.5). I am getting an exception "Illegal characters in path",...

View Article


Image may be NSFW.
Clik here to view.

NuGet doesn't show all supported frameworks under the main header

The listing for my NuGet package SoftCircuits.CsvParser shows it supports .NET 5.0 and .NET Standard 2.0.But when I look at the dependencies, it shows it supports .NET 6.0 as well.Can anyone tell me...

View Article

MSBuild and package restore with packages.config

Is it possible to restore packages during the build using MSBuild only if projects are still using packages.config?

View Article

Package outside of dependency constraints - But I don't use the package

When I try to run unit tests for my program, I get the following warning:warning NU1608: Detected package version outside of dependencyconstraint: Microsoft.Build.Utilities.Core 15.3.409 requires...

View Article

VS2022 not loading local nuget symbols

Created a class library locally, successfully packaged it, loaded it up in my project via nuget package manager, it works great.I'm trying to debug from my project, and it's complaining that symbols do...

View Article


How to install blend SDK package in the ADO pipeline agent?

SupportI was building a wpf application on ADO pipeline agent Windows2022-DEVHere is the error I got:##[error]XXXManager\Assets\XXTC_Modern_Resource_Dictionary.xaml(239,26): Error MC3074: The tag...

View Article

Nuget update command result differs from Visual Studio's (Package Manager)...

I have a package (MyPackage) installed in a given project.If I update it with Visual Studio (Manage Nuget Packages) or with Update-Package command, such as:Update-Package -Id MyPackage -Version...

View Article


How to use other projects nuget packages as DLL C++

I made my own Dll project, which includes a standard libraries like:sstreamstringcodecvtfstreamiostreamstringetc. (non-3-party libraries)and opencv4.2 (3-party library) which was installed through...

View Article

Download only necessary NuGet packages

When I want to do my own NuGet package with custom authentication scheme, I need to download Microsoft.AspNetCore.Authentication that contains AuthenticationScheme class. I need only this one class but...

View Article


Selectively publish projects as Nuget packages to Azure Devops Artifacts

We have a solution with several projects. We only want 2 projects of them to be published to artifacts. Ideally we can manage this by changing settings in the project, hence the pipeline can be...

View Article

Image may be NSFW.
Clik here to view.

Visual Studio Nuget packages

Am trying to get nuget packages into my visual studio project.NuGet Package manager is not package source of 'nuget.org'... just show Ms VS offline packages. Is there any setting?

View Article

How to use in environment variable in packages.config?

I have a class library project in C#I want to set version of a nuget package by environment variable.I've tried this:<?xml version="1.0" encoding="utf-8"?><packages><package id="Package"...

View Article
Browsing all 3067 articles
Browse latest View live


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