فهرست منبع

Try a build on VS2026 (#65088)

William Godbe 1 ماه پیش
والد
کامیت
012f51e754
3فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 2 2
      .azure/pipelines/jobs/default-build.yml
  2. 1 1
      eng/targets/Cpp.Common.props
  3. 1 1
      src/Servers/IIS/Directory.Build.props

+ 2 - 2
.azure/pipelines/jobs/default-build.yml

@@ -115,7 +115,7 @@ jobs:
             demands: ImageOverride -equals Build.Ubuntu.2204.Amd64.Open
         ${{ if eq(parameters.agentOs, 'Windows') }}:
           name: $(DncEngPublicBuildPool)
-          demands: ImageOverride -equals windows.vs2022preview.amd64.open
+          demands: ImageOverride -equals windows.vs2026preview.scout.amd64.open
       ${{ if ne(parameters.container, '') }}:
         container: ${{ parameters.container }}
       ${{ if ne(parameters.disableComponentGovernance, '') }}:
@@ -334,7 +334,7 @@ jobs:
         ${{ if eq(parameters.agentOs, 'Windows') }}:
           name: $(DncEngInternalBuildPool)
           # Visual Studio Enterprise - contains some stuff, like SQL Server and IIS Express, that we use for testing
-          image: windows.vs2022preview.amd64
+          image: windows.vs2026preview.scout.amd64
           os: windows
       ${{ if ne(parameters.container, '') }}:
         container: ${{ parameters.container }}

+ 1 - 1
eng/targets/Cpp.Common.props

@@ -20,7 +20,7 @@
     <VCProjectVersion>15.0</VCProjectVersion>
     <Keyword>Win32Proj</Keyword>
     <Platform Condition="'$(Platform)' == ''">x64</Platform>
-    <PlatformToolsetVersion>v143</PlatformToolsetVersion>
+    <PlatformToolsetVersion>v145</PlatformToolsetVersion>
     <PlatformToolset>$(PlatformToolsetVersion)</PlatformToolset>
     <!-- If the following line is updated ensure that the /eng/scripts/vs.*.*.json files are updated to include the same version component too. -->
     <WindowsTargetPlatformVersion Condition=" '$(WindowsTargetPlatformVersion)' == '' ">10.0.22621.0</WindowsTargetPlatformVersion>

+ 1 - 1
src/Servers/IIS/Directory.Build.props

@@ -11,7 +11,7 @@
     <HostArch Condition="'$(DotNetBuild)' == 'true' AND '$(DotNetBuildPass)' != '2'">$(TargetArchitecture)</HostArch>
     <LibNetHostPath>$(NuGetPackageRoot)microsoft.netcore.app.host.win-$(HostArch)\$(LibNetHostAppPackVersion)\runtimes\win-$(HostArch)\native</LibNetHostPath>
     <!-- This tools version MUST match the same version as runtime uses to compile libnethost.lib -->
-    <PlatformToolsetVersion>143</PlatformToolsetVersion>
+    <PlatformToolsetVersion>145</PlatformToolsetVersion>
   </PropertyGroup>
 
   <!-- Platform is different during restore than during build. Therefore, restore everything when not building the product. -->