Skip to content

Commit

Permalink
Add the trailing .0 to all the things (#20792)
Browse files Browse the repository at this point in the history
This is just to be consistent and avoid a potential issue I saw when
testing the potential Win2D update. I am not sure why this is needed,
but appears to sometimes be needed in net7.0 scenarios.
  • Loading branch information
mattleibow authored Feb 23, 2024
1 parent 3423bad commit 0de4f22
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@
<MacCatalystTargetFrameworkVersion>13.5</MacCatalystTargetFrameworkVersion>
<MacosTargetFrameworkVersion>10.14</MacosTargetFrameworkVersion>
<AndroidTargetFrameworkVersion>30.0</AndroidTargetFrameworkVersion>
<WindowsTargetFrameworkVersion>10.0.19041</WindowsTargetFrameworkVersion>
<Windows2TargetFrameworkVersion>10.0.20348</Windows2TargetFrameworkVersion>
<WindowsTargetFrameworkVersion>10.0.19041.0</WindowsTargetFrameworkVersion>
<Windows2TargetFrameworkVersion>10.0.20348.0</Windows2TargetFrameworkVersion>
<TizenTargetFrameworkVersion>6.5</TizenTargetFrameworkVersion>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion eng/devices/windows.cake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;

const string defaultVersion = "10.0.19041";
const string defaultVersion = "10.0.19041.0";
const string dotnetVersion = "net8.0";

// required
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/common/device-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ stages:
parameters:
platform: windows
path: $(PROJECT_PATH)
apiVersion: 10.0.19041
apiVersion: 10.0.19041.0
windowsPackageId: $(PACKAGE_ID)
device: $(DEVICE) # For Windows this switches between packaged and unpackaged
provisionatorChannel: ${{ parameters.provisionatorChannel }}
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/common/ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ stages:
- template: ui-tests-steps.yml
parameters:
platform: windows
version: "10.0.19041"
version: "10.0.19041.0"
device: windows10
path: ${{ project.winui }}
app: ${{ project.app }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>$(_MauiDotNetTfm)-windows10.0.19041</TargetFramework>
<TargetFramework>$(_MauiDotNetTfm)-windows10.0.19041.0</TargetFramework>
<TargetPlatformMinVersion>10.0.17134.0</TargetPlatformMinVersion>
<RootNamespace>Microsoft.Maui.Controls.Compatibility.ControlGallery.WinUI</RootNamespace>
<ApplicationManifest>app.manifest</ApplicationManifest>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>$(_MauiDotNetTfm)-windows10.0.19041</TargetFramework>
<TargetFramework>$(_MauiDotNetTfm)-windows10.0.19041.0</TargetFramework>
<TargetPlatformMinVersion>10.0.17134.0</TargetPlatformMinVersion>
<RootNamespace>Microsoft.Maui.Controls.Compatibility.UAP.UnitTests</RootNamespace>
<AssemblyName>Microsoft.Maui.Controls.Compatibility.UAP.UnitTests</AssemblyName>
Expand Down
2 changes: 1 addition & 1 deletion src/Controls/tests/UITests/UITest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public override IConfig GetTestConfig()
var appProjectFolder = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)!, "..\\..\\..\\..\\..\\samples\\Controls.Sample.UITests");
var appProjectPath = Path.Combine(appProjectFolder, "Controls.Sample.UITests.csproj");
var windowsExe = "Controls.Sample.UITests.exe";
var windowsExePath = Path.Combine(appProjectFolder, $"bin\\{configuration}\\{frameworkVersion}-windows10.0.20348\\win10-x64\\{windowsExe}");
var windowsExePath = Path.Combine(appProjectFolder, $"bin\\{configuration}\\{frameworkVersion}-windows10.0.20348.0\\win10-x64\\{windowsExe}");

var appPath = string.IsNullOrEmpty(Environment.GetEnvironmentVariable("WINDOWS_APP_PATH"))
? windowsExePath
Expand Down

0 comments on commit 0de4f22

Please sign in to comment.