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

Bin DLL's version different from dll in Nuget package

There is a library build with .net framework 4.5, it serves as a NuGet package for other projects to reference.In the testing phase, using the project reference method, it can work normally. However,...

View Article


Nuget package to add files to output folder with different files for...

I'm going to give quite a bit of context here as I think it helps explain why I have chosen this route (and hopefully means if anyone has other suggestions they know what my end goal is).We have a C#...

View Article


Error creating context 'spring.root': Could not load file or assembly...

This is the exception:Error creating context 'spring.root': Could not load file or assembly 'FluentNHibernate, Version=2.1.2.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies, The...

View Article

Image may be NSFW.
Clik here to view.

Unable to PUSH nupkg to the existing feed in Azure DevOps

I'm trying to PUSH a nupkg to exisiting Feed in Azure DevOps. When I do it using Powershell scripts, I get the error 'The Specified source is invalid.Provide a valid source' even though the source is...

View Article

visual studio 2019 migrating from package.config no option to perform the...

I picked a project I'm working on, clicked Migrate to package reference, the migration screen popped up but the OK button is greyed out, no errors are displayed and I cannot proceed.What should I do?

View Article


How to use VCPKG as NuGet package with relative path?

When I do vcpkg integrate project I get back a NuGet package. When I add this package to my visual studio project through the NuGet command line it seems to hardcode a bunch of absolute paths to the...

View Article

Pass array as inputs to Azure DevOps YAML task

I'm trying to configure a CI that will produces NuGet packages as artifacts on Azure DevOps (that will be later push to my NuGet server).For this, I'm using Builds Pipelines on Azure DevOps, the YAML...

View Article

Add configuration to appsettings.json with nuget package

I have created a nuget package where I am in need of adding a section to appsettings.json, or add my own configuration file that is copied into the application, but I am unable to figure out how. I...

View Article


Image may be NSFW.
Clik here to view.

Copy nuget package content file (of type .exe) to output directory of project...

I have some project which has some exe as "dependency" and I build that project as nuget package from .csproj fileFile looks like this:<Project...

View Article


Is there any way to use only .NET Standard nuget package and also keep it...

I have created server in C# Grpc and my main project is written in .NET Framework. So I created .NET Standard library which I referenced in my .NET Framework project. I got few errors but I quickly...

View Article

How can I wrap C# DLLs into a NuGet package on Ubuntu?

On Ubuntu I'd like to wrap a few C# DLL files into a NuGet package. On Windows one would use the NuGet package explorer or nuget.exe+ manually edited *.csproj.nuspec. In summary when manually editing...

View Article

Could not install package 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform...

Background: I had Microsoft.CodeDom.Providers.DotNetCompilerPlatform 2.0.1' and tried to upgrade to the the newest version 3.6.0 in Visual Studio 2017 in my web project using the Nuget package manager...

View Article

How can I configure a local feed for nuget packages in VSCode?

I'm using VSCode with the official C# extension to develop a .NET Core console app on Ubuntu. I'd like to use a private nuget package in this console app. Usually one would add a local feed for nuget...

View Article


NuGet: explicitly list package dependencies as package references in project...

I'm creating a NuGet package (let's call it Lib) that also has analyzers in a separate package (Lib.Analyzers).By default I want Lib.Analyzers to be installed to the the project when Lib is installed....

View Article

NuGet Package manager stuck on "Retrieving information..." on VS 2013

Using VS 2013 with NuGet Package Manager installed, I can view all Installed packages, but when I pick Updates or Online, I get an endless busy indicator showing "Retrieving information..."I've...

View Article


Image may be NSFW.
Clik here to view.

Execution problems in visual studio for Mac 2019 (NuGet packages)

I want to use C# in Visual Studio but I cannot execute any C# projectsAnd it just shows the error, which says "Failed to read NuGet.Config due to unauthorized access. Path ...." also says "you should...

View Article

How to add ref assemblies to NuGet package via MSBuild pack target?

I am developing a library that targets net35 (.NET Framework 3.5), netstandard2.0 (.NET Standard 2.0) and netcoreapp3.1 (.NET Core 3.1) via TargetFrameworks.For one of the functionalities, the library...

View Article


Include Nuget dependencies in .exe

I am building a Windows Forms application that can take snapshot from webcam, I'm using OpenCvSharp3-AnyCPU package.Is there a way to include this package in the .exe file ?Thanx

View Article

Upgrading from CsvHelper, fix breaking changes

As shown on the GitHub of CsvHelper project the config is read only now so I've moved the property initialization into the constructor. There is also a property which is now unsupported:...

View Article

Convert a Nuget Package to match with Xamarin C#

I recently started to develop android apps with Xamarin for Visual studio, but every time I want to install a Nuget package for C#.Net I get this error Message:The package "System.Reflection.Extensions...

View Article
Browsing all 3067 articles
Browse latest View live


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