Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Extension not found by Visual Studio 2012

$
0
0

Hi,

I have create an extension for  Unit Test Environment.

I tested it by copiing it manually in "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\Extensions".

Now I want to create a vsix installer.

I followed the instructions given at the "VSIX Project Template" page (http://msdn.microsoft.com/en-us/library/dd393742.aspx). When I run the vsix, a new directory is created in %LOCALAPPDATA%\Microsoft\VisualStudio\11.0\Extensions but VS 2012 do not find it and thus, tests are not found in the .exe binary!

I also try to turn on "This VSIX is installed for all users" but in this case, the dll is not copied to "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\Extensions"

here is the "source.extension.vsixmanifest" file

<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011">
  <Metadata>
    <Identity Id="QTestAdapter.Microsoft.caa28b05-633a-4f54-ad1c-7f875a174b72" Version="1.0" Language="en-US" Publisher="MMM" />
    <DisplayName>QTestAdapter</DisplayName>
    <Description xml:space="preserve">QTestAdapter</Description>
  </Metadata>
  <Installation>
    <InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="11.0" />
    <InstallationTarget Version="[11.0,12.0)" Id="Microsoft.VisualStudio.Premium" />
    <InstallationTarget Version="[11.0,12.0)" Id="Microsoft.VisualStudio.Ultimate" />
  </Installation>
  <Dependencies>
    <Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" Version="4.5" />
  </Dependencies>
  <Assets>
    <Asset Type="Microsoft.VisualStudio.MefComponent" Path="QTestAdapter.dll" />
  </Assets>
</PackageManifest>

and the "[Content_Types].xml" file content

<?xml version="1.0" encoding="utf-8"?>

<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">

<Default Extension="vsixmanifest" ContentType="text/xml" />

<Default Extension="dll" ContentType="application/octet-stream" />

</Types>

Does someone see what's wrong ?

Thanks


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>