Account for missing ArtifactsDir

This commit is contained in:
Pranav K 2017-03-09 11:44:01 -08:00
parent addbac24aa
commit 3f911fd518
1 changed files with 5 additions and 2 deletions

View File

@ -38,8 +38,9 @@
<Target Name="_BuildVSIX" Condition="'$(MSBuildExePath)'!=''"> <Target Name="_BuildVSIX" Condition="'$(MSBuildExePath)'!=''">
<PropertyGroup> <PropertyGroup>
<VSIXLogFilePath>$(ArtifactsDir)msbuild\vsix.log</VSIXLogFilePath> <MSBuildArtifactsDir>$(ArtifactsDir)msbuild\</MSBuildArtifactsDir>
<VSIXResponseFilePath>$(ArtifactsDir)msbuild\vsix.rsp</VSIXResponseFilePath> <VSIXLogFilePath>$(MSBuildArtifactsDir)vsix.log</VSIXLogFilePath>
<VSIXResponseFilePath>$(MSBuildArtifactsDir)vsix.rsp</VSIXResponseFilePath>
<VSIXOutputPath>$(BuildDir)$(VSIXName).vsix</VSIXOutputPath> <VSIXOutputPath>$(BuildDir)$(VSIXName).vsix</VSIXOutputPath>
</PropertyGroup> </PropertyGroup>
@ -55,6 +56,8 @@
/p:Configuration=$(Configuration);" /> /p:Configuration=$(Configuration);" />
</ItemGroup> </ItemGroup>
<MakeDir Directory="$(MSBuildArtifactsDir)" Condition="!Exists('$(MSBuildArtifactsDir)')" />
<WriteLinesToFile <WriteLinesToFile
File="$(VSIXResponseFilePath)" File="$(VSIXResponseFilePath)"
Lines="@(MSBuildArguments)" Lines="@(MSBuildArguments)"