Build with Visual Studio 2022 (#1793)
- Use Visual Studio 2022 - Use an Azure Pipelines image which has Visual Studio 2022 installed - Use the v143 C++ build tools - Use the Windows SDK version 22000 - Raise the minimum platform version to 17763 - As a consequence of this change, we will use the "msix" file extension instead of "appx" for our packages - Update UI tests from .NET Core 2.1 to .NET Core 3.1
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Appium.WebDriver" Version="4.0.0.6-beta" />
|
||||
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
|
||||
<PackageReference Include="Appium.WebDriver" Version="4.3.1" />
|
||||
<PackageReference Include="MSTest.TestFramework" Version="2.2.8" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -56,9 +56,9 @@ namespace CalculatorUITestFramework
|
||||
// Note: Multiple calculator windows (instances) share the same process Id
|
||||
var options = new AppiumOptions();
|
||||
|
||||
if (context.Properties.TryGetValue("AppId", out object appId))
|
||||
if (context.Properties.Contains("AppId"))
|
||||
{
|
||||
options.AddAdditionalCapability("app", (string)appId);
|
||||
options.AddAdditionalCapability("app", (string)context.Properties["AppId"]);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user