Hi, Great tool I downloaded, setup the tools and fired VS 2013 premium, created a script project but I am not getting the Intellisense I have WMF 5 Feb preview on win 8.1 box Should it work correctly or not because of WMF 5? Thanks in advance
I have just installed it to my VS2013, I closed VS and launched it again. But I got
Failed to initialize PowerShell Tools for Visual Studio.System.IO.FileNotFoundException: Could not load file or assembly 'System.Management.Automation, Version=18.104.22.168, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Management.Automation, Version=22.214.171.124, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
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].
After I installed Windows Management Framework 4.0 and launch my VS2013 again, I got another error message.
Failed to initialize PowerShell Tools for Visual Studio.System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ComponentModel.Composition.ImportCardinalityMismatchException: No exports were found that match the constraint:
at System.ComponentModel.Composition.Hosting.ExportProvider.GetExports(ImportDefinition definition, AtomicComposition atomicComposition)
at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportsCore(Type type, Type metadataViewType, String contractName, ImportCardinality cardinality)
at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportedValueCore[T](String contractName, ImportCardinality cardinality)
at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportedValue[T](String contractName)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
at Microsoft.VisualStudio.Shell.Package.GetDialogPage(Type dialogPageType)
I had the same problem until I uninstalled the addin and reinstalled it. I think the problem is that Powershell v4 must be installed before you install this package. I'm up and running with it. Only problem I'm having now is that it will not stop at breakpoints.
I've read what I can find on the Github Wiki and here, but am having a rough time getting started with the extension. A few (hopefully simple) questions:
* Where is the latest "Getting Started' documentation? Is it the GitHub wiki (which seems out of date)?
* Is one module project intended to represent a single module or can it be a module library?
* Is there any project build support to perform things like .zipping up modules, or publish support?
Given the good reviews and comments I'm reading below, I must be doing something terribly wrong.. :)
- The GitHub wiki is the latest. There really isn't a good "Getting Started" page. I can certainly work on adding one. If you have any specific questions, let me know and I'll make to include them in the wiki.
- Really, the project templates are pretty much all the same. I hope to extend this but as it stands the only difference is the default items.
- Nope, not currently any zipping or publish support.
Would love to see some GitHub items outlining what you are looking for. :)
On a fresh installed computer, With VS2013.4 and vs2015CTP, it says that I am mission a .Net Framework. However, it will not say witch one.
20.01.2015 13:31:39 - The following target products have been selected...
20.01.2015 13:31:39 - Microsoft Visual Studio Ultimate 2013
20.01.2015 13:31:39 - Microsoft Visual Studio Ultimate 2015 CTP
20.01.2015 13:31:39 -
20.01.2015 13:31:39 - Beginning to install extension to Microsoft Visual Studio Ultimate 2013...
20.01.2015 13:31:39 - Install Error : Microsoft.VisualStudio.ExtensionManager.MissingTargetFrameworkException: The extension 'PowerShell Tools for Visual Studio 2013' requires a version of the .NET Framework that is not installed.
at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.CheckForValidDotNetFramework(IExtension extension)
at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.CheckForInstallBlockers(InstallableExtensionImpl extension, IInstalledExtensionList modifiedInstalledExtensionsList, Boolean isNestedExtension, Boolean& olderVersionInstalled)
at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.InstallInternal(InstallableExtensionImpl extension, Boolean perMachine, Boolean isNestedExtension, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, AsyncOperation asyncOp, UInt64 totalBytesToWrite, UInt64& totalBytesWritten)
at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.BeginInstall(IInstallableExtension installableExtension, Boolean perMachine, AsyncOperation asyncOp)
at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.InstallWorker(IInstallableExtension extension, Boolean perMachine, AsyncOperation asyncOp)
Hello. I have the same trouble with VS 2013.4 and VS 2015CTP installed. Some extensions fails to install with the same message "the extension ... for visual studio 2013 requires a version of the .Net framework that is not installed". I think, this is somehow related with incorrectly installed .net framewok 4.5. I had to uninstall VS2015 and 2013, and then uninstall all .net frameworks version 4 (4.5, 4.5.1, 4.5.2, 4.6RC). Afterwards I install VS2013.4, and problem was fixed.
Windows 8.1 - Fully patched
.Net Framework 3.5 and .Net framework 4.5 Advanced Features installed
Getting the same error on VS2013.4 and VS2015CTP.
I read Bibliarij workaround with interesst, however since this exteionsion is not critical to me, I can wait until you have som suggestions and try them instead of uninstalling VS2015..
I had the same issue on my Windows 8.1 PC with VS2013.4 and VS2015CTP installed. What fixed the issue for me was uninstalling VS2015CTP and doing a "repair" install of Windows 8.1. I'm not sure if the removal of VS2015CTP was necessary, but the repair install of Windows 8.1 was as nothing else I tried worked.
When I place a break point on a line and I start with F5, I get the following results:
[ERROR] C:\Users\xxxxx\documents\visual studio 2013\Projects\PowerShell Script Project1\PowerShell Script Project1\Script.ps1 : Could not load type 'System.Management.Automation.DebuggerCommandResults' f
[ERROR] rom assembly 'System.Management.Automation, Version=126.96.36.199, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
[ERROR] At line:1 char:1
[ERROR] + . 'C:\Users\xxxxx\documents\visual studio 2013\Projects\PowerShell Script Pr ...
[ERROR] + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ERROR] + CategoryInfo : NotSpecified: (:) [Script.ps1], TypeLoadException
[ERROR] + FullyQualifiedErrorId : System.TypeLoadException,Script.ps1
I'm using VS2013 community edition and have installed the "dog food" version of the tools, as I am having troubles with debugging and break points. When I debug a script and check the environment
[environment]::Is64BitProcess the result is "true"
How do I set the environment to be 32bit when debugging?
(when I used the previous Poshtools it was 32 bit)
I suppose it's not compatible yet with the Community edition? Is that planned?
For now I get this error message when VS starts and this module is installed (I tried to re-install it to make sure, but the same error comes back):
"Failed to initialize PowerShell Tools for Visual
Studio.System.IO.FileNotFoundException: Could not load file or assembly 'System.Management.Automation, Version=188.8.131.52 [...]"
Unfortunately I can't put the screenshot here, so it's hosted at this URL:
Visual Studio Community 2013
Version 12.0.31101.00 Update 4.
I use community edition and Windows 7 sp1. And Management Framework 4. But I get this error message: The extension 'Powershell tools for visual studio 2013' requires a version of the .NET Framework that is not installed'..
I have framework 4.5. It says nothing in the logs about what version is missing. You have any idea what Framework version I'm missing?
I tried to install this today and got this error:
3/17/2015 9:44:02 AM - Searching for applicable products...
3/17/2015 9:44:02 AM - Found installed product - Microsoft Visual Studio Express 2013 for Windows Desktop
3/17/2015 9:44:02 AM - Found installed product - Global Location
3/17/2015 9:44:02 AM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
Is Microsoft Visual Studio Express 2013 for Windows Desktop not supported?
I installed PowerShell Tools for Visual Studio 2013 (Powershell version 4). I created a powerShell Script Project and I can only debug the script code if the project was opened at the first time. The farther debugging will never hit the breakpoint. I have to restart vs 2013 to get debugging work only one time. Please help me out, thanks.