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

Nuget/.NET Core, how to hide dependencies in package [duplicate]

I have the following (simplified) setup using .NET Core 3.1 (same situation in .NET Framework)Project A (a low level Tools library) references the NLog package. The Tools package provides our custom...

View Article


Image may be NSFW.
Clik here to view.

Package Microsoft.EntityFrameworkCore.Sqlite 5.0.0-rc.1.20451.13 is not...

I want to update my packages but I got some errors like this:How can I solve this problem?The error is:Error NU1202 Package Microsoft.EntityFrameworkCore.Sqlite5.0.0-rc.1.20451.13 is not compatible...

View Article


Nuget.exe - IS there any way to download nuget package (.nupkg) directly from...

I have created nuget package (.nupkg) and hosted that package directly on one of http servershttp://someserver/location/sub-location/nuget/MyPackage.1.0.0.nupkgSo if i just copy paste this URL in...

View Article

Copy file from NuGet package to OutDir in a project not working on Azure DevOps

I have an issue on Azure DevOps only!It works fine in Visual Studio 2019, when I right click and Build.It also works fine if I use dotnet build from a CMD, locally.Nuget package looks like...

View Article

The EntityFramework package is not installed on project

I am having trouble getting the EF to install on my very simple project called 'Match' (just now learning MVC, better late than never). The general context here is that I created the Model class with...

View Article


Image may be NSFW.
Clik here to view.

Including a Folder in NuGet Package and have it install into project as file...

I am using Visual Studio 2019 and creating NuGet packages successfully with this...

View Article

Visual Studio - Nuget - Unable to load the service index for source

This is my NuGet.config : <?xml version="1.0" encoding="utf-8"?><configuration><packageSources><add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3"...

View Article

Nuget Build, when it PackageName.Targets and PackageName.props consumed?

Given, a package file called example:<?xml version="1.0"...

View Article


Package is not found in the following primary source

I have a build pipeline set up to create Nuget packages and publish them to a feed in artifacts.I was able to use the feed successfully.However when I ran the pipeline again, causing the packages to...

View Article


Directory.Build.targets : error MSB4236: The SDK...

I'm trying to build my project with CI but I'm getting the following error:Directory.Build.targets : error MSB4236: The SDK 'Microsoft.Build.CentralPackageVersions/2.0.46' specified could not be...

View Article

Nuget Package Source is not prompting for credentials

I've added a NuGet Source. It needs credentials but when I'm installing a package using install-package packageName nothing happens. I tried the same steps on other PC and it works. I'm using Visual...

View Article

Image may be NSFW.
Clik here to view.

How to get rid of "NU3012 Package xunit, author primary signature found a...

I have the following issue that I can't get rid of...NU3012 Package 'xunit*' from source "https://api.nuget.org/v3/index.json": The author primary signature found a chain building issue: Revoked: The...

View Article

How to package 2 third-party dll's

I'm reading through the nuget documentation and I don't completely understand how nuget works.I have 2 third party dll's that I have been asked to turn into a nuget package, so that our local...

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

How can I obtain the .dll's from a NuGet package?

I need the .dll's for Microsoft.SqlServer.Management.Sdk.Sfc version 15. How can I obtain them?It seems that this is distributed as a "NuGet package". Fair enough, but the computer (B) I need it for...

View Article


Image may be NSFW.
Clik here to view.

Different behavior for packages.config and PackageReference

I develop a C# class library (.NET Framework 4.7.2) that uses the NuGet package Microsoft.Office.Interop.Outlook. After installing the package with the NuGet Package Manager, the produced assembly has...

View Article

NuGet Package doesn't copy files to packagerefence projects

I have followed all the new "contentFiles" institutions, and Nuget package was created and contentFiles/any/any folders there :[![enter image description here][1]][1]Yet when I install the package on...

View Article


How to debug code in NuGet package created by me

I have a NuGet package I created and installed in another solution but now I need to debug the code of the package when called from my new solution.I tried referencing the solution of the package but...

View Article

An error occurred while trying to restore packages. Please try again

I am trying to restore the missing nuget packages and it keeps giving me this Error:An error occurred while trying to restore packages. Please try again.Any experience solving this?How can I find out...

View Article

NuGet returns 'Package integrity checks' on freshly downloaded packages

I've never worked with VS and .NET before and I don't have much programming experience overall either (am a QA by trade, only gotten into test automation recently, which might explain the format of...

View Article
Browsing all 3067 articles
Browse latest View live


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