How to use a more recent version of a NuGet package for dependent packages in...
I have a NuGet package that references Newtonsoft.Json v 12.0.2. I can't access the source to that NuGet package. (Technically, NuGet Package Explorer stats that it's really >= 12.0.2 )If I wish for...
View Articlelibsodium.dll runtimes folder was not found
I'm using libsodium 0.10.0.0 package to implement password hashing.After installing the nuget package the entries are created in package.config and project file as below:<Reference Include="Sodium,...
View ArticleIs it possible to change the location of packages for NuGet?
I have the following convention for most of my projects:/src /Solution.sln /SolutionFolder /Project1 /Project2 /etc../lib /Moq moq.dll license.txt /Yui-Compressor yui.compressor.dll/tools /ILMerge...
View ArticleHow to Install-Package a pre-release nuget package?
This package: https://www.nuget.org/packages/Terminal.Gui/1.0.0-pre.5Find-Package shows the pre-release versions if I use -AllowPrereleaseVersions.PS> Find-Package -Name Terminal.Gui...
View ArticleNuget package installed but references not resolved
I have a multi-project solution with Prism Nuget packages installed in several projects. I then attempted to add a Prism Mef extensions package to one of the projects using the Nuget Package Manager UI...
View ArticleIs it possible to add a nuget package as runtime only dependency?
I'm working with the following projects:MyFramework.csproj (class library)MyCustomerApp.csproj (class library)References MyFrameworkMyLauncher.csproj (Executable program)references...
View ArticleNuGet - install.ps1 does not get called
I'm trying to create my first NuGet package. I don't know why my install.ps1 script does not get called. This is directory structure--Package| - MyPackage.nuspec - tools | - Install.ps1 -...
View ArticleDifferent behavior for packages.config and PackageReference
I develop a C# class library (.NET Framework 4.7.2) that uses the NuGet package Microsoft.Office.Interop.Outlook. After installing the package with the NuGet Package Manager, the produced assembly has...
View ArticleAdding a NuGet Package Source that requires credentials with VS2015
I am attempting to setup a NuGet package source that requires credentials.Here are the instructionsI have the latest version of Visual Studio 2015 with everything up to date. I am aware of how to add a...
View ArticleNuGet 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 ArticleAutomatic native and managed DLLs extracting from Nuget Package
This is driving me crazy for several months now and I'm still not able to achieve it. My managed libraries are extracted from the Nuget package but not the natives ones.We have a bunch of managed and...
View ArticleWhy does nuget consider 1.2.3.4 to be a stable (release) version?
I'm seeing below:1.2.3 // release1.2.3+hash // release1.2.3-alpha // pre-release1.2.3-alpha.12 // pre-release1.2.3.4 // why is this release version and not pre-release version or invalid?1.2.3.4.5 //...
View ArticleStyleCop nuget package including suppressions file based on project name
I am in the process of creating a nuget package for stylecop so that we can use it across all the microservices and other projects. I am looking to have multiple GlobalSuppressions files, and add them...
View ArticleCreating a new package and adding it ot nuget source in Visual Studio
I have a Asp.Net MVC solution, that needs to be added as a Nuget package, which can be used as a shared component by internal applications.I have googled a bit and found that we can create a nuget...
View ArticleCreating nuget package in VS 2015, package tab not available
I am trying to create a nuget package from a class library project in Visual studio 2015, In Project properties ---> package tab is not available/ visible.IN the package tab we define the nuget...
View ArticleC# project custom command like package.json [closed]
I would like to know if it is possible to do as in node.js projects.With the package.json file it is possible to create commands in this file and execute them in the terminal. But is there such a...
View ArticleUnable to push nuGet packages to GitLab with dotnet CLI due to Unauthorized...
GitLab now supports nuget public and private feed repository.I've got a public project (e.g: https://gitlab.com/sunnyatticsoftware/sasw-test-support)I create an access token for my user with api and...
View ArticleGenerating Nuget package on build does not include all dependencies
The tree of my solution looks like :Project AReferences Nuget Package "Some Package"Project BReferences Project AWhen building, project B produces a package, let's call it PackageBIn ProjectB.csproj I...
View ArticleBuild NuGet Package automatically including referenced dependencies
I want to run a local/internal NuGet repository. I think I've figured out how to "reuse" existing NuGet packages by including them in a dummy project using NuGet and scanning the package file to grab...
View ArticleInstall Newtonsoft.Json not working - Error Occured
I have Visual Studio 2015 (Community 2015) and trying to install nuget-package Newtonsoft.JsonI get an error when trying to browse,Anyone know how to solve this issue?
View Article