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.

Error occured while restoring NuGet packages: Data at the root level is...

I'm having a problem with NuGet since I clicked on Clear All NuGet Cache(s) button.Since that time, when I close a project in Visual Studio and open up another project, I need to clear all NuGet cache...

View Article


Impossible to migrate the "System.Directory.Services.Protocols" dll from...

I have a project that uses the "System.Directory.Services.Protocols" dll which is in version 4.0 and references the framework:C:\Program Files (x86)\Reference...

View Article


Error CS0246 encountered in DevOps build pipeline, but not when building in...

The project I'm trying to build is a class library that creates a NuGet package. In the project file, I'm targeting .NET Standard 2.0 and .NET 4.6.1.This project builds perfectly on my local machine...

View Article

Target framework in nuspec of NuGet packet for .NetFramework

I know that creating nugets for .Net Standard, .Net Core or .Net5 is now fast and simple but unfortunately, I must create nuget for old not so good .NetFramework and I got an issue with dependence...

View Article

Image may be NSFW.
Clik here to view.

Azure Devops Build pipeline NuGet pack fails (.net core 5)

As inuitive and handy setting up build pipelines is, I cannot figure out how to get a nuget package created after building. I am not using .yml.Project is .Net Core 5.This is the...

View Article


MSBuild -t:pack ProjectReference

I have a C# solution that contains two net472 projects: Foo.csproj, and Bar.csproj.The projects are in classic format (no SDK version).The projects use PackageRefernce as package management.Foo.csproj...

View Article

Runtime exception referencing type from a NuGet package: 'Could not load file...

The Background:Consuming application is a website built using .NET Core 3.1.Consuming application references a NuGet package built using .NET Standard 2.0.The consuming application has a reference to...

View Article

Is there a nuget package with Microsoft.Deyploment.windowsInstaller.Linq.dll...

I do not find any nuget package with the above mentioned dll inside.So I'm supposed to prepare my own package which contains this library inside?

View Article


Image may be NSFW.
Clik here to view.

Nuget Private Package Unavailable [closed]

I am using VS-2019 and this is a legacy application on .Net MVCTrouble is that this nuget package is unavailble for whatever reason... So when I'm trying to remove or restore but nothing works. It...

View Article


Create Nuget package for C++/C Visual Studio Solution projects

I have several legacy components written in C/C++ and would like to wrap them into the Nuget package and use this package from C# code.What is the best way to actually wrap C++ code in nuget package? I...

View Article

Azure pipeline fails for dot net 6 nuget package

I'm trying to publish a new nuget package but my pipeline is failing on the Pack stage with the following warning and error,##[warning].NET 5 has some compatibility issues with older Nuget...

View Article

Image may be NSFW.
Clik here to view.

Visual Studio 2022 Project dependencies NuGetPackages won't load

Everything was working until I cleaned one project and then the NuGetPackages won't load.I've tried to clean the solution and all projects. I've also tried to build, rebuild, unload, load the projects....

View Article

Image may be NSFW.
Clik here to view.

Blocked in work with VS 2022 .NET Core 6: "Could not load file or assembly...

I can not use NuGet Package Manager because in the package browse window I got the Error occured message. Clicking "Show errors in output" gives:Could not load file or...

View Article


I am struck with Error CS0246:The type or namespace name 'MySql' could not be...

I am getting the error(Error CS0246:The type or namespace name 'MySql' could not be found (are you missing a using directive or an assembly reference?). So I tried installing MySql.Data NuGet Package...

View Article

After migrating from .NET Core 2.1 to .NET Core 3.1, publish has a problem

After migrating my project from .NET Core 2.1 to .NET Core 3.1, everything works fine but when publishing the project, Iget this error:System.Runtime.CompilerServices.Unsafe doesn't support...

View Article


NuGet package not referenced in class library project throwing an error

I'm facing an issue here. My .NET Standard 2.1 class library project is throwing this error when i attempt to build the projectPackage Microsoft.IdentityModel.Tokens 6.8.0 is not compatible with...

View Article

Visual Studio project no longer builds

I have an old Vb.net solution which includes a CloudService and a WebRole project. The service is still running fine on the Azure site. I need to make a minor update, but these projects will no longer...

View Article


Image may be NSFW.
Clik here to view.

How we can import Envoc core packages (targeted 4.x ) for upgraded .net...

we are working on a .net core project , where we are using Envoc.core libraries .for .net 4.x frameworks ,everything is good . libraries are downloading via nuget successfully . and working well...

View Article

Image may be NSFW.
Clik here to view.

Automatic native and managed DLLs extracting from Nuget Package

This is driving me crazy for several months now and I'm still not able to achieve it. My managed libraries are extracted from the Nuget package but not the natives ones.We have a bunch of managed and...

View Article

Custom nuget package for multiple versions of .Net core side by side

I have two projects that when they build they generate respectively 2 nuget packages.The thing is that they were built on .Net core 3.1, and now we would like to add some stuff but want to target for...

View Article
Browsing all 3067 articles
Browse latest View live


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