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 ArticleHow 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 ArticlePackageReference 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 ArticleCould 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 ArticleObtain 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 ArticleHow 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 ArticleVisual 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 ArticleIs 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 ArticleDebug 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 ArticleMVC 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 ArticleHow 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 ArticlePrint 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 ArticleFailing 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 ArticleCan 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 ArticleNuget 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 ArticleMark 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 ArticleCloning 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 ArticleHow 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 ArticleXamarin.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 Articlewhat'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