Skip to content
Permalink
Browse files

[VSPackage] Fix Xenko.build targets

  • Loading branch information
xen2 committed Dec 6, 2018
1 parent 7974009 commit 6005e95fdbd5137a18ced5d0b6ed803e8e88c906
@@ -32,13 +32,13 @@ Example of use:
-->
<Target Name="VSIXPlugin" DependsOnTargets="Restore">
<ItemGroup>
<FilesToDeleteVSIX Include="$(XenkoRoot)bin\launcher\*.nupkg"/>
<FilesToDeleteVSIX Include="$(XenkoRoot)bin\vsix\*.nupkg"/>
</ItemGroup>

<Delete Files="@(FilesToDeleteVSIX)"/>

<MSBuild Targets="91-VisualStudio\Xenko_VisualStudio_Package;91-VisualStudio\Xenko_VisualStudio_PackageInstall" Projects="$(XenkoSolution).sln" Properties="$(BuildProperties);Platform=Mixed Platforms"/>
<Exec Command='"$(NuGetPath)" pack "$(XenkoRoot)sources\tools\Xenko.VisualStudio.Package\Xenko.VisualStudio.Package.nuspec" -BasePath "$(XenkoRoot)sources\tools\Xenko.VisualStudio.Package" -OutputDirectory "$(XenkoRoot)bin\launcher"' />
<Exec Command='"$(NuGetPath)" pack "$(XenkoRoot)sources\tools\Xenko.VisualStudio.Package\Xenko.VisualStudio.Package.nuspec" -BasePath "$(XenkoRoot)sources\tools\Xenko.VisualStudio.Package" -OutputDirectory "$(XenkoRoot)bin\vsix"' />
</Target>

<!--
@@ -9,8 +9,8 @@
<Import Project="Sdk.props" Sdk="MSBuild.Sdk.Extras" Version="1.6.55" />
<PropertyGroup>
<TargetVsixContainerName>Xenko.vsix</TargetVsixContainerName>
<TargetVsixContainer>bin\$(TargetVsixContainerName)</TargetVsixContainer>
<RootNamespace>Xenko.VisualStudio</RootNamespace>
<XenkoOutputPath>bin\$(Configuration)\</XenkoOutputPath>
<SignAssembly>false</SignAssembly>
<AssemblyOriginatorKeyFile>Key.snk</AssemblyOriginatorKeyFile>
<TargetFramework>$(TargetFrameworkTool)</TargetFramework>
@@ -12,7 +12,7 @@
<tags>internal</tags>
</metadata>
<files>
<file src="bin\Release\Xenko.vsix" target="tools" />
<file src="bin\Xenko.vsix" target="tools" />
<file src="..\Xenko.VisualStudio.PackageInstall\bin\Release\packageinstall.exe" target="tools" />
<file src="..\Xenko.VisualStudio.PackageInstall\bin\Release\Microsoft.VisualStudio.Setup.Configuration.Interop.dll" target="tools" />
</files>

0 comments on commit 6005e95

Please sign in to comment.
You can’t perform that action at this time.