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

How to add Nuget to visual studio

I installed a telekit template for web chatting, it messed up my nuget package folder destination, so I lost the ability to add current/future nuget to my visual studio solutions.So I reinstalled...

View Article


How can I install an older version of a package via NuGet?

I want to install an older version of a package (Newtonsoft.Json). But NuGet rolls back:PM> Install-Package Newtonsoft.Json -Version 4.0.5Successfully installed 'Newtonsoft.Json 4.0.5'.Install...

View Article


PackageReference version is ignored

In our project we're creating different NuGet packages (using suffixes) for different branches. In the .csproj file I'm trying to specify the specific version of a package that should be used.Package...

View Article

Could not install package '--'. You are trying to install this package into a...

I created this package, I need it in a project but couldn't install it, this error appears:Could not install package 'Mshwf.NiceLinq 1.0.9'. You are trying to install this package into a project that...

View Article

Obtain email address from GmailService using C# client API

Gmail API to get profile infoBase on this link, it is possible to get the email address from the authenticated profile.Unfortunately I wasn't able to find how to get this in C# API client.I have tried...

View Article


How does the NuGet pack command generate the package version?

NuGet version: 4.5.1.4879When using "project-driven" NuGet package building (i.e., passing the .csproj file to the nuget pack command), I thought I understood how NuGet will determine the version to...

View Article

Image may be NSFW.
Clik here to view.

Visual Studio 2019 Project - Package - Illegal Characters in Path

I am seeing the following error on the "Package" tab when viewing the project properties for a Visual Studio 2019 project. Other developers are seeing the same message on their machines.This is a .Net...

View Article

Is there a way to view which package source an installed NuGet package is...

In Visual Studio's NuGet Package Manager, you can view which NuGet packages have been installed in a solution by clicking the "Installed" tab in the package manager.However, in situations where the...

View Article


Image may be NSFW.
Clik here to view.

Debug or Release what files should I copy to target location in nuget...

I am creating a NuGet package for consumption for all my uwp apps. I have done, but I am not sure, what files(Debug or Release) should I copy to target location in NuGet packaging for uwp apps? Since,...

View Article


Image may be NSFW.
Clik here to view.

MVC bootstrap navbar not working after running NuGet updates

An MVC app broke after we updated all the NuGet packages. After trying everything I created a new MVC app, updated the NuGet packages and the basic navbar...<div class="navbar navbar-inverse...

View Article

How to ignore dev dependencies in WhiteSource scan for nuget packages

I want to ignore my SonarAnalyzer.Csharp and Sonarlint package in the C# code WhiteSource scan. They are being captured as Policy Violation.I checked the documentation, there is no option to ignore...

View Article

Print documents go to the print spool with status printing, but its not...

I am implementing print document without print dialog using rawprint nuget packages C#When i print word document with print dialog then it adds to print queue with status "Printing" and...

View Article

Image may be NSFW.
Clik here to view.

Failing to upload .snupkg file: The checksum does not match for the dll(s)...

I have a C# WPF library on NuGet. After publishing a new release (.nupkg file), I wanted to also upload the Symbols package (.snupkg file). But I get The checksum does not match for the dll(s) and...

View Article


Image may be NSFW.
Clik here to view.

Can you target .NET Framework, .NET Standard and .NET Core in a NuGet package?

I'm new to creating NuGet packages and have only been playing around with them for a couple of days, as it now stands I've tested my package on .NET Frameworks 3.5 through 4.8 successfully.By the way,...

View Article

Image may be NSFW.
Clik here to view.

Nuget Content Files in .Net core solution not getting copied when installing...

I'm not able to copy the content static files in my .Net core web application project that I added when creating the nuget package using nuget package explorer. Same thing get copied correctly in .Net...

View Article


Mark NuGet Package content as "Copy to Output" in consuming .NET Framework...

I have a .NET Standard 2.0 project that is being packed into a NuGet package upon build. (Using the .csproj approach to generate a package on build) This project contains a file ApiClientSettings.json,...

View Article

Image may be NSFW.
Clik here to view.

Cloning repo results in broken NuGet packages. Can't restore

Using GitKraken I cloned a repo on BitBucket. Now all the NuGet packages are broken resulting in numerous errors. I've tried to restore using the command line but it throws this error:When I try to...

View Article


Image may be NSFW.
Clik here to view.

How to fix version mismatch between web.config and packages.config?

I have updated some nuget packages in my solution... I have noticed that there is version mismatch between my web.config and packages.config:This is my web.config:This my packages config:Note that the...

View Article

Xamarin.Android: Package XX is not compatible with monoandroid81...

I encounter a stranger behavior with a Xamarin.Android project in Visual Studio on Windows.I've created a new Android blank project, and I try ton install the NuGet package "AForge" (a mathematics...

View Article

Image may be NSFW.
Clik here to view.

what's the difference between latest stable, unstable and pre-release packages

I'm new to nuget, sorry if my question sounds dumb:Below is a screenshot:Q1- Are "latest stable 2.2.0" and "2.2.0" the same ones? It seems that they are different as I can choose one of those, what...

View Article
Browsing all 3067 articles
Browse latest View live


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