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

How to find out which .NET framework nuget package targets?

I have C# project that has to target .NET 3.5. framework and I have several nuget packages I'd like to install in the given project. How to find out, for a given nuget package, which .NET framework...

View Article


Am I allowed to create private nuget package containing Microsoft COM...

I would like to put two COM .dlls into a Nuget package, so our build-server can build the projects which currently reference the COM components, without having to install Microsoft Office on the...

View Article


Not able to update Nuget version Error "Cannot modify an evaluated object...

When I am trying to install the latest version 10.0.3 of NewtonSoft.Json I get the errorCannot modify an evaluated object originating in an imported file ""C:\code2\<my...

View Article

Bot Framework Package versions mismatch has broken Bot

Went to deploy my bot via Bot Framework Composer & got the following fail output: Build FAILED.C:\Temp\15-12-22 Bot\15-12-22 Bot\CPMBot\CPMBot.csproj : warning NU1701: Package...

View Article

GET a package from NuGetV3 API

I'm interested in writing a client library for the NuGet v3 API in a non-.NET language.What are the requests required to get a package, and what does the response looks like?i.e.GET...

View Article


Image may be NSFW.
Clik here to view.

Instance class TranslatorClient isn't recognized even when I installed the...

So I want to translate a specific xml file with AzureApi I installed the needed package called CognitiveServices.Translator.Client in Visual Studio 2022 , but when I want to create an instance of class...

View Article

The EntityFramework package is not installed on project

I am having trouble getting the EF to install on my very simple project called 'Match' (just now learning MVC, better late than never). The general context here is that I created the Model class with...

View Article

Should Windows Help File Contents files must to be package in Nuget package?

I'm, creating some NuGet packages I would like to know the best practices to pack just really meaningful content in my packages and not waste space on my artifacts.Files like .resrtext, .hlp, or .cnt,...

View Article


How to use this version: 10.1.3.10-1545tr103f5d format in chocolatey nuspec...

How to use version: 10.1.3.10-1545tr103f5d format in chocolatey nuspec version. I want to include git commit id with chocolatey package version.

View Article


How to hide implementation of Nuget package?

I've created a Nuget package. After adding that nuget package to a test project, I'm able to navigate to the definition and see the implementation. I've packed the nuget using release configuration...

View Article

Azure DevOps Pipeline task DownloadPackage@1 omits nuget package version

I have an Azure DevOps artifact feed that hosts NuGet packages. I am trying to download a NuGet package from it using a Pipeline task DownloadPackage@1.`- task: DownloadPackage@1 inputs: packageType:...

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

Ho to trace dll to some nuget package

I'm working on relatively big solution with many projects in it. Almost each project has dependencies on some nuget packages. In the output folder bit/debug/net6.0 of startup project I have found...

View Article


Package option missing when creating NuGet package

Im following this tutorial https://www.youtube.com/watch?v=-IXCTljXayg in an attempt to create a Nuget Package and deploy it to our Azure Devops under artifacts.First step is to create the package but...

View Article

How to resolve NuGet.targets(128,5): error : Value cannot be null. (Parameter...

In my netCore application deployed by jenkins I am getting this error when it is running the command dotnet restore *.slnINFO: Executing command: /bin/sh -c dotnet restore *.sln --configfile...

View Article


Image may be NSFW.
Clik here to view.

Unable to load private Nuget packages in MAC VisualStudio

First of all I am able to use the same private nugget package in Windows VisualStudio2022 but not in MacBook.What I tried:-Has used the PAT method,Also used the SetApikey method,I am not able to figure...

View Article

Image may be NSFW.
Clik here to view.

How to fix deprecated nuget-package NLog.Config

Just noticed that in my list of Nuget packages, that "NLog.Config" is marked as deprecated:Is it safe to simply delete the package?This particular application is for Google Calendar API usage.I should...

View Article


Create NuGet Package with GitHub Actions

I have a solution for an ASP.NET Core API project that contains the main API project as well as two other library projects.I now want to create NuGet packages for the library projects so that I can use...

View Article

New Android App ( Xamarin) targeting Android 9.0 api not compiling because...

I am trying to build an Android app to make a simple prototype. Using Microsoft Visual Studio 2022 (v17.2.4), I create an Android App (Xamarin), blank app. And I target Android 9.0 version.But, I have...

View Article

Excel Nuget Package Error "The File or Assembly not found"?

I want to use the nuget Package ClosedXML, but when I install it and want to execute my Code I always got this Exact error Message:The file or assembly "DocumentFormat.OpenXml, Version=2.16.0.0,...

View Article
Browsing all 3067 articles
Browse latest View live