I've installed visual studio community and when trying to install the power query SDK I get an error saying that I don't have the applicable product. Here is the error log.
3/31/2022 11:46:11 AM - Microsoft VSIX Installer
3/31/2022 11:46:11 AM - -------------------------------------------
3/31/2022 11:46:11 AM - vsixinstaller.exe version:
3/31/2022 11:46:11 AM - 17.1.1035-preview2
3/31/2022 11:46:11 AM - -------------------------------------------
3/31/2022 11:46:11 AM - Command line parameters:
3/31/2022 11:46:11 AM - C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,C:\Users\Brett Evans\Downloads\PowerQuerySdk.vsix
3/31/2022 11:46:11 AM - -------------------------------------------
3/31/2022 11:46:11 AM - Microsoft VSIX Installer
3/31/2022 11:46:11 AM - -------------------------------------------
3/31/2022 11:46:12 AM - Initializing Install...
3/31/2022 11:46:12 AM - Extension Details...
3/31/2022 11:46:12 AM - Identifier : PowerQuerySDK.Microsoft.30831070-f420-4649-a031-6f679996b182
3/31/2022 11:46:12 AM - Name : Power Query SDK
3/31/2022 11:46:12 AM - Author : Microsoft
3/31/2022 11:46:12 AM - Version : 1.0.0.25
3/31/2022 11:46:12 AM - Description : A Power Query language service for Visual Studio
3/31/2022 11:46:12 AM - Locale : en-US
3/31/2022 11:46:12 AM - MoreInfoURL :
3/31/2022 11:46:12 AM - InstalledByMSI : False
3/31/2022 11:46:12 AM - SupportedFrameworkVersionRange : [4.5,)
3/31/2022 11:46:12 AM -
3/31/2022 11:46:13 AM - SignatureState : ValidSignature
3/31/2022 11:46:13 AM - SignedBy : Microsoft Corporation
3/31/2022 11:46:13 AM - Certificate Info :
3/31/2022 11:46:13 AM - -------------------------------------------------------
3/31/2022 11:46:13 AM - [Subject] : CN=Microsoft Corporation, OU=OPC, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
3/31/2022 11:46:13 AM - [Issuer] : CN=Microsoft Code Signing PCA 2010, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
3/31/2022 11:46:13 AM - [Serial Number] : 3300000304101C68D65CB4BF29000000000304
3/31/2022 11:46:13 AM - [Not Before] : 6/5/2019 1:36:58 PM
3/31/2022 11:46:13 AM - [Not After] : 6/3/2020 1:36:58 PM
3/31/2022 11:46:13 AM - [Thumbprint] : A28267BD2BB3838A16666C63F4BB21D37CE0619B
3/31/2022 11:46:13 AM -
3/31/2022 11:46:13 AM - Supported Products :
3/31/2022 11:46:13 AM - Microsoft.VisualStudio.Community
3/31/2022 11:46:13 AM - Version : [14.0,17.0)
3/31/2022 11:46:13 AM - ProductArchitecture : x86
3/31/2022 11:46:13 AM - Microsoft.VisualStudio.Pro
3/31/2022 11:46:13 AM - Version : [14.0,17.0)
3/31/2022 11:46:13 AM - ProductArchitecture : x86
3/31/2022 11:46:13 AM - Microsoft.VisualStudio.Enterprise
3/31/2022 11:46:13 AM - Version : [14.0,17.0)
3/31/2022 11:46:13 AM - ProductArchitecture : x86
3/31/2022 11:46:13 AM -
3/31/2022 11:46:13 AM - References :
3/31/2022 11:46:13 AM - Prerequisites :
3/31/2022 11:46:13 AM - -------------------------------------------------------
3/31/2022 11:46:13 AM - Identifier : Microsoft.VisualStudio.Component.CoreEditor
3/31/2022 11:46:13 AM - Name : Visual Studio core editor
3/31/2022 11:46:13 AM - Version : [15.0,17.0)
3/31/2022 11:46:13 AM -
3/31/2022 11:46:13 AM - Signature Details...
3/31/2022 11:46:13 AM - Extension is signed with a valid signature.
3/31/2022 11:46:13 AM -
3/31/2022 11:46:13 AM - Searching for applicable products...
3/31/2022 11:46:13 AM - Found installed product - Global Location
3/31/2022 11:46:13 AM - Found installed product - Visual Studio Community 2022
3/31/2022 11:46:13 AM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
at VSIXInstaller.ExtensionService.GetInstallableDataImpl(IInstallableExtension extension, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
at VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
at VSIXInstaller.ExtensionPackService.IsExtensionPack(IStateData stateData, Boolean isRepairSupported)
at VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData stateData, Boolean isRepairSupported)
at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
at VSIXInstaller.App.Initialize()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
I installed visual studio community and then attempeted to install power query SDK
Here is an image of what happens.
It looks like you installed Visual Studio 2022. At this moment Power Query SDK works only with versions 2015, 2017 and 2019:
You should download an older version of Visual Studio from here or wait until Power Query SDK supports version 2022.
Related
So i'm trying to install this package to create Setup.exe for my project, but it goes with error:
Install log:
12.06.2021 15:47:52 - Microsoft VSIX Installer
12.06.2021 15:47:52 - -------------------------------------------
12.06.2021 15:47:52 - vsixinstaller.exe version:
12.06.2021 15:47:52 - 16.9.2017
12.06.2021 15:47:52 - -------------------------------------------
12.06.2021 15:47:52 - Command line parameters:
12.06.2021 15:47:52 - C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\vsixinstaller.exe,/appidinstallpath:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe,/skuName:Community,/skuVersion:16.9.31229.75,/appidname:Microsoft Visual Studio Community 2019,/culture:ru-RU,/noep,C:\Users\Admin\AppData\Local\Temp\VSIXabkei5yl.vsix
12.06.2021 15:47:52 - -------------------------------------------
12.06.2021 15:47:52 - Microsoft VSIX Installer
12.06.2021 15:47:52 - -------------------------------------------
12.06.2021 15:47:53 - System.IO.FileLoadException: Не удалось загрузить файл или сборку "Microsoft.VisualStudio.Validation, Version=15.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" либо одну из их зависимостей. Найденное определение манифеста сборки не соответствует ссылке на сборку. (Исключение из HRESULT: 0x80131040)
Имя файла: 'Microsoft.VisualStudio.Validation, Version=15.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
в VSIXInstaller.SupportedSKUs.AddInstalledIsolatedShells(Version vsVersion, IntPtr userToken)
в VSIXInstaller.SupportedSKUs.InitializeSupportedSKUs(IntPtr userToken)
в VSIXInstaller.ExtensionService.InitializeSupportedSKUs(ICommandLineData cmdLineData, IntPtr duplicatedUserToken)
в VSIXInstaller.App.Initialize(Boolean isRepairSupported)
в VSIXInstaller.App.Initialize()
в System.Threading.Tasks.Task`1.InnerInvoke()
в System.Threading.Tasks.Task.Execute()
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
в Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
Edit: edited and added error window in english so it'll be more understandable
So if anyone'll encounter this problem, i repaired Visual Studio in Visual Studio installer and it actually helped!
I downloaded extension in visual studio 2019 but while installing error occurred.
install log is this:
4/25/2021 8:41:33 PM - Microsoft VSIX Installer
4/25/2021 8:41:33 PM - -------------------------------------------
4/25/2021 8:41:33 PM - vsixinstaller.exe version:
4/25/2021 8:41:33 PM - 16.9.2017
4/25/2021 8:41:33 PM - -------------------------------------------
4/25/2021 8:41:33 PM - Command line parameters:
4/25/2021 8:41:33 PM - C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\VSIXInstaller.exe,C:\Users\Usman\Downloads\ProductivityPowerPack2017.vsix
4/25/2021 8:41:33 PM - -------------------------------------------
4/25/2021 8:41:33 PM - Microsoft VSIX Installer
4/25/2021 8:41:33 PM - -------------------------------------------
4/25/2021 8:41:34 PM - System.IO.FileLoadException: Could not load file or assembly 'Microsoft.VisualStudio.Validation, Version=15.3.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
dependencies. The located assembly's manifest definition does not
match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'Microsoft.VisualStudio.Validation, Version=15.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at VSIXInstaller.SupportedSKUs.AddInstalledIsolatedShells(Version
vsVersion, IntPtr userToken)
at VSIXInstaller.SupportedSKUs.InitializeSupportedSKUs(IntPtr userToken)
at VSIXInstaller.ExtensionService.InitializeSupportedSKUs(ICommandLineData
cmdLineData, IntPtr duplicatedUserToken)
at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
at VSIXInstaller.App.Initialize()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception
exceptionObject)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Run a repair of your Visual Studio installation.
If repair doesn't work, you might've moved your VS install and now it won't install anything.
This is because it "might" be finding the VS Installer in a directory OTHER than the standard one. Reinstall the installer itself, then try to install the extension or whatevs
Check if this path exists on your C drive. The "Packages" folder is used to save VS extensions which VS needs. I'd moved mine to F drive to save space. The error message didn't help me much.
C:\ProgramData\Microsoft\VisualStudio\Packages
When ever I try to install the Installer Project-Package for Visual Studio 2019 I get these Log:
27.02.2020 10:30:57 - -------------------------------------------
27.02.2020 10:30:57 - Microsoft VSIX Installer
27.02.2020 10:30:57 - -------------------------------------------
27.02.2020 10:31:03 - Initializing Install...
27.02.2020 10:31:07 - Extension Details...
27.02.2020 10:31:07 - Identifier : VSInstallerProjects
27.02.2020 10:31:07 - Name : Microsoft Visual Studio Installer Projects
27.02.2020 10:31:07 - Author : Microsoft
27.02.2020 10:31:07 - Version : 0.9.6
27.02.2020 10:31:07 - Description : This official Microsoft extension provides support for Visual Studio Installer Projects in Visual Studio.
27.02.2020 10:31:07 - Locale : en-US
27.02.2020 10:31:07 - MoreInfoURL :
27.02.2020 10:31:07 - InstalledByMSI : False
27.02.2020 10:31:07 - SupportedFrameworkVersionRange : [4.6.1,)
27.02.2020 10:31:07 -
27.02.2020 10:31:09 - SignatureState : ValidSignature
27.02.2020 10:31:09 - SignedBy : Microsoft Corporation
27.02.2020 10:31:09 - Certificate Info :
27.02.2020 10:31:09 - -------------------------------------------------------
27.02.2020 10:31:09 - [Subject] : CN=Microsoft Corporation, OU=OPC, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
27.02.2020 10:31:09 - [Issuer] : CN=Microsoft Code Signing PCA 2010, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
27.02.2020 10:31:09 - [Serial Number] : 3300000305DFD27DFE8F86CDB3000000000305
27.02.2020 10:31:09 - [Not Before] : 05.06.2019 19:36:58
27.02.2020 10:31:09 - [Not After] : 03.06.2020 19:36:58
27.02.2020 10:31:09 - [Thumbprint] : 417A476992589EA95299F5057960010675759457
27.02.2020 10:31:09 -
27.02.2020 10:31:09 - Supported Products :
27.02.2020 10:31:09 - Microsoft.VisualStudio.Community
27.02.2020 10:31:09 - Version : [15.0,17.0)
27.02.2020 10:31:09 -
27.02.2020 10:31:09 - References :
27.02.2020 10:31:09 - Prerequisites :
27.02.2020 10:31:09 - -------------------------------------------------------
27.02.2020 10:31:09 - Identifier : Microsoft.VisualStudio.MinShell
27.02.2020 10:31:09 - Name : Visual Studio Min Shell
27.02.2020 10:31:09 - Version : [15.0.26205,17.0)
27.02.2020 10:31:09 -
27.02.2020 10:31:09 - -------------------------------------------------------
27.02.2020 10:31:09 - Identifier : Microsoft.Component.ClickOnce
27.02.2020 10:31:09 - Name : ClickOnce Publishing
27.02.2020 10:31:09 - Version : [15.0,17.0)
27.02.2020 10:31:09 -
27.02.2020 10:31:09 - Signature Details...
27.02.2020 10:31:09 - Extension is signed with a valid signature.
27.02.2020 10:31:09 -
27.02.2020 10:31:09 - System.Runtime.InteropServices.COMException (0x80070490): Element nicht gefunden. (Exception from HRESULT: 0x80070490)
bei Microsoft.VisualStudio.Setup.Configuration.ISetupConfiguration2.GetInstanceForPath(String path)
bei VSIXInstaller.LocationBasedSKU..ctor(String appidInstallPath, String appidName, Version vsVersion, String edition, String rootSuffix)
bei VSIXInstaller.LocationBasedSKU..ctor(String appidInstallPath, String appidName, Version vsVersion, String edition, String rootSuffix, IntPtr alternateUserToken)
bei VSIXInstaller.ExtensionService.GetInstallableDataImpl(IInstallableExtension extension, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
bei VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
bei VSIXInstaller.ExtensionService.ComputeInstallableExtensions(IStateData stateData, Boolean isRepairSupported, Boolean isExtensionPack, IDictionary`2 skuDataMapping, IList`1 installableExtensionsPaths)
bei VSIXInstaller.App.Initialize(Boolean isRepairSupported)
bei VSIXInstaller.App.Initialize()
bei System.Threading.Tasks.Task`1.InnerInvoke()
bei System.Threading.Tasks.Task.Execute()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
Does anyone knows what these Errors means and what I can do?
Does anyone knows what these Errors means and what I can do?
The Microsoft Visual Studio Installer Projects extension is installed in VS2019 successfully in my side. So I suspect something is wrong with your VS environment. Please follow these steps to troubleshoot your issue:
1) delete all VS2019 component caches under C:\Users\user\AppData\Local\Microsoft\VisualStudio\16.0_xxxxx\ComponentModelCache
2) disable any third party extensions under Extensions-->Manage Extensions to prevent any other extensions affect it.
3) do a repair in VS installer
4) update your VS2019 to the latest version and do not forget to update your OS version in case there are some fixes.
I am using Visual Studio Community 2019 and dotnet core 3.0.
When I try to search within the Visual Studio Extensions manager Blazor does not show up at all. When I try and install via the website: https://marketplace.visualstudio.com/items?itemName=aspnet.blazor I receive the following error.
6/30/2019 10:07:13 PM - Microsoft VSIX Installer
6/30/2019 10:07:13 PM - -------------------------------------------
6/30/2019 10:07:13 PM - vsixinstaller.exe version:
6/30/2019 10:07:13 PM - 16.1.3132
6/30/2019 10:07:13 PM - -------------------------------------------
6/30/2019 10:07:13 PM - Command line parameters:
6/30/2019 10:07:13 PM - C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,C:\Users\ogre1\AppData\Local\Temp\Microsoft.VisualStudio.BlazorExtension.16.0.19307.2.vsix
6/30/2019 10:07:13 PM - -------------------------------------------
6/30/2019 10:07:13 PM - Microsoft VSIX Installer
6/30/2019 10:07:13 PM - -------------------------------------------
6/30/2019 10:07:14 PM - Initializing Install...
6/30/2019 10:07:14 PM - Extension Details...
6/30/2019 10:07:14 PM - Identifier : Microsoft.VisualStudio.BlazorExtension
6/30/2019 10:07:14 PM - Name : Blazor
6/30/2019 10:07:14 PM - Author : Microsoft
6/30/2019 10:07:14 PM - Version : 16.0.19307.2
6/30/2019 10:07:14 PM - Description : Provides Visual Studio support for Blazor
6/30/2019 10:07:14 PM - Locale : en-US
6/30/2019 10:07:14 PM - MoreInfoURL :
6/30/2019 10:07:14 PM - InstalledByMSI : False
6/30/2019 10:07:14 PM - SupportedFrameworkVersionRange : [0.0,2147483647.2147483647]
6/30/2019 10:07:14 PM -
6/30/2019 10:07:14 PM - SignatureState : ValidSignature
6/30/2019 10:07:14 PM - SignedBy : Microsoft Corporation
6/30/2019 10:07:14 PM - Certificate Info :
6/30/2019 10:07:14 PM - -------------------------------------------------------
6/30/2019 10:07:14 PM - [Subject] : CN=Microsoft Corporation, OU=OPC, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
6/30/2019 10:07:14 PM - [Issuer] : CN=Microsoft Code Signing PCA 2010, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
6/30/2019 10:07:14 PM - [Serial Number] : 330000026ECE6AE5984BFC96A900000000026E
6/30/2019 10:07:14 PM - [Not Before] : 9/6/2018 5:00:30 PM
6/30/2019 10:07:14 PM - [Not After] : 9/6/2019 5:00:30 PM
6/30/2019 10:07:14 PM - [Thumbprint] : 99B6246883B4B32EA59AE18B36945D205A876800
6/30/2019 10:07:14 PM -
6/30/2019 10:07:14 PM - Supported Products :
6/30/2019 10:07:14 PM - Microsoft.VisualStudio.Community
6/30/2019 10:07:14 PM - Version : [16.2,)
6/30/2019 10:07:14 PM -
6/30/2019 10:07:14 PM - References :
6/30/2019 10:07:14 PM - Prerequisites :
6/30/2019 10:07:14 PM - -------------------------------------------------------
6/30/2019 10:07:14 PM - Identifier : Microsoft.VisualStudio.Component.Web
6/30/2019 10:07:14 PM - Name : ASP.NET and web development tools
6/30/2019 10:07:14 PM - Version : [16.0,)
6/30/2019 10:07:14 PM -
6/30/2019 10:07:14 PM - Signature Details...
6/30/2019 10:07:14 PM - Extension is signed with a valid signature.
6/30/2019 10:07:14 PM -
6/30/2019 10:07:14 PM - Searching for applicable products...
6/30/2019 10:07:14 PM - Found installed product - Global Location
6/30/2019 10:07:14 PM - Found installed product - Visual Studio Community 2019
6/30/2019 10:07:14 PM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
at VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable1& skuData)
at VSIXInstaller.ExtensionPackService.IsExtensionPack(IStateData stateData, Boolean isRepairSupported)
at VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData stateData, Boolean isRepairSupported)
at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
at VSIXInstaller.App.Initialize()
at System.Threading.Tasks.Task1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
I have ran a repair on Visual Studio, and even uninstalled and reinstalled.
I was able to create a project before the latest Visual Studio update. After the update, that project, which was still just the base demo, would not build. When I went to make a new project, Blazor was no longer there.
I see a number of issues on the nuget forum around not being able to install if your My documents folder is on a shared drive. If I don't have the flexibility to change this (locked down policy) is there any way i can use nuget?
Here is the error i get when trying to install it from the VS Extension Manager:
The system cannot find the path specified. (Exception from HRESULT:
The VS log file shows:
3/23/2012 9:45:26 PM - Microsoft Visual Studio Extension Installer
3/23/2012 9:45:26 PM - -------------------------------------------
3/23/2012 9:45:26 PM - Initializing Install...
3/23/2012 9:45:26 PM - Extension Details...
3/23/2012 9:45:26 PM - Identifier : NuPackToolsVsix.Microsoft.67e54e40-0ae3-42c5-a949-fddf5739e7a5
3/23/2012 9:45:26 PM - Name : NuGet Package Manager
3/23/2012 9:45:26 PM - Author : Microsoft Corporation
3/23/2012 9:45:26 PM - Version : 1.6.21215.9133
3/23/2012 9:45:26 PM - Description : A collection of tools to automate the process of downloading, installing, upgrading, configuring, and removing packages from a VS Project.
3/23/2012 9:45:26 PM - Locale : en-US
3/23/2012 9:45:26 PM - MoreInfoURL : http://docs.nuget.org/
3/23/2012 9:45:26 PM - InstalledByMSI : False
3/23/2012 9:45:26 PM - MinFramework : 4.0
3/23/2012 9:45:26 PM - MaxFramework : 4.0
3/23/2012 9:45:26 PM -
3/23/2012 9:45:26 PM - Supported Visual Studio Editions :
3/23/2012 9:45:26 PM - Version : 10.0
3/23/2012 9:45:26 PM - Pro
3/23/2012 9:45:26 PM - IntegratedShell
3/23/2012 9:45:26 PM - VWDExpress
3/23/2012 9:45:26 PM - VPDExpress
3/23/2012 9:45:26 PM - Version : 11.0
3/23/2012 9:45:26 PM - Pro
3/23/2012 9:45:26 PM - IntegratedShell
3/23/2012 9:45:26 PM - VWDExpress
3/23/2012 9:45:26 PM - VPDExpress
3/23/2012 9:45:26 PM -
3/23/2012 9:45:26 PM - Supported Isolated Shells :
3/23/2012 9:45:26 PM -
3/23/2012 9:45:26 PM - References :
3/23/2012 9:45:26 PM -
3/23/2012 9:45:26 PM - System.IO.DirectoryNotFoundException: The system cannot find the path specified. (Exception from HRESULT: 0x80070003)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.VisualStudio.Settings.ExternalSettingsManager.GetScopePaths(String applicationPath, String suffixOrName, Boolean isLogged, Boolean isForIsolatedApplication)
at Microsoft.VisualStudio.Settings.ExternalSettingsManager.CreateForApplication(String applicationPath)
at VSIXInstaller.App.GetExtensionManager(SupportedVSSKU sku)
at VSIXInstaller.App.GetExtensionManagerForApplicableSKU(SupportedVSSKU supportedSKU, IInstallableExtension installableExtension, List`1 applicableSKUs)
at VSIXInstaller.App.InitializeInstall()
at VSIXInstaller.App.OnStartup(StartupEventArgs e)
I was facing a similar issue and the various suggestions about CasPol and loadFromRemoteSources failed; here's what worked for me (on Windows 7 sp1):
Uninstall the current NuGet extension
Close Visual Studio
Open up a registry editor and navigate to HKEY_CURRENT-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\
The Personal key will show the shared folder as its value
Amend that value to a local drive location, e.g. C:\Temp\
Don't close regedit as you'll be changing it back in a moment
Open Visual Studio
it might complain about not finding certain settings, but I just clicked through the warnings
Install the NuGet extension
at least for me, this all happened smoothly in exactly the way that wasn't happening before
Quit Visual Studio
Revert the Personal registry value back to its previous state
Restart Visual Studio
... et voilà!
I don't tested this myself, but you can try to modify C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe.config file and include loadFromRemoteSources element:
<loadFromRemoteSources enabled="true"/>
at the location <configuration> \ <runtime>. Additionally you can try to verify that no other old version NuGet is installed. You should start Visual Studio 2010 shortcut with context menu and choose "Run as administrator" to be sure that you can uninstall it.
Additionally you can consider to add "FullTrust" to the share for the .NET
CasPol.exe -m -ag 1.2 -url file://ServerName/ShareName/* FullTrust
Try to set your Environment Variable Path in the MyComputer's System Properties > Advance tab
The only thing I know NuGet installs under "My Documents" is the following:
%LocalAppData\NuGet <-- here you usually find the default cache folder
%AppData\NuGet <-- here you find the machine-level nuget.config file
Can you check if these folders are there?
Just a theory, but if not, maybe you can create those folders yourself and retry the installation?
If you have redirected folders.... then something is borked.
Workaround:
Choose menu Start → All Programs → Accessories, right-click on Command Prompt, and choose Run As Administrator. Type subst Z: "C:\Windows" and press Enter (Z is your redirected folder path).
Run your stuff again.
The "fix": http://support.microsoft.com/kb/886549