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.

Nuget Package ... does not exist in project ... Package ... Already exists in...

I've been fighting with this error for several hours and can't come up with a solution that works.I have an ASP.Net API within a multi-project solution which has its references/dependencies improperly...

View Article


Where are my downloaded NuGet package stored in my project? [duplicate]

Beginner question.I´m playing around and coding a .Net 6, Web App, ASP.Net, Razor pages.I download some NuGet packages, but i cant find them in my project...

View Article


Nuget Gallery package source not found

I have set up NugetGallery https://github.com/NuGet/NuGetGallery on my own server and am able to access the UI and perform all operations. However, I have been unable to locate the link that needs to...

View Article

Image may be NSFW.
Clik here to view.

How to access a class within a new nuget package that is already installed in...

I have two projects P1 and P2 in my solution.I created a private nuget package which I installed in project P1.(manage nuget package - installing for folder location where the nuget package physically...

View Article

How to transitively copy files to output across NuGet packages?

I have a PackageA that needs a file to be copied to the output of the final application to work as expected.I include the needed file into my PackageA's project with these...

View Article


Add native files from NuGet package to project output directory

I'm trying to create NuGet package for a .Net assembly which does pinvoke to a native win32 dll.I need to pack both the assembly and the native dll with the assembly added to the project references (no...

View Article

Upgrade issues when upgrading CSVhelper libraries from version 2.13 to 30

I am getting below errors after upgrading CsvHelper from nuget package from version 2.13.5.0 to 30.0.1The type or namespace ICsvReaderRow could not be found (are you missing a using directive or an...

View Article

Assembly version option missing in VS 2022 .NET 6 [duplicate]

In a .NET Framework class library I was able to right click the project > properties and click Assembly Version, update the version and that was part of the build once the dll was available. I then...

View Article


C# WPF app packed to a nuget package cannot be installed

I've been recently looking into some sort of a automatic deployment solution for a C# WPF application. From what I understand, it is not possible to use normal methods (Dockerizing the project and...

View Article


How to pack an executable alongside .NET DLL into the NuGet package?

I have a .NET 6.0 library that targets Windows 10. The library is marked with <OutputType>Exe</OutputType> because it has to be callable from command line.The library is packaged into a...

View Article

Executing efbundle (post dotnet ef migrations budle) not able to load...

My solution has different projects (all dotnet 7):CoreDataAccess (DbContext source project)ServiceUII am using code first approach for Db migrations using dotnet efversion 7.0.4The connection string...

View Article

NuGet microsoft.cognitiveservices.speech produces 0kb files

I have been using this code for a month. My azure account is in good standing. However, when I run it now, it produces a 0kb file. The amount of text I am attempting to generate is around 700...

View Article

Image may be NSFW.
Clik here to view.

How can i set the specific minimum version for Project References in a Nuget...

I have two solutions:Solution AProject "A.Application" (0.0.1-alpha3)Project "A.Domain" (0.0.1-alpha2)Project "A.Infrastructure" (0.0.1-alpha2)A.Application references A.Domain and A.Infrastructure as...

View Article


Image may be NSFW.
Clik here to view.

In .Net 7.0 solution, is implicitly referenced Microsoft.NetCore.App 1.1.1...

I'm looking into a solution, which is using the latest .Net 7.0 framework, has an old nuget package (let's call it package X) with a dependency to Microsoft.NetCore.App version 1.1.1 with security...

View Article

Image may be NSFW.
Clik here to view.

Install NuGet package from GitHub Package Registry

After a lot of trial and error I eventually got my NuGet package on the Github package registry with the following actions/commands:Go to GitHubClick your avatar (top-right) → Settings → Developer...

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

How to get all dependencies of required Service with IServiceCollector extension

My Modules : public class CoreModule : ICoreModule { public void Load(IServiceCollection collection) { collection.AddSingleton<IHttpContextAccessor, HttpContextAccessor>();...

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

Including files from NuGet into my project

I have a NuGet wrapping a Razor Library (RCL), with .NET 7, that has images under wwwroot and SCSS files on a root folder called Scss. I am referencing this NuGet from my Blazor Webassembly 7. I can...

View Article

Getting an error on Nuget Pack when updating to latest Uno Platform

I'm updating my library to the latest Uno version. When executing a nuget pack command, I get the following: NU1012: Some included files are included under TFMs which are missing a platform version:...

View Article
Browsing all 3067 articles
Browse latest View live


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