Skip to content

Commit

Permalink
Update SDK version for pipeline builds
Browse files Browse the repository at this point in the history
  • Loading branch information
EricJohnson327 committed Sep 12, 2023
1 parent eb920b5 commit f3b2269
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,16 @@ Try {
("DevHome.sln"),
("/p:Platform="+$platform),
("/p:Configuration="+$configuration),
# ("/p:DevHomeSDKVersion="+$env:sdk_version),
("/restore"),
("/binaryLogger:DevHome.$platform.$configuration.binlog"),
("/p:AppxPackageOutput=$appxPackageDir\DevHome-$platform.msix"),
("/p:AppxPackageSigningEnabled=false"),
("/p:GenerateAppxPackageOnBuild=true"),
("/p:BuildRing=$buildRing")
)
if (-not([string]::IsNullOrWhiteSpace($VersionOfSDK))) {
$msbuildArgs += ("/p:DevHomeSDKVersion="+$env:sdk_version)
}

& $msbuildPath $msbuildArgs
if (-not($IsAzurePipelineBuild) -And $isAdmin) {
Expand Down
4 changes: 2 additions & 2 deletions common/DevHome.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<RuntimeIdentifiers>win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers>
<Nullable>enable</Nullable>
<UseWinUI>true</UseWinUI>
<DevHomeSDKVersion Condition="$(DevHomeSDKVersion) == ''">0.100.249</DevHomeSDKVersion>
<DevHomeSDKVersion Condition="$(DevHomeSDKVersion) == ''">$(DevHomeSDKVersion)</DevHomeSDKVersion>
</PropertyGroup>
<ItemGroup>
<None Remove="Views\Banner.xaml" />
Expand All @@ -24,7 +24,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Windows.DevHome.SDK" Version="0.100.253" />
<PackageReference Include="Microsoft.Windows.DevHome.SDK" Version="0.100.254" />
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.3.230724000" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="6.0.1" />
<PackageReference Include="Microsoft.Internal.Windows.DevHome.Helpers" Version="1.0.20230706-x2201" />
Expand Down

0 comments on commit f3b2269

Please sign in to comment.