2015-09-06 191 views
2

嘿,我安装了Visual Studio 2013 Ultimate和Windows 10。我无法安装VS Plugin "Strip'em"Visual Studio 2013 Strip'em插件问题Win10

它说我没有所需的.Net框架。但我已经安装了所有的框架3.5(2,3),4和4.5等任何洞察力将不胜感激。

以下是日志文件上下文。

9/6/2015 2:36:46 PM - Microsoft VSIX Installer 
9/6/2015 2:36:46 PM - ------------------------------------------- 
9/6/2015 2:36:46 PM - Initializing Install... 
9/6/2015 2:36:46 PM - Extension Details... 
9/6/2015 2:36:46 PM - Identifier  : 003a0f14-2226-41a9-8f63-dce243af9932 
9/6/2015 2:36:46 PM - Name   : Strip'em 
9/6/2015 2:36:46 PM - Author   : grebulon.com 
9/6/2015 2:36:46 PM - Version   : 1.0 
9/6/2015 2:36:46 PM - Description  : Visual Studio 2013 package. Save files with Unix or Windows line endings. 
9/6/2015 2:36:46 PM - Locale   : en-US 
9/6/2015 2:36:46 PM - MoreInfoURL  : http://www.grebulon.com/software/stripem.php 
9/6/2015 2:36:46 PM - InstalledByMSI : False 
9/6/2015 2:36:46 PM - SupportedFrameworkVersionRange : [4.5] 
9/6/2015 2:36:46 PM - 
9/6/2015 2:36:46 PM - Supported Products : 
9/6/2015 2:36:46 PM -  Microsoft.VisualStudio.Pro 
9/6/2015 2:36:46 PM -   Version : [12.0] 
9/6/2015 2:36:46 PM - 
9/6/2015 2:36:46 PM - References  : 
9/6/2015 2:36:46 PM -  ------------------------------------------------------- 
9/6/2015 2:36:46 PM -  Identifier : Microsoft.VisualStudio.MPF.12.0 
9/6/2015 2:36:46 PM -  Name   : Visual Studio MPF 12.0 
9/6/2015 2:36:46 PM -  Version  : [12.0] 
9/6/2015 2:36:46 PM -  MoreInfoURL : 
9/6/2015 2:36:46 PM -  Nested  : No 
9/6/2015 2:36:46 PM - 
9/6/2015 2:36:46 PM - 
9/6/2015 2:36:46 PM - Searching for applicable products... 
9/6/2015 2:36:46 PM - Found installed product - Microsoft Visual Studio Ultimate 2013 
9/6/2015 2:36:48 PM - The extension with ID '003a0f14-2226-41a9-8f63-dce243af9932' is not installed to Microsoft Visual Studio Ultimate 2013. 
9/6/2015 2:36:48 PM - Found installed product - Microsoft Visual Studio Premium 2013 
9/6/2015 2:36:48 PM - Found installed product - Microsoft Visual Studio Professional 2013 
9/6/2015 2:36:48 PM - Found installed product - Microsoft Visual Studio 2013 Shell (Integrated) 
9/6/2015 2:36:48 PM - Found installed product - Global Location 
9/6/2015 2:36:51 PM - The following target products have been selected... 
9/6/2015 2:36:51 PM - Microsoft Visual Studio Ultimate 2013 
9/6/2015 2:36:51 PM - 
9/6/2015 2:36:51 PM - Beginning to install extension to Microsoft Visual Studio Ultimate 2013... 
9/6/2015 2:36:51 PM - Install Error : Microsoft.VisualStudio.ExtensionManager.MissingTargetFrameworkException: The extension 'Strip'em' 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) 
+0

我已经修复了Jesse建议的安装程序并将其上传到http://www.grebulon.com/software/stripem.php。请确认它适用于您。 – grebulon

+0

@grebulon感谢它现在工作正常:) –

回答

3

问题可能是您在Windows 10上运行,因此在.NET 4.6。扩展明确发生在它的依赖清单上.NET 4.5的依赖性:

<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" Version="4.5" /> 

得到它安装最简单的方法是使用类似7zip的打开vsix,选择extension.vsixmanifest,然后右键单击并选择编辑...从上下文菜单中选择

删除上述线,使得所述清单读取:

<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011"> 
    <Metadata> 
    <Identity Id="003a0f14-2226-41a9-8f63-dce243af9932" Version="1.0" Language="en-US" Publisher="grebulon.com" /> 
    <DisplayName>Strip'em</DisplayName> 
    <Description xml:space="preserve">Visual Studio 2013 package. Save files with Unix or Windows line endings.</Description> 
    <MoreInfo>http://www.grebulon.com/software/stripem.php</MoreInfo> 
    </Metadata> 
    <Installation InstalledByMsi="false"> 
    <InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="12.0" /> 
    </Installation> 
    <Dependencies> 
    <Dependency Id="Microsoft.VisualStudio.MPF.12.0" DisplayName="Visual Studio MPF 12.0" Version="12.0" /> 
    </Dependencies> 
    <Assets> 
    <Asset Type="Microsoft.VisualStudio.VsPackage" Path="Stripem.pkgdef" /> 
    </Assets> 
</PackageManifest> 

并关闭记事本(或任何编辑弹出)。 7zip会询问您是否要更新存档,请选择。现在尝试再次安装扩展。

的依赖或许应该已经使用:

<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" Version="[4.5,]" /> 

为了确保至少 4.5安装,或:

<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" Version="[4.5,5.0)" /> 

说任何框架版本与主要版本4高比4.5还要好。

更多关于syntax of the dependency tag can be found here

因为Framework 4.6是一个就地安装,它会将4.5框架更新到4.6,这会导致此问题。就我个人而言,在这种情况下我不会依赖框架版本,因为如果没有安装框架4.5,Visual Studio 2013将无法运行。

+0

它总是安装程序。他们不断改变... – grebulon

+0

联系作者@grebulon并发送给他一个更新的vsix。 – jessehouwing

+0

@ jessehouwing感谢它现在工作绝对好。 :) –