Skip to content

Commit d633dfb

Browse files
author
msftbot[bot]
authored
Merge pull request #46232 from dotnet/merges/release/dev16.8-preview1-to-master
Merge release/dev16.8-preview1 to master
2 parents b3f5c67 + 382226a commit d633dfb

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

src/Interactive/HostProcess/InteractiveHost32.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<Ngen>true</Ngen>
3232
<NgenPriority>3</NgenPriority>
3333
<NgenArchitecture>X86</NgenArchitecture>
34-
<NgenApplication>/InteractiveHost/Desktop/InteractiveHost32.exe</NgenApplication>
34+
<NgenApplication>[installDir]\Common7\IDE\$(CommonExtensionInstallationRoot)\$(LanguageServicesExtensionInstallationFolder)\InteractiveHost\Desktop\InteractiveHost32.exe</NgenApplication>
3535
</_PublishProjectOutputGroup>
3636
<_PublishProjectOutputGroup Include="$(TargetPath).config" TargetPath="$(TargetFileName).config"/>
3737
</ItemGroup>

src/Interactive/HostProcess/InteractiveHost64.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<NgenPriority>3</NgenPriority>
4242
<NgenArchitecture Condition="'%(Filename)' != 'InteractiveHost64'">All</NgenArchitecture>
4343
<NgenArchitecture Condition="'%(Filename)' == 'InteractiveHost64'">X64</NgenArchitecture>
44-
<NgenApplication>/InteractiveHost/Desktop/InteractiveHost64.exe</NgenApplication>
44+
<NgenApplication>[installDir]\Common7\IDE\$(CommonExtensionInstallationRoot)\$(LanguageServicesExtensionInstallationFolder)\InteractiveHost\Desktop\InteractiveHost64.exe</NgenApplication>
4545
</_PublishedFiles>
4646
</ItemGroup>
4747
</Target>

src/Interactive/HostTest/InteractiveHost.UnitTests.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,13 @@
2424
<!--
2525
Not using ProjectReference since it does not execute the specified targets when building in VS.
2626
See https://github.com/microsoft/msbuild/issues/5434.
27+
28+
Note: do not set TargetFramework=net472 for InteractiveHost32. The project is not multi-targeted.
29+
Setting the property would create a build configuration that's different from the one the solution uses
30+
and thus would result in building the project twice.
2731
-->
2832

2933
<CopyPublishedOutputProjectReference Include="..\HostProcess\InteractiveHost32.csproj">
30-
<SetTargetFramework>TargetFramework=net472</SetTargetFramework>
3134
<OutputItemType>InteractiveHostFiles_Desktop32</OutputItemType>
3235
</CopyPublishedOutputProjectReference>
3336

src/VisualStudio/Setup/Roslyn.VisualStudio.Setup.csproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,11 @@
295295
<ProjectReference Include="..\..\Interactive\HostProcess\InteractiveHost32.csproj">
296296
<Name>InteractiveHost.Desktop32</Name>
297297

298-
<SetTargetFramework>TargetFramework=net472</SetTargetFramework>
299-
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
298+
<!--
299+
Note: do not set TargetFramework=net472 for InteractiveHost32. The project is not multi-targeted.
300+
Setting the property would create a build configuration that's different from the one the solution uses
301+
and thus would result in building the project twice.
302+
-->
300303
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
301304

302305
<Private>false</Private>

0 commit comments

Comments
 (0)