File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed
IntegrationTesting.IIS/src Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 88 <HostArch >$(Platform)</HostArch >
99 <HostArch Condition =" '$(Platform)' == 'Win32'" >x86</HostArch >
1010 <HostArch Condition =" '$(Platform)' == 'AnyCPU'" >x64</HostArch >
11- <HostArch Condition =" '$(DotNetBuild)' == 'true'" >$(TargetArchitecture)</HostArch >
11+ <HostArch Condition =" '$(DotNetBuild)' == 'true' AND '$(DotNetBuildPass)' != '2' " >$(TargetArchitecture)</HostArch >
1212 <LibNetHostPath >$(NuGetPackageRoot)microsoft.netcore.app.host.win-$(HostArch)\$(LibNetHostAppPackVersion)\runtimes\win-$(HostArch)\native</LibNetHostPath >
1313 <!-- This tools version MUST match the same version as runtime uses to compile libnethost.lib -->
1414 <PlatformToolsetVersion >143</PlatformToolsetVersion >
1515 </PropertyGroup >
1616
1717 <!-- Platform is different during restore than during build. Therefore, restore everything when not building the product. -->
18- <ItemGroup Condition =" '$(MSBuildProjectExtension)' == '.vcxproj' and '$(DotNetBuild)' != 'true'" >
18+ <ItemGroup Condition =" '$(MSBuildProjectExtension)' == '.vcxproj' and ( '$(DotNetBuild)' != 'true' OR '$(DotNetBuildPass)' == '2') " >
1919 <PackageReference Include =" Microsoft.NETCore.App.Host.win-x64" Version =" [$(LibNetHostAppPackVersion)]" PrivateAssets =" all" ExcludeAssets =" all" />
2020 <PackageReference Include =" Microsoft.NETCore.App.Host.win-x86" Version =" [$(LibNetHostAppPackVersion)]" PrivateAssets =" all" ExcludeAssets =" all" />
2121 <PackageReference Include =" Microsoft.NETCore.App.Host.win-arm64" Version =" [$(LibNetHostAppPackVersion)]" PrivateAssets =" all" ExcludeAssets =" all" />
2222 </ItemGroup >
2323
24- <ItemGroup Condition =" '$(MSBuildProjectExtension)' == '.vcxproj' and '$(DotNetBuild)' == 'true'" >
24+ <ItemGroup Condition =" '$(MSBuildProjectExtension)' == '.vcxproj' and '$(DotNetBuild)' == 'true' AND '$(DotNetBuildPass)' != '2' " >
2525 <PackageReference Include =" Microsoft.NETCore.App.Host.win-$(TargetArchitecture)" Version =" [$(LibNetHostAppPackVersion)]" PrivateAssets =" all" ExcludeAssets =" all" />
2626 </ItemGroup >
2727
Original file line number Diff line number Diff line change 3030 <EmbeddedResource Include =" Http.config" />
3131 </ItemGroup >
3232
33- <!-- Enforce build order in the VMR -->
34- <ItemGroup Condition =" '$(DotNetBuild)' == 'true' AND '$(DotNetBuildPass)' == '2' " >
35- <ProjectReference Include =" $(RepoRoot)\src\Installers\Windows\WindowsHostingBundle\WindowsHostingBundle.wixproj"
36- Private =" false"
37- ReferenceOutputAssembly =" false"
38- SkipGetTargetFrameworkProperties =" true" />
39- </ItemGroup >
40-
4133 <Target Name =" ValidateNativeComponentsBuilt" AfterTargets =" Build" Condition =" '$(UseIisNativeAssets)' == 'true' and '$(SkipTestBuild)' != 'true'" >
4234 <Error Text =" Required dll from ANCM has not been built. To build ANCM, you must use MSBuild.exe."
4335 Condition =" !Exists('$(AspNetCoreModuleV2ShimDll)') OR !Exists('$(AspNetCoreModuleV2OutOfProcessHandlerDll)')" />
You can’t perform that action at this time.
0 commit comments