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

How to find out methods in the Nuget package SQLite.Encryption.Extension?

We are trying to encrypt the SQLite database with SSE package available in Nuget source and trying to find a method from the package SQLite.Encryption.Extension to enable encryption.However there is no...

View Article


How to make Install-Package work without specifying version no?

I recently uploaded my nuget package to nuget.org.To install my nuget, I have to do this:PM> Install-Package MyWhateverPackage -Version 0.1.0However, I notice that other people's nuget can be...

View Article

Getting a TYPE_E_LOADLIBRARY Error whenever loading nuget packages

Whenever I try installing a NuGet package in visual studio to my C# projects I always get TYPE_E_LOADLIBRARY error (Error loading library/DLL) I've searched through the web and there was really nothing...

View Article

How do I load code into a specified directory using Nuget?

I have the situation where our code base is like so:/Gui//Product1//Calc engine//Core//Product2/All of these projects are loaded into a Global solution file in Visual Studio.I want to extract Core to...

View Article

Image may be NSFW.
Clik here to view.

Force Nuget package to use specific version of sub dependency?

When installing the two Nuget packages Hl7.Fhir.DSTU2 and Hl7.Fhir.R4, we get something like this:The package DSTU2 seems to have issues using Hl7.Fhir.Support.Poco version 3.4.0.If we install DSTU2 on...

View Article


Add 2 different versions of same package in NuGet

Is it possible to have 2 different versions of the same NuGet package (in my case it's jQuery 1.10.1 & 2.0.2) within same project?If yes, how can we do that?

View Article

Itext7 and SelectPdf nuget Package

The packages were successfully installed from nuget when I use the package in my .cs file. I got the following errorerrorand in the console, I see an internal server error 500

View Article

How to connect to MySQL Database?

New to C# programming, I'd like to be able to access MySQL Databases. I know MySQL connector/NET and MySQL for Visual Studio are required for C# development. Do I need to install them into my app? Is...

View Article


How does nuget handle project references when publishing packages?

So for example lets say I have 2x csproj called A and B.We have a project reference in B to A, so there are a few scenarios here and I cannot find information on how its handled:Scenario 1 - Publish B...

View Article


Error: Package Microsoft.AspNetCore.Identity.EntityFrameworkCore 5.0.8 is not...

After installing a package, OmniSharp hit me with this: [fail]: OmniSharp.MSBuild.ProjectLoader Package Microsoft.AspNetCore.Identity.EntityFrameworkCore 5.0.8 is not compatible with netstandard2.0...

View Article

Several project nuget package. Unable to find package

I have to netstandard2.0 projects:projectA/src/client/client.csprojprojectB/src/lib/lib.csprojproject A client reference project b lib like:...<ItemGroup><ProjectReference...

View Article

Add nuget reference depending on IsTestProject

I would like to add PackageReference to selected projects in my Directory.Build.Props depending on IsTestProject prop from Microsoft.NET.Test.SDK. For example I would like to "coverlet.msbuild" be...

View Article

Image may be NSFW.
Clik here to view.

Error when accessing a file from a NuGet Package

I am creating a nuget package with custom controls, when I referenced the project directly everything was fine, but when I generate the nuget package and install it in the target project I get an error...

View Article


How to extract package contents at package install time?

I'm working on a NuGet package that will store my common build/release scripts for reuse, as suggested here:https://stackoverflow.com/a/52443814As such, the package's contents should be extracted when...

View Article

nuget update do not update binding redirects

I am running nuget.exe update as part of PowerShell script , but by some reason binding redirects was not changed. If I update package manually from VS - everything working as expected.Am I doing...

View Article


NuGet.targets error : '.', hexadecimal value 0x00, is an invalid character...

after upgrade to .Net Core 2.1.1 I got this error: C:\Program Files\dotnet\sdk\2.1.301\NuGet.targets(114,5): error : An error occurred while retrieving package metadata for 'System.IO.4.3.0' from...

View Article

Image may be NSFW.
Clik here to view.

Problem in placing the files based on Platform while adding nuget package

The problem is as the library is build on windows platform, it is assigning the $(OS) to be Windows_NT and when the package is added on Linux, A.exe is placed and not A.binTo create one nupkg for...

View Article


Image may be NSFW.
Clik here to view.

Xamarin Nuget Manager now pointing to csproj file instead of...

I hope my title correctly states what is currently happening to me but either way nuget is not finding my android project currently. I have been migrating to AndroidX which has been headache after...

View Article

How can I clear the NuGet package cache using the command line?

I can clear my development computer's NuGet package cache using Visual Studio menu Tools→ Options→ NuGet Package Manager→ General: Clear Package Cache button.I would like to do this on the command...

View Article

Way to mark Nuget-Package als Deprecated in a local repository

I´ve seen that there is a way to mark packages as deprecated on nuget.org (https://devblogs.microsoft.com/nuget/deprecating-packages-on-nuget-org/).Unfortunally I don't push my packages to nuget.org...

View Article
Browsing all 3025 articles
Browse latest View live


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