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