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

*.runtimeconfig.json file is not copied from NuGet package

I have a .NET 6 project MyProject which is referencing a NuGet package. The NuGet package contains a MyHost.exe and a MyHost.runtimeconfig.json file.The problem is that when I publish MyProject the...

View Article


NuGet Package Manager error: The remote name could not be resolved

I am using version 1.4 and getting this error: The remote name could not be resolved: go.microsoft.comHere are the URLs for the nuget package:https://go.microsoft.com/fwlink/?LinkID=206669Am i missing...

View Article


Image may be NSFW.
Clik here to view.

Could not load file or assembly Microsoft.Data.SqlClient, Version=5.0.0.0

Facing following issue after deploying app to azure app service:Unhandled exception. System.IO.FileNotFoundException: Could not loadfile or assembly 'Microsoft.Data.SqlClient,...

View Article

How to solve the stuck restore state when a C# project is being built

I’d like to have some C# dll project such as Mediapipe.NET or Math.NET Numerics to use them in a unity project as plug-in, not assets.I downloaded the code from github and tried to built it, but when I...

View Article

Nuget throwing 401 unauthorized error for no apparent reason

I'm using VS2015 and Nuget to install external packages. Everything was working fine until today when Nuget started spitting out a:Response status code does not indicate success: 401 (Unauthorized)I...

View Article


How to pack a referenced project into a nuget package?

I have a C# solution which contains 3 projects; Application.Server, Application.Client, and Application.Common. Both server and client have a project reference to common.I want to pack server and...

View Article

Image may be NSFW.
Clik here to view.

How to use github nuget packages on Visual Studio 2019

I try to learn Github action and packages. So, I create a sample nuget package and successfully created. However I could not use it.I follow this step;Options > Nuget Package Manager > Package...

View Article

Build automation - Error while running automatic build for D365F&O project...

I have setup azure devops and trying to run automatic build through nuget package. while tunning the build step, it is throwing error MSBUILD : error MSB1009: Project file does not existHere is the...

View Article


How do I request my customers to login in my private Nuget package server?

I have an ASP.NET MVC website where customers log in using ASP.NET Identity. I also have a private Nuget package server for my products (I followed these instructions to create it).How do I enforce...

View Article


"Missing" Microsoft.AspNetCore.App.Runtime.win-arm &...

In the process of upgrading a solution to .net 8 I've run into a build error I can't get around.In short, I get two errors about missing Microsoft.*..win-arm Nuget Packages being unavailable to restore...

View Article

Why is an object inside an object not received by the Masstransit consumer...

I have a Masstransit publisher and a consumer (both below).The message that is sent is public class SendEmailContract { public List<Attachment> Attachments { get; internal set; } public string...

View Article

how to resolve [NU1101] Unable to find package

When building a C# project in JetBrains Rider, I get this error:[NU1101] Unable to find package Xceed.Wpf.Toolkit.NET5. No packages exist with this id in source(s): Microsoft Visual Studio Offline...

View Article

Can't install nuget package in VS 2022

When I am going to install a nuget package in Visual Studio Pro 2022 (17.5.4), it shows the following error:Error NU1102Unable to find package Microsoft.NETCore.Platforms with version (>=...

View Article


"Unable to connect to remote server" error when restoring NuGet packages in...

I have a .net project that I am building a pipeline for in Gitlab CI to build and test merge requests.In my .gitlab-ci.yml file, I have a script under my restore job that simply restores the NuGet...

View Article

change output directory of nuget package

I created a NuGet package from my project. The output directory of the package is the solution directory. I would like to output it to a specific directory. I tried a target in the csproj file and in...

View Article


nuget - missing staticwebassets folder after custom pack

I am building a shared library as RCL where my components are located and can be shared in several applications.This library contains "global" styles as well as "component-bound (isolated)" styles.When...

View Article

Project reference not working but Nuget reference is

In my .Net Core VS 2022 project, I've a base project(let's say X) which has a Nuget reference(let's say A) which is a part of another repository of mine). When I build X, the build is successful and...

View Article


Update nuget package using PackageManager

I have installed Selenium web driver in my .NET desktop application from the NuGet package manager.Note: this is a .NET framework project, not an .NET Core or web project.Now every time there is a...

View Article

*.deps.json and *.runtimeconfig.json files are not copied from NuGet package

I have a .NET 6 project MyProject which is referencing a NuGet package. The NuGet package contains a MyHost.exe and MyHost.runtimeconfig.json and MyHost.deps.json files, all in lib\net6.0 folder.The...

View Article

Include file into lib folder of nuget package

Upon running dotnet pack on the solution. I am able to create a Nuget package and see the dll and XML file inside the lib folder of the Nuget package.However when building the .sln, there is an another...

View Article
Browsing all 3067 articles
Browse latest View live


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