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

Getting local Nuget Package into Visual Studio Solution [duplicate]

I have a nuget package file (*.nupkg) saved on my Desktop. I am trying to get this into my Visual Studio solution. Does anyone know how to do this?

View Article


.Net assembly for db migration can't be registered if com-interop is set...

I want to create a C# .Net dll as Add-In for Enterprise Architect in Visual Studio.This dll has to be registered for com-interop to be used by Enterprise Achitect.Within this dll I also want to do a...

View Article


error message Install-Package Microsoft.Graph

I'm getting this error when trying to install Microsoft.Graph via Package Manager Console: (I'm using Visual Studio Express 2015 for Web, Windows 10 pro- NET 4.5). Attempting to gather dependencies...

View Article

Using Azure TableStorage in C# - Nuget Package WindowsAzure.Storage Alternative

I'm in the middle of writing a new app to store logs in Table Storage in Azure.This is how my storage object looks:public class ErrorLog : TableEntity{ public static ErrorLog Create(DateTime dateTime,...

View Article

Using Azure TableStorage in C# .NET Core - Nuget Package WindowsAzure.Storage...

I'm in the middle of writing a new app to store logs in Table Storage in Azure.This is how my storage object looks:public class ErrorLog : TableEntity{ public static ErrorLog Create(DateTime dateTime,...

View Article


Image may be NSFW.
Clik here to view.

How to install Nuget package using windows command line in C# project?

I have downloaded NuGet version - 5.1.0 and tried to install one of the package - log4net using cmd. it failed. below is error -Here, ClassLibrary1 is C# project where I have to add log4net package. I...

View Article

Nuget resource change from https to http

I try to upload a NuGet package but a receive this error:An error was encountered when fetching 'PUT http://nuget_domain/api/v2/package/'. The request will now be retried.But in the...

View Article

Image may be NSFW.
Clik here to view.

The local source doesn't exist Migrate from packages.config to PackageReference

I am trying to Migrate from packages.config to PackageReferenceI do all steps but always i end up with this error:The local source 'C:\Program Files (x86)\DevExpress...

View Article


Difference between NuGet packages and extensions

In Visual Studio under Tools menu, what is the difference between "NuGet Package Manager" ->"Manage NuGet Packages for Solution..." and "Extensions and Updates..." ?

View Article


Image may be NSFW.
Clik here to view.

NuGet packages not restore in visual studio 2017

I have Asp.netCore solution which was working fine on Visual Studio 2015 and then i moved to Visual Studio 2017. Now the problem is that in Visual Studio 2017 on every nuget packages there is yellow...

View Article

dotnet pack on .NETCoreApp3.1 results in a faulty package

Friends,I'm lost, I'm trying to pack a nuget package for my .net core 3.1 app and i keep getting a faulty package.I've created a sample scenario, one solution with two projects:Console1 app,...

View Article

Image may be NSFW.
Clik here to view.

How to get rid of "NU3012 Package xunit, author primary signature found a...

I have the following issue that I can't get rid of...NU3012 Package 'xunit*' from source "https://api.nuget.org/v3/index.json": The author primary signature found a chain building issue: Revoked: The...

View Article

NuGet Package manager stuck on "Retrieving information..." on VS 2013

Using VS 2013 with NuGet Package Manager installed, I can view all Installed packages, but when I pick Updates or Online, I get an endless busy indicator showing "Retrieving information..."I've...

View Article


ASP.NET Core MVC - NETSDK1018 Invalid Nuget version string 'Win10 - 1709 -...

I have an ASP.NET Core MVC website that I have been developing on a Windows 8 PC on Visual Studio 2017. I've just swapped out my laptop for a Windows 10 one and downloaded and reinstalled Visual Studio...

View Article

Image may be NSFW.
Clik here to view.

Azure functions publish does not copy all files

When I publish my azure functions to azure not all of my referenced packages are being copied. I thus get an error stating that a specific file (Microsoft.CodeAnalysis.dll) cannot be found.I have made...

View Article


LNK1104 with NuGet Packages : DirectXTKAudioWin8.lib

I have a Direct3D Application.We use the NuGet Package directxtk_desktop_2015.In recent packages like directxtk_desktop_win10 or directxtk_uwp, I have additional WICTextureLoader flags which I want and...

View Article

Setting nuget package versions centrally for a solution -...

I was looking at a solution that uses the https://github.com/microsoft/MSBuildSdks/tree/master/src/CentralPackageVersions.Why can a single package version not be managed via the Directory.Build.props...

View Article


Image may be NSFW.
Clik here to view.

type or namespace name 'DataAnnotations' does not exist in the namespace...

While I added the Nuget packages System.ComponentModel.AnnotationsI am getting the error type or namespace name 'DataAnnotations' does not exist in the namespace 'System.ComponentModel'What happened is...

View Article

Unable to add Controllers and Views in ASP.NET Core MVC project

I created a solution on Visual Studio 2019 and that solution contains ASP.NET core MVC Web application. When i try to add new controllers it gives error and not able to add it.Error is "There was an...

View Article

Don't include dependencies from packages.config file when creating NuGet package

I am using Nuget to create packages. I would like to create a package which does not contain any dependencies (in the .nuspec) file to any other NuGet packages. My project does have NuGet package...

View Article
Browsing all 3067 articles
Browse latest View live


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