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

Image may be NSFW.
Clik here to view.

Restore nuget packages with dependencies

I am faced with a complicated task, I want to load an assembly from the Nuget packages folder and use it in my PowerShell script. But each package contains its own dlls (and it is logical).How can I...

View Article


Image may be NSFW.
Clik here to view.

Loading Assemblies from NuGet Packages

Sometimes in my PowerShell scripts, I need access to a specific DLL, using Add-Type -AssemblyName. However, the DLLs I need aren't always on the machine or in the GAC. For instance, I might want a...

View Article


I recently reinstalled Visual Studio, and I noticed that the SDK version is...

Error messageError messageC:\Users\user\Pictures\ReStore\api\API.csproj : error NU1100: Unableto resolve 'Humanizer.Core (>= 2.14.1)' for 'net7.0'.PackageSourceMapping is enabled, the following s...

View Article

Impossible to step into nuget package

I have a dotnet7 console app with a nuget package created by my team.I tried to step into the class from my console app to the package class but I have this window that popenter image description...

View Article

Why the package version contains "random" additional information? [duplicate]

I have created a very simple console application in .NET 8 to illustrate the problem I encounter. Simply ran dotnet new console and added a "Version" element in the .csproj, so it contains:<Project...

View Article


Nuget not installing the dll and the path is missing

I have an internal nuget repo on tfs, and when I install an internally created package, the "Packages" under "Dependencies" shows that it was installed, but with a yellow triangle w/ exclamation point....

View Article

How to open js file as content file in NuGet package

I made a package of an empty class library project in visual studio. there is a folder at the root directory named "js" which contains js files with build action "Content" as well as being copied to...

View Article

Image may be NSFW.
Clik here to view.

"This solution contains packages with vulnerabilities" - How do I determine...

Visual Studio shows me the following warning when I open the solution explorer:But when I click the 'Manage NuGet Packages' link and scroll through the nuget packages, I can't see any indication of...

View Article


Cannot upload snupkg to artifactory, using nuget push

I am trying to upload my *.snupkg file to artifactory.Manually, this works through the website, but when I try to push with nuget push it doesn't work and also doesn't give any responsenuget push...

View Article


Updating Nuget Package of the Same Version Number

I'm developing a .net Standard C# class library which automatically outputs a NuGet package whenever I build it. I am consuming this NuGet package with an ASP.NET Core application. If I update the...

View Article

Find used deprecated Nuget packages in Azure DevOps Git repositories

We are using Azure DevOps as source code management system.I am searching for a tool which scans the git repositories and searches for used deprecated Nuget packages inside those repositories.Does...

View Article

Image may be NSFW.
Clik here to view.

From a dotnet solution how can I know what packages are installed from a...

I have a dotnet solution,where I had to associate multiple package sources. As an example:Now when I build the solution it installs the packages, but I want to know their package source origin after...

View Article

Image may be NSFW.
Clik here to view.

How to fix Package source mapping is off in Visual Studio 2022?

I see the message Package source mapping is off in Visual Studio 2022 17.8.0 when I click on any package in the NuGet package manager.When I click on the Configure link, it opens up the below window.I...

View Article


How to Debug nuget package in Visual Studio Code

It is possible to debug your own nuget packages using symbols in *.snupkg files. Visual Studio gives you the possibility to setup Symbol Servers such as Azure Devops Artifacts.Here's example how to do...

View Article

Visual Studio nuget not install packages

When I try to add dependencies to my new project it does not work. I receive the following error:PM> Install-Package Microsoft.EntityFrameworkCore.SqlServerRestoring packages for...

View Article


How to make MVC views work properly into a simple Product application?

My task is to write a program that stores a list of products in a relational database table. All products should have a unique Id, Name, Description, Quantity, and Price.The start / home page of the...

View Article

Using a custom NUGET package

I have a library class that I've turned into a NUGET package (or created a package from).I am hosting it on a shared drive and managed to get it to show up in the package manager (and also install it)....

View Article


Image may be NSFW.
Clik here to view.

unable to create a target path for the nuget package in linux , but its...

currently I am trying to create a nuget package in linux with the help of nuspec file . below is the content of my nuspec file .<?xml version="1.0"?><package...

View Article

how to author a nuget package that copies the content files to the bin folder...

how to author a nuget package that copies the content files to the bin folder of the consuming application.This is to make sure that any content files (xml, txt etc) are copied to the bin folder of the...

View Article

Nuget package missing in visual studio 2022

I've installed nuget package system.net.http with Visual Studio 2022 Community Edition, I'm using it with SSIS.Installation go without problem, but when i closed and reopen visual studio 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>