Nuget Package Manager crashes when you click Manage nuget Packages for Solution. Visual studio 2015

So, my Visual Studio crashes when I click the "Manage packages for solution" button. If I select debug, I get this message

An unhandled exception of type "System.Windows.Markup.XamlParseException" occurred in PresentationFramework.dll

Additional Information: The URI prefix is ​​not recognized.

Only for this project, this is happening, but I tried reinstalling the Nuget package manager, but this will not work. Any help would be greatly appreciated.

I recently installed the latest update, Update 2.

EDIT 1: I can't think it over. In the package manager for one of the projects, I found two lines that, if I comment, the Nuget package manager works without fail. Well, until I search for one of the packages, it will work again. Therefore, I tried to open another solution that did not have these packages, it worked fine, while in this other project I was not looking for one of the following packages with comments, then it also crashed.

<?xml version="1.0" encoding="utf-8"?>
<packages>
  <!--packages omited for clarity -->
  <package id="EPiServer.CMS.UI.Core" version="9.4.3" targetFramework="net451" />
  <!--<package id="EPiServer.Forms" version="1.1.4.9000" targetFramework="net451" />-->
  <package id="EPiServer.Framework" version="9.7.3" targetFramework="net451" />
  <!--<package id="EPiServer.GoogleAnalytics" version="1.9.3.9000" targetFramework="net451" />-->
  <package id="EPiServer.Logging.Log4Net" version="2.0.0" targetFramework="net451" />
  <package id="EPiServer.Packaging" version="3.2.3" targetFramework="net451" />
  <package id="EPiServer.Packaging.UI" version="3.2.3" targetFramework="net451" />
  <!--packages omited for clarity -->
</packages>

I do not know if this is my installation is faulty or if it is something else.

2: , , - . , , , URL- (http://nuget.episerver.com/feed/packages.svc/Packages(Id= 'EPiServer.GoogleAnalytics', Version = '1.9. 3.9000 ')), . , - Visual Studio, Visual Studio, Nuget Package Manager.

3: , " 2", , .

+3

Source: https://habr.com/ru/post/1681319/


All Articles