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

Microsoft.Solver.Foundation .net standard

Does anybody know if a .net standard version of the Microsoft.Solver.Foundation is going to be available or if it is going to be open sourced? We are using it in our backend service and would like to...

View Article


Temporarily disable git from watching file changes

Context: We have a Visual Studio project that depends on a nuget package (A Visual Studio thing). We upgrade our project with that nuget package every time we release a new version of that package....

View Article


Image may be NSFW.
Clik here to view.

Integrate forms into C# WinForms project via NuGet package

I am building a NuGet package for a WinForms control demonstrating how to use it. As such, I need to add some sample forms into the target project when my NuGet package is being installed. If the name...

View Article

error: Unable to find package [packageName] as a dependency

I am trying to add reference to nuget package A which has a dependency to nuget package B. and when I use the command dotnet add package to add the package reference to package A. I get following...

View Article

How to create Nuget Package of Multi Tier application in C# .Net Core?

I am trying to create Nuget package for a .net core 2.0 project that uses layered architecture. The Visual Studio solution has more than 2 tiers. I can create Nuget package with dotnet pack. However,...

View Article


Nuget package error in Visual Studio 2017

I'm getting an error in Visual studio 2017 when I build the solution. "The package ComponentAce.Compression.Libs.zlib with version 1.0.4 could not be found in C:\Users\.nuget\packages. Run a NuGet...

View Article

Installed nuget package is missing files

I'm using a nuget in my project which is supposed to have a namespace called ChartJs.Blazor.ChartJS.Common.Time in the version 0.10.4. For some reason, it tells me the namespace doesn't exist. I'm...

View Article

Image may be NSFW.
Clik here to view.

dotnet restore not using PackageReference condition

my project has multiple target frameworks, 2 of the package reference need to use a different version for .net461 when building in VS 2017 everything works and the dependency shows using the right...

View Article


I have successfully installed an AspNetCore.Reporting nuget package for...

I want to generate reports in my project created using asp.net core. I have tried installing AspNetCore.ReportViewer package as well. I expected the installed package to provide me with a "RDLC"...

View Article


How to use hangfire in .net core with mongodb?

I want to use Hangfire for background jobs in registration form process,But I am unable to find Startup.cs file code for Hangfire.mongo.

View Article

Image may be NSFW.
Clik here to view.

Including PSGallery nuget dependency in Visual studio solution

Problem How to share postbuild Powershell Script in multiple solution so that each solution can invoke the script in post build event? Solution Approach Created a local PSGallary Pushed my script into...

View Article

Prevent embedding interop types in nuspec package file

I've created a nuget package for an interop library. When using this package, Nuget automatically sets "Embed Interop Types" to "True". However, in my project this should be "False". Is there a way in...

View Article

CascadingAuthenticationState and NotFoundContent tags not working in Blazor

So I've been following this tutorial for implementing authorization/authentication on my blazor client app (asp.net core hosted). Everything worked ok until I started working on client side...

View Article


How do I publish NuGet packages to GitHub Package Registry using dotnet on Mac?

The documentation is not complete and currently I cannot consume or publish package to GPR using dotnet on Mac. Any help would be useful

View Article

How to publish .Net code as Nuget Package

I have created a class library project using VS 2019. I need to publish it as nugget package so the user can access it. Need guidance to achieve it. Thanks in Advance!!

View Article


.Net Standard 2.0 Generate NuGet package including projects in the same...

I've read some questions similar to mine here, but they were answered about a year ago, the idea is to check if is there any news regarding this. Assuming that i have a solution with the following...

View Article

What if two nuget package point to the same Dll

Ok. So I have one solution with three projects Project-A.csproj(turned into A.nupkg) Project B.csproj(turned into B.nupkg) Utils.csproj Since utils.csproj has a lot of central functions both A and B...

View Article


NuGet is returning 503 Server Unavailable

Is there a way to load a package from an alternative server when Visual Studio Package Manager (NuGet) is responding with a "The remote server returned an error: (503) Server Unavailable" message?

View Article

Microsoft.NETCore.Platforms could not be installed because it is not...

I am trying to install Microsoft.NETCore.Platform package from NuGet packages which is needed for system.text.encoding.codepages but I am getting an error as: Microsoft.NETCore.Platforms could not be...

View Article

Conditional reference in Visual Studio Community 2017

I am creating a multi-platform application. I have a multi-targeted shared library (targeting .netstandard 2.0 and .net 4.5)...See project file: <PropertyGroup>...

View Article
Browsing all 3067 articles
Browse latest View live


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