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

How do I specify a project reference as a Nuget package reference when...

I have a Visual Studio solution that has (as well as test projects etc) two projects that will end up as Nuget packages. ProjectA doesn't have any dependencies, but ProjectB depends on ProjectA. The...

View Article


Git submodules vs Nuget packages

Our team has experimented with git submodules for some core CRUD functionality shared by most of our products. We have also successfully used Nuget packages (self-hosted now) for some common...

View Article


How to include XML Documentation from Nuget Package in csproj build output

I have a nuget package that includes an XML documentation file.packages/MyPackage.1.0.0/lib/net472/MyPackage.xmlHowever when I build my project, I want to include this xml file in the output.So when...

View Article

How do you add additional files to a NuGet package in Visual Studio 2017?

I recently moved to Visual Studio 2017 Community Edition. It has 2 nice new features:You don't need to explicitly include your source files in the csproj. It does this automatically.It can build NuGet...

View Article

Image may be NSFW.
Clik here to view.

Error: Unable to load the service index for source when adding to Visual Studio

I created a CI/CD pipeline within a custom GitLab instance. In the pipeline I create and push the code as NuGet packages. Now I want to use GitLab as package source in Visual Studio and I get the...

View Article


.Net Core 3.1/Standard 2.1 NU1101 for ALL packages

"NU1101 Unable to find package . No packages exist with this id in source(s): C:\Users..."I started having this problem in my blazor app and I cannot seem to find a fix. Nothing seems to work...I run...

View Article

GitVersion not creating the correct NuGet package version number in Azure...

I'm trying to set up a pipeline in Azure DevOps Server that will automatically publish private NuGet packages.I'm using GitVersion to determine the package version number. I want to use the tag...

View Article

How to automatically update NuGet packages to latest available version

I have two repositories, and I need compiled libraries from one repository in the other. I don't want to manually check repo1 for updated libraries, and copy/commit to repo2, because that is stupid....

View Article


Running a asp.net core project inside another/new machine

I have developed a project using asp.net core and angular. I have installed some Nuget packages inside my project. Now I have cpoied my whole project file in another machine. I have installed the same...

View Article


Image may be NSFW.
Clik here to view.

nuget for Microsoft.DirectX.DirectSound, C# [duplicate]

I was trying to build this project.I have Microsoft Visual Studio 2019, Windows version Windows 10, 64 ProfessionalI would like to build the Solution, but I get a problem with...

View Article

How to connect to MySQL Database?

New to C# programming, I'd like to be able to access MySQL Databases. I know MySQL connector/NET and MySQL for Visual Studio are required for C# development. Do I need to install them into my app? Is...

View Article

Image may be NSFW.
Clik here to view.

Creating a NuGet package with .exe file as content file

I have been trying to include the 7za.exe file from the installed 7ZipCLI NuGet package into a project, of which I want a NuGet package to be created. The NuGet package targets both.NET Standard2.0 and...

View Article

Image may be NSFW.
Clik here to view.

Nuget Content Files in .Net core solution not getting copied when installing...

I'm not able to copy the content static files in my .Net core web application project that I added when creating the nuget package using nuget package explorer. Same thing get copied correctly in .Net...

View Article


How to make the Nuget restore work faster?

We are building CD pipeline using VSTS hosted build servers. It takes more than 3 minutes to restore Nuget. This is too much time. How can I make it run faster? Is there any sort of caching system we...

View Article

I need export DbContext to library in nuget package for reutilize in various...

i have this code in my libraryEntrega.cs[Key][DatabaseGenerated(DatabaseGeneratedOption.Identity)]public int Id { get; set; }public string NumeroDeEnvio { get; set; }public int MotivoId { get; set;...

View Article


Nuget Error NU3037,NU3028 When publishing container

We are facing the following errors when publishing a container to Fargate from visual studio. the solution was all working fine till this evening.... docker build: from source...

View Article

Image may be NSFW.
Clik here to view.

Self signed certificate in certificate chain - NuGetToolInstaller

I have configured an Azure DevOps pipeline. When I try to run NuGetToolInstaller, I received ERR:self signed certificate in certificate chain. What is the solution to this error?

View Article


Multi target net frameworks conflicts

I have a Nuget package project that targets framework netcoreapp2.2. I'm trying to use it for an application that contains other projects targeting frameworks netstandard2.0;netcoreapp3.1.This is what...

View Article

Image may be NSFW.
Clik here to view.

Different nuget-packages loaded when using MSBuild than building using Visual...

I also posted this question on the microsoft forums:https://docs.microsoft.com/en-us/answers/questions/249621/different-nuget-packages-are-used-when-compiling-u.htmlConsider following .csproj...

View Article

How do I manage local nuget packages safely?

Our team has just started working with Nuget packages, for now locally on a local server directory. The problem starts when several developers are working on the same project and both accidentally up...

View Article
Browsing all 3067 articles
Browse latest View live


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