Browse Source

Update IntegrationTestApp to net6.0.

ui-automation-test
Steven Kirk 5 years ago
parent
commit
e0d3799887
  1. 2
      samples/IntegrationTestApp/IntegrationTestApp.csproj
  2. 2
      tests/Avalonia.IntegrationTests.Win32/TestAppFixture.cs

2
samples/IntegrationTestApp/IntegrationTestApp.csproj

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<OutputType>WinExe</OutputType> <OutputType>WinExe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
</PropertyGroup> </PropertyGroup>
<Import Project="..\..\build\BuildTargets.targets" /> <Import Project="..\..\build\BuildTargets.targets" />

2
tests/Avalonia.IntegrationTests.Win32/TestAppFixture.cs

@ -10,7 +10,7 @@ namespace Avalonia.IntegrationTests.Win32
public class TestAppFixture : IDisposable public class TestAppFixture : IDisposable
{ {
private const string WindowsApplicationDriverUrl = "http://127.0.0.1:4723"; private const string WindowsApplicationDriverUrl = "http://127.0.0.1:4723";
private const string TestAppPath = @"..\..\..\..\..\samples\IntegrationTestApp\bin\Debug\netcoreapp3.1\IntegrationTestApp.exe"; private const string TestAppPath = @"..\..\..\..\..\samples\IntegrationTestApp\bin\Debug\net6.0\IntegrationTestApp.exe";
public TestAppFixture() public TestAppFixture()
{ {

Loading…
Cancel
Save