NuGet 1.8 seems to have some interesting new features. Unfortunately when I attempt to update from within Visual Studio, I get the error:
Value cannot be null.
Parameter name: v1
I figured I would just install it from outside Visual Studio and see if that works better, but the download link I found
http://nuget.codeplex.com/releases
does not list any downloads for "NuGet Visual Studio extension".
How can I update NuGet?
Update
This is on Windows 7 64-bit, Visual Studio Ultimate 2010SP 1, upgrading from recent NuGet version (how do I check version number?) to NuGet 1.8.
Based on the comments, I did the following:
Closed all instances of Visual Studio
Started a new instance of Visual Studio as Administrator
Tools / Extension Manager
Select NuGet Package Manager
Click Uninstall (if you're not Administrator, Uninstall is grayed out)
Restart Visual Studio (still as Administrator)
Tools / Extension Manager
Online Gallery
Install NuGet
Restarted Visual Studio (this time not as Administrator)
Resumed work
Related
I'm new to Unity and can't find how to get it working with Visual Studio 2019 properly.
I just installed Unity 2020.3.13f1 (LTS) from the Unity Hub as recommended for Hololens developement.
I already had VS2019 latest version installed and working.
In VS2019, I installed: Tools => Get Tools and Features => Game development with Unity
When I double click a script in Unity, VS2019 open and I get the following error: Assembly-CSharp (incomptible)
Also in Unity, I have a warning: Visual Studio Editor Package version 2.0.11 is available, we strongly encourage you update from the Unity Package Manager for a better Visual Studio Integration
Update I fixed the warning (see below) but still have the error in Visual studio
In Unity, I updated the package: Window => Package Manager => Visual Studio Editor => 2.0.11
I also did: Edit => Preferences => External Tools => Regenerate project files
I now have all latest Unity package versions:
But I still have: "Assembly-CSharp (incomptible)", How to get valid solution in Visual Studio ???
Have had this issue for months... After numerous different posts/guides on this issue, I found just right clicking and hitting "Reload project with dependencies" for each project worked.
Now this was after fully updating Visual Studio and Unity, uninstalling the VS Unity tools, reinstalling, and reconfiguring visual studio tools in Unity... Figured I'd add this to to the list of things to try because it worked for me!
You should probably try right clicking the file and choose reload.
When I tried it Solved my issue
I deleted my project and created a new one and everything is fine now in Unity and Visual Studio (All references and scripts).
How can I install nuget packages for my PowerShell Projects in Visual Studio 2015? I have tried to do it with both the PowerShell Module Project and PowerShell Script Project. I have installed PowerShell Tools for Visual Studio 2015.
When I open these projects, the Default project in the Package Manager Console is empty. Here is a screenshot of what I mean.
When I try to install a nuget package, e.g. Pester, I get the following error.
I know this thread might be outdated and is rather old but my older article with some possible solutions might help here. I tested current state and still, no support inside VS 2015 for PowerShell project and NuGet packages together.
the current state is :
go with https://chocolatey.org/ and install it on your dev box (and CI) => you install pester globally with : choco install pester and update it if needed.
use old packages.config and update by hand version number and run nuget restore (nuget update will no longer work for this type of solution).
version whole pester into repo and call it directly. you can use nuget install pester for this (if you have nuget in path somewhere)
The link : http://rostacik.net/2015/12/16/how-to-use-nuget-packages-even-with-powershell-projects-with-visual-studio-2015/
I installed the Visual Studio 2015 yesterday on my work machine and map a project from TFS that i was working on the previous version (VS 2013). All the projects in this solution are build on top of .NET framework 4.5.1 . When i try to make a Restore Nuget Packages it says that all the packages in the packages.config files are downloaded already, but im getting a lot of compilation errors. The Microsoft.Exchange.WebServices.Data; reference for example, its declared on the packages.config file but im getting the 'red' error on the using clause of this reference in visual studio.
ThereĀ“s other package that the nuget says it is installed but in the references its possible to see an yellow triangle. And this package is on the packages.config too.
Is that something different in this new versio of nuget?
Ps. I already installed the update of the nuget program.
There is a build server without Visual Studio, there are only build tools (MSBuild.exe, Nuget Manager,...). The Nuget Packet Manager need to upgraded to new version, but I cannot find any installer or way how to upgrade it without Visual Studio Gallery.
How shoudl I upgrade the Nuget Manager on build server?
The latest version of the nuget.exe command-line tool is always available from http://nuget.org/nuget.exe.
More details
I've just installed 51Degrees for a VS2010 project I'm working on, but the retarded thing just doesn't want to work on VS2010, it's installing onto VS2012.
I need this to be working on VS2010 because I can't upgrade this project to VS2012 because I don't have it installed at the office and my laptop there won't run VS2012 anyway.
So how can I get this stupid thing to work on all versions of Visual Studio that I'm running?
Install 51Degrees from NuGet.
Search 51Degrees.mobi in the Online packages.