Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix VSIX packaging on the build server

  • Loading branch information...
commit 30ecfec59e63d6b2f7e20ba1c9daf02949af701e 1 parent 9c05cf3
@gasparnagy gasparnagy authored
View
30 IdeIntegration/Vs2010Integration/TechTalk.SpecFlow.Vs2010Integration.csproj
@@ -408,11 +408,8 @@
<VsSDKInstall>..\..\lib\VS2010SDK</VsSDKInstall>
<VsctVerboseOutput>true</VsctVerboseOutput>
<VsixSchemaPath>$(VsSDKInstall)\VSIXManifestSchema.xsd</VsixSchemaPath>
- <!--<VsSDKIncludes>C:\Program Files (x86)\Microsoft Visual Studio 2010 SDK\VisualStudioIntegration\Common\Inc</VsSDKIncludes>-->
<UseCodebase>true</UseCodebase>
- <!--<BypassVsixValidation>true</BypassVsixValidation>-->
- <!--<CopyVsixExtensionFiles>True</CopyVsixExtensionFiles>-->
- <!--<CopyVsixExtensionLocation>$(OutDir)\TechTalk.SpecFlow.Vs2010Integration</CopyVsixExtensionLocation>-->
+ <MSBuildCommunityTasksPath>$(SolutionDir)\lib\MSBuildCommunityTasks</MSBuildCommunityTasksPath>
</PropertyGroup>
<ItemGroup>
<VSCTIncludePath Include="$(VsSDKInstall)\VSCTInclude">
@@ -424,16 +421,23 @@
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <!--<Import Project="..\..\lib\VS2010SDK\MsBuild\Microsoft.VsSDK.targets" />-->
<Import Project="$(VsSDKInstall)\MsBuild\Microsoft.VsSDK.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- -->
+ <Import Project="$(SolutionDir)\.nuget\nuget.targets" />
+ <Import Project="$(MSBuildCommunityTasksPath)\MSBuild.Community.Tasks.Targets" />
<Target Name="AfterBuild">
- <XmlPoke XmlInputPath="$(OutDir)\extension.vsixmanifest" Query="/vsx:Vsix/vsx:Identifier/vsx:InstalledByMsi" Value="true" Namespaces="&lt;Namespace Prefix='vsx' Uri='http://schemas.microsoft.com/developer/vsx-schema/2010' /&gt;">
- </XmlPoke>
+ <RemoveDir Directories="$(TargetDir)\VSIX" />
+ <Unzip ZipFileName="$(TargetDir)\TechTalk.SpecFlow.Vs2010Integration.vsix" TargetDirectory="$(TargetDir)\VSIX" />
+ <Delete Files="$(TargetDir)\TechTalk.SpecFlow.Vs2010Integration.vsix.orig" />
+ <Move SourceFiles="$(TargetDir)\TechTalk.SpecFlow.Vs2010Integration.vsix" DestinationFiles="$(TargetDir)\TechTalk.SpecFlow.Vs2010Integration.vsix.orig" />
+ <ItemGroup>
+ <VsFiles Include="$(TargetDir)\VSIX\EnvDTE*.dll" />
+ <VsFiles Include="$(TargetDir)\VSIX\VSLangProj*.dll" />
+ <VsFiles Include="$(TargetDir)\VSIX\Microsoft.VisualStudio.*.dll" />
+ </ItemGroup>
+ <Delete Files="@(VsFiles)" />
+ <ItemGroup>
+ <VsixFiles Include="$(TargetDir)\VSIX\**\*.*" />
+ </ItemGroup>
+ <Zip Files="@(VsixFiles)" Flatten="false" WorkingDirectory="$(TargetDir)\VSIX" ZipFileName="$(TargetDir)\TechTalk.SpecFlow.Vs2010Integration.vsix" />
</Target>
- <Import Project="$(SolutionDir)\.nuget\nuget.targets" />
</Project>
View
3  IdeIntegration/Vs2010Integration/source.extension.vsixmanifest
@@ -4,7 +4,8 @@
<Name>SpecFlow</Name>
<Author>TechTalk</Author>
<Version>1.9.0</Version>
- <Description xml:space="preserve">SpecFlow integration for Microsoft Visual Studio 2010 and 2012 (including syntax coloring for Ghrekin (.feature) files). SpecFlow is sponsored by TechTalk (http://www.techtalk.at).</Description>
+ <Description xml:space="preserve">UNINSTALL SPECFLOW 1.8.1 FIRST! SpecFlow integration for Visual Studio 2010 and 2012. Sponsored by TechTalk (http://www.techtalk.at).</Description>
+ <!--<Description xml:space="preserve">SpecFlow integration for Microsoft Visual Studio 2010 and 2012. Sponsored by TechTalk (http://www.techtalk.at).</Description>-->
<Locale>1033</Locale>
<MoreInfoUrl>http://www.specflow.org</MoreInfoUrl>
<License>LICENSE.txt</License>
Please sign in to comment.
Something went wrong with that request. Please try again.