Skip to content

Commit

Permalink
Fix testhost exe config to be used during ngen. (#2153)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayankbansal018 authored Sep 5, 2019
1 parent 3ce317c commit 2479b26
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/package/VSIXProject/TestPlatform.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<VsixInputFileLocation>$(TestPlatformRoot)artifacts\$(Configuration)\net451\win7-x64</VsixInputFileLocation>
<OutputPath>$(TestPlatformRoot)artifacts\$(Configuration)\VSIX</OutputPath>
<ExtensionInstallationFolder>TestPlatform</ExtensionInstallationFolder>
<ExtensionInstallationRelativeToVS>Common7\IDE\Extensions\TestPlatform</ExtensionInstallationRelativeToVS>

<!-- Disable warning that there are no source files. It is intentional. -->
<NoWarn>$(NoWarn);2008</NoWarn>
Expand Down Expand Up @@ -235,8 +236,8 @@

<VsixSourceItem Include="$(VsixInputFileLocation)\*.*" Exclude="$(VsixInputFileLocation)\*.pdb" />

<VsixSourceItem Update="$(VsixInputFileLocation)\testhost.exe" Ngen="true" NgenArchitecture="X64" NgenPriority="1" NgenApplication="$(VsixInputFileLocation)\testhost.exe" />
<VsixSourceItem Update="$(VsixInputFileLocation)\testhost.x86.exe" Ngen="true" NgenArchitecture="X86" NgenPriority="1" NgenApplication="$(VsixInputFileLocation)\testhost.x86.exe" />
<VsixSourceItem Update="$(VsixInputFileLocation)\testhost.exe" Ngen="true" NgenArchitecture="X64" NgenPriority="1" NgenApplication="$(ExtensionInstallationRelativeToVS)\testhost.exe" />
<VsixSourceItem Update="$(VsixInputFileLocation)\testhost.x86.exe" Ngen="true" NgenArchitecture="X86" NgenPriority="1" NgenApplication="$(ExtensionInstallationRelativeToVS)\testhost.x86.exe" />
</ItemGroup>
<ItemGroup>
<Content Include="License.rtf">
Expand Down

0 comments on commit 2479b26

Please sign in to comment.