diff --git a/.github/workflows/test-tcp-windows.yml b/.github/workflows/test-tcp-windows.yml index 06c14ce3..522a0fa0 100644 --- a/.github/workflows/test-tcp-windows.yml +++ b/.github/workflows/test-tcp-windows.yml @@ -31,7 +31,7 @@ jobs: dotnet tool install --global --add-source artifacts/package/release DeviceRunners.Cli - name: Publish App run: | - $certResult = device-runners windows cert install --project sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj --output Json + $certResult = device-runners windows cert install --publisher "CN=DeviceTestingKitApp.DeviceTests Authors" --output Json $fingerprint = ($certResult | ConvertFrom-Json).Thumbprint dotnet publish sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj ` -f ${{ env.TEST_TARGET_FRAMEWORK }} ` diff --git a/.github/workflows/test-xharness-windows.yml b/.github/workflows/test-xharness-windows.yml index 93c52493..47f75c78 100644 --- a/.github/workflows/test-xharness-windows.yml +++ b/.github/workflows/test-xharness-windows.yml @@ -27,7 +27,7 @@ jobs: uses: ./.github/workflows/setup-tools - name: Publish App run: | - $fingerprint = ./scripts/New-Certificate.ps1 -Project sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj + $fingerprint = ./scripts/New-Certificate.ps1 -Publisher "CN=DeviceTestingKitApp.DeviceTests Authors" dotnet publish sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj ` -f ${{ env.TEST_TARGET_FRAMEWORK }} ` -c ${{ env.TEST_CONFIGURATION }} ` diff --git a/DeviceRunners.sln b/DeviceRunners.sln index 6f5fb8a8..6606bcd6 100644 --- a/DeviceRunners.sln +++ b/DeviceRunners.sln @@ -57,104 +57,299 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeviceRunners.Cli", "src\De EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeviceRunners.Cli.Tests", "test\DeviceRunners.Cli.Tests\DeviceRunners.Cli.Tests.csproj", "{CADA0B60-3175-4471-814F-635D701BBD44}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeviceRunners.VisualRunners.Maui.Bootstrap", "src\DeviceRunners.VisualRunners.Maui.Bootstrap\DeviceRunners.VisualRunners.Maui.Bootstrap.csproj", "{7CC730A2-E469-4A6E-87E1-BE00E6F208C8}" +EndProject + Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU + Release|x64 = Release|x64 + Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {254F1542-8CBD-4FF3-81FB-8C311D53DE70}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {254F1542-8CBD-4FF3-81FB-8C311D53DE70}.Debug|Any CPU.Build.0 = Debug|Any CPU {254F1542-8CBD-4FF3-81FB-8C311D53DE70}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {254F1542-8CBD-4FF3-81FB-8C311D53DE70}.Debug|x64.ActiveCfg = Debug|Any CPU + {254F1542-8CBD-4FF3-81FB-8C311D53DE70}.Debug|x64.Build.0 = Debug|Any CPU + {254F1542-8CBD-4FF3-81FB-8C311D53DE70}.Debug|x86.ActiveCfg = Debug|Any CPU + {254F1542-8CBD-4FF3-81FB-8C311D53DE70}.Debug|x86.Build.0 = Debug|Any CPU {254F1542-8CBD-4FF3-81FB-8C311D53DE70}.Release|Any CPU.ActiveCfg = Release|Any CPU {254F1542-8CBD-4FF3-81FB-8C311D53DE70}.Release|Any CPU.Build.0 = Release|Any CPU {254F1542-8CBD-4FF3-81FB-8C311D53DE70}.Release|Any CPU.Deploy.0 = Release|Any CPU + {254F1542-8CBD-4FF3-81FB-8C311D53DE70}.Release|x64.ActiveCfg = Release|Any CPU + {254F1542-8CBD-4FF3-81FB-8C311D53DE70}.Release|x64.Build.0 = Release|Any CPU + {254F1542-8CBD-4FF3-81FB-8C311D53DE70}.Release|x86.ActiveCfg = Release|Any CPU + {254F1542-8CBD-4FF3-81FB-8C311D53DE70}.Release|x86.Build.0 = Release|Any CPU {34760EB3-3B55-49A6-8632-ABC6FA5E6786}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {34760EB3-3B55-49A6-8632-ABC6FA5E6786}.Debug|Any CPU.Build.0 = Debug|Any CPU + {34760EB3-3B55-49A6-8632-ABC6FA5E6786}.Debug|x64.ActiveCfg = Debug|Any CPU + {34760EB3-3B55-49A6-8632-ABC6FA5E6786}.Debug|x64.Build.0 = Debug|Any CPU + {34760EB3-3B55-49A6-8632-ABC6FA5E6786}.Debug|x86.ActiveCfg = Debug|Any CPU + {34760EB3-3B55-49A6-8632-ABC6FA5E6786}.Debug|x86.Build.0 = Debug|Any CPU {34760EB3-3B55-49A6-8632-ABC6FA5E6786}.Release|Any CPU.ActiveCfg = Release|Any CPU {34760EB3-3B55-49A6-8632-ABC6FA5E6786}.Release|Any CPU.Build.0 = Release|Any CPU + {34760EB3-3B55-49A6-8632-ABC6FA5E6786}.Release|x64.ActiveCfg = Release|Any CPU + {34760EB3-3B55-49A6-8632-ABC6FA5E6786}.Release|x64.Build.0 = Release|Any CPU + {34760EB3-3B55-49A6-8632-ABC6FA5E6786}.Release|x86.ActiveCfg = Release|Any CPU + {34760EB3-3B55-49A6-8632-ABC6FA5E6786}.Release|x86.Build.0 = Release|Any CPU {52AB8946-1EDE-4BF2-B397-4422862AB2E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {52AB8946-1EDE-4BF2-B397-4422862AB2E1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {52AB8946-1EDE-4BF2-B397-4422862AB2E1}.Debug|x64.ActiveCfg = Debug|Any CPU + {52AB8946-1EDE-4BF2-B397-4422862AB2E1}.Debug|x64.Build.0 = Debug|Any CPU + {52AB8946-1EDE-4BF2-B397-4422862AB2E1}.Debug|x86.ActiveCfg = Debug|Any CPU + {52AB8946-1EDE-4BF2-B397-4422862AB2E1}.Debug|x86.Build.0 = Debug|Any CPU {52AB8946-1EDE-4BF2-B397-4422862AB2E1}.Release|Any CPU.ActiveCfg = Release|Any CPU {52AB8946-1EDE-4BF2-B397-4422862AB2E1}.Release|Any CPU.Build.0 = Release|Any CPU + {52AB8946-1EDE-4BF2-B397-4422862AB2E1}.Release|x64.ActiveCfg = Release|Any CPU + {52AB8946-1EDE-4BF2-B397-4422862AB2E1}.Release|x64.Build.0 = Release|Any CPU + {52AB8946-1EDE-4BF2-B397-4422862AB2E1}.Release|x86.ActiveCfg = Release|Any CPU + {52AB8946-1EDE-4BF2-B397-4422862AB2E1}.Release|x86.Build.0 = Release|Any CPU {F71BD057-A790-4676-A19D-9AFBB1E8A052}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {F71BD057-A790-4676-A19D-9AFBB1E8A052}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F71BD057-A790-4676-A19D-9AFBB1E8A052}.Debug|x64.ActiveCfg = Debug|Any CPU + {F71BD057-A790-4676-A19D-9AFBB1E8A052}.Debug|x64.Build.0 = Debug|Any CPU + {F71BD057-A790-4676-A19D-9AFBB1E8A052}.Debug|x86.ActiveCfg = Debug|Any CPU + {F71BD057-A790-4676-A19D-9AFBB1E8A052}.Debug|x86.Build.0 = Debug|Any CPU {F71BD057-A790-4676-A19D-9AFBB1E8A052}.Release|Any CPU.ActiveCfg = Release|Any CPU {F71BD057-A790-4676-A19D-9AFBB1E8A052}.Release|Any CPU.Build.0 = Release|Any CPU + {F71BD057-A790-4676-A19D-9AFBB1E8A052}.Release|x64.ActiveCfg = Release|Any CPU + {F71BD057-A790-4676-A19D-9AFBB1E8A052}.Release|x64.Build.0 = Release|Any CPU + {F71BD057-A790-4676-A19D-9AFBB1E8A052}.Release|x86.ActiveCfg = Release|Any CPU + {F71BD057-A790-4676-A19D-9AFBB1E8A052}.Release|x86.Build.0 = Release|Any CPU {9AFBB1E8-A790-4676-A19D-F71BD05A052E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {9AFBB1E8-A790-4676-A19D-F71BD05A052E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9AFBB1E8-A790-4676-A19D-F71BD05A052E}.Debug|x64.ActiveCfg = Debug|Any CPU + {9AFBB1E8-A790-4676-A19D-F71BD05A052E}.Debug|x64.Build.0 = Debug|Any CPU + {9AFBB1E8-A790-4676-A19D-F71BD05A052E}.Debug|x86.ActiveCfg = Debug|Any CPU + {9AFBB1E8-A790-4676-A19D-F71BD05A052E}.Debug|x86.Build.0 = Debug|Any CPU {9AFBB1E8-A790-4676-A19D-F71BD05A052E}.Release|Any CPU.ActiveCfg = Release|Any CPU {9AFBB1E8-A790-4676-A19D-F71BD05A052E}.Release|Any CPU.Build.0 = Release|Any CPU + {9AFBB1E8-A790-4676-A19D-F71BD05A052E}.Release|x64.ActiveCfg = Release|Any CPU + {9AFBB1E8-A790-4676-A19D-F71BD05A052E}.Release|x64.Build.0 = Release|Any CPU + {9AFBB1E8-A790-4676-A19D-F71BD05A052E}.Release|x86.ActiveCfg = Release|Any CPU + {9AFBB1E8-A790-4676-A19D-F71BD05A052E}.Release|x86.Build.0 = Release|Any CPU {709B3B0B-46E7-4EBE-B8CD-1E4BF6D4ADE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {709B3B0B-46E7-4EBE-B8CD-1E4BF6D4ADE1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {709B3B0B-46E7-4EBE-B8CD-1E4BF6D4ADE1}.Debug|x64.ActiveCfg = Debug|Any CPU + {709B3B0B-46E7-4EBE-B8CD-1E4BF6D4ADE1}.Debug|x64.Build.0 = Debug|Any CPU + {709B3B0B-46E7-4EBE-B8CD-1E4BF6D4ADE1}.Debug|x86.ActiveCfg = Debug|Any CPU + {709B3B0B-46E7-4EBE-B8CD-1E4BF6D4ADE1}.Debug|x86.Build.0 = Debug|Any CPU {709B3B0B-46E7-4EBE-B8CD-1E4BF6D4ADE1}.Release|Any CPU.ActiveCfg = Release|Any CPU {709B3B0B-46E7-4EBE-B8CD-1E4BF6D4ADE1}.Release|Any CPU.Build.0 = Release|Any CPU + {709B3B0B-46E7-4EBE-B8CD-1E4BF6D4ADE1}.Release|x64.ActiveCfg = Release|Any CPU + {709B3B0B-46E7-4EBE-B8CD-1E4BF6D4ADE1}.Release|x64.Build.0 = Release|Any CPU + {709B3B0B-46E7-4EBE-B8CD-1E4BF6D4ADE1}.Release|x86.ActiveCfg = Release|Any CPU + {709B3B0B-46E7-4EBE-B8CD-1E4BF6D4ADE1}.Release|x86.Build.0 = Release|Any CPU {B508A70A-5E4D-4688-B97E-D97BED8266A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {B508A70A-5E4D-4688-B97E-D97BED8266A0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B508A70A-5E4D-4688-B97E-D97BED8266A0}.Debug|x64.ActiveCfg = Debug|Any CPU + {B508A70A-5E4D-4688-B97E-D97BED8266A0}.Debug|x64.Build.0 = Debug|Any CPU + {B508A70A-5E4D-4688-B97E-D97BED8266A0}.Debug|x86.ActiveCfg = Debug|Any CPU + {B508A70A-5E4D-4688-B97E-D97BED8266A0}.Debug|x86.Build.0 = Debug|Any CPU {B508A70A-5E4D-4688-B97E-D97BED8266A0}.Release|Any CPU.ActiveCfg = Release|Any CPU {B508A70A-5E4D-4688-B97E-D97BED8266A0}.Release|Any CPU.Build.0 = Release|Any CPU + {B508A70A-5E4D-4688-B97E-D97BED8266A0}.Release|x64.ActiveCfg = Release|Any CPU + {B508A70A-5E4D-4688-B97E-D97BED8266A0}.Release|x64.Build.0 = Release|Any CPU + {B508A70A-5E4D-4688-B97E-D97BED8266A0}.Release|x86.ActiveCfg = Release|Any CPU + {B508A70A-5E4D-4688-B97E-D97BED8266A0}.Release|x86.Build.0 = Release|Any CPU {BC9D6A49-1914-40EE-B7B5-0DE7004DC02D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {BC9D6A49-1914-40EE-B7B5-0DE7004DC02D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BC9D6A49-1914-40EE-B7B5-0DE7004DC02D}.Debug|x64.ActiveCfg = Debug|Any CPU + {BC9D6A49-1914-40EE-B7B5-0DE7004DC02D}.Debug|x64.Build.0 = Debug|Any CPU + {BC9D6A49-1914-40EE-B7B5-0DE7004DC02D}.Debug|x86.ActiveCfg = Debug|Any CPU + {BC9D6A49-1914-40EE-B7B5-0DE7004DC02D}.Debug|x86.Build.0 = Debug|Any CPU {BC9D6A49-1914-40EE-B7B5-0DE7004DC02D}.Release|Any CPU.ActiveCfg = Release|Any CPU {BC9D6A49-1914-40EE-B7B5-0DE7004DC02D}.Release|Any CPU.Build.0 = Release|Any CPU + {BC9D6A49-1914-40EE-B7B5-0DE7004DC02D}.Release|x64.ActiveCfg = Release|Any CPU + {BC9D6A49-1914-40EE-B7B5-0DE7004DC02D}.Release|x64.Build.0 = Release|Any CPU + {BC9D6A49-1914-40EE-B7B5-0DE7004DC02D}.Release|x86.ActiveCfg = Release|Any CPU + {BC9D6A49-1914-40EE-B7B5-0DE7004DC02D}.Release|x86.Build.0 = Release|Any CPU {995B6A72-F478-4F2D-A6F5-EE12659C878E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {995B6A72-F478-4F2D-A6F5-EE12659C878E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {995B6A72-F478-4F2D-A6F5-EE12659C878E}.Debug|x64.ActiveCfg = Debug|Any CPU + {995B6A72-F478-4F2D-A6F5-EE12659C878E}.Debug|x64.Build.0 = Debug|Any CPU + {995B6A72-F478-4F2D-A6F5-EE12659C878E}.Debug|x86.ActiveCfg = Debug|Any CPU + {995B6A72-F478-4F2D-A6F5-EE12659C878E}.Debug|x86.Build.0 = Debug|Any CPU {995B6A72-F478-4F2D-A6F5-EE12659C878E}.Release|Any CPU.ActiveCfg = Release|Any CPU {995B6A72-F478-4F2D-A6F5-EE12659C878E}.Release|Any CPU.Build.0 = Release|Any CPU + {995B6A72-F478-4F2D-A6F5-EE12659C878E}.Release|x64.ActiveCfg = Release|Any CPU + {995B6A72-F478-4F2D-A6F5-EE12659C878E}.Release|x64.Build.0 = Release|Any CPU + {995B6A72-F478-4F2D-A6F5-EE12659C878E}.Release|x86.ActiveCfg = Release|Any CPU + {995B6A72-F478-4F2D-A6F5-EE12659C878E}.Release|x86.Build.0 = Release|Any CPU {4C87BA8C-DB7C-4924-AC6B-56121137E167}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {4C87BA8C-DB7C-4924-AC6B-56121137E167}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4C87BA8C-DB7C-4924-AC6B-56121137E167}.Debug|x64.ActiveCfg = Debug|Any CPU + {4C87BA8C-DB7C-4924-AC6B-56121137E167}.Debug|x64.Build.0 = Debug|Any CPU + {4C87BA8C-DB7C-4924-AC6B-56121137E167}.Debug|x86.ActiveCfg = Debug|Any CPU + {4C87BA8C-DB7C-4924-AC6B-56121137E167}.Debug|x86.Build.0 = Debug|Any CPU {4C87BA8C-DB7C-4924-AC6B-56121137E167}.Release|Any CPU.ActiveCfg = Release|Any CPU {4C87BA8C-DB7C-4924-AC6B-56121137E167}.Release|Any CPU.Build.0 = Release|Any CPU + {4C87BA8C-DB7C-4924-AC6B-56121137E167}.Release|x64.ActiveCfg = Release|Any CPU + {4C87BA8C-DB7C-4924-AC6B-56121137E167}.Release|x64.Build.0 = Release|Any CPU + {4C87BA8C-DB7C-4924-AC6B-56121137E167}.Release|x86.ActiveCfg = Release|Any CPU + {4C87BA8C-DB7C-4924-AC6B-56121137E167}.Release|x86.Build.0 = Release|Any CPU {D52724F2-4F80-4CF5-878B-5978F0A95F3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {D52724F2-4F80-4CF5-878B-5978F0A95F3A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D52724F2-4F80-4CF5-878B-5978F0A95F3A}.Debug|x64.ActiveCfg = Debug|Any CPU + {D52724F2-4F80-4CF5-878B-5978F0A95F3A}.Debug|x64.Build.0 = Debug|Any CPU + {D52724F2-4F80-4CF5-878B-5978F0A95F3A}.Debug|x86.ActiveCfg = Debug|Any CPU + {D52724F2-4F80-4CF5-878B-5978F0A95F3A}.Debug|x86.Build.0 = Debug|Any CPU {D52724F2-4F80-4CF5-878B-5978F0A95F3A}.Release|Any CPU.ActiveCfg = Release|Any CPU {D52724F2-4F80-4CF5-878B-5978F0A95F3A}.Release|Any CPU.Build.0 = Release|Any CPU + {D52724F2-4F80-4CF5-878B-5978F0A95F3A}.Release|x64.ActiveCfg = Release|Any CPU + {D52724F2-4F80-4CF5-878B-5978F0A95F3A}.Release|x64.Build.0 = Release|Any CPU + {D52724F2-4F80-4CF5-878B-5978F0A95F3A}.Release|x86.ActiveCfg = Release|Any CPU + {D52724F2-4F80-4CF5-878B-5978F0A95F3A}.Release|x86.Build.0 = Release|Any CPU {B7AA3403-A6E0-4300-9723-DA06959C1D91}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {B7AA3403-A6E0-4300-9723-DA06959C1D91}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B7AA3403-A6E0-4300-9723-DA06959C1D91}.Debug|x64.ActiveCfg = Debug|Any CPU + {B7AA3403-A6E0-4300-9723-DA06959C1D91}.Debug|x64.Build.0 = Debug|Any CPU + {B7AA3403-A6E0-4300-9723-DA06959C1D91}.Debug|x86.ActiveCfg = Debug|Any CPU + {B7AA3403-A6E0-4300-9723-DA06959C1D91}.Debug|x86.Build.0 = Debug|Any CPU {B7AA3403-A6E0-4300-9723-DA06959C1D91}.Release|Any CPU.ActiveCfg = Release|Any CPU {B7AA3403-A6E0-4300-9723-DA06959C1D91}.Release|Any CPU.Build.0 = Release|Any CPU + {B7AA3403-A6E0-4300-9723-DA06959C1D91}.Release|x64.ActiveCfg = Release|Any CPU + {B7AA3403-A6E0-4300-9723-DA06959C1D91}.Release|x64.Build.0 = Release|Any CPU + {B7AA3403-A6E0-4300-9723-DA06959C1D91}.Release|x86.ActiveCfg = Release|Any CPU + {B7AA3403-A6E0-4300-9723-DA06959C1D91}.Release|x86.Build.0 = Release|Any CPU {63DA51B2-C35C-4E1A-BD04-1AB1F66C4A70}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {63DA51B2-C35C-4E1A-BD04-1AB1F66C4A70}.Debug|Any CPU.Build.0 = Debug|Any CPU + {63DA51B2-C35C-4E1A-BD04-1AB1F66C4A70}.Debug|x64.ActiveCfg = Debug|Any CPU + {63DA51B2-C35C-4E1A-BD04-1AB1F66C4A70}.Debug|x64.Build.0 = Debug|Any CPU + {63DA51B2-C35C-4E1A-BD04-1AB1F66C4A70}.Debug|x86.ActiveCfg = Debug|Any CPU + {63DA51B2-C35C-4E1A-BD04-1AB1F66C4A70}.Debug|x86.Build.0 = Debug|Any CPU {63DA51B2-C35C-4E1A-BD04-1AB1F66C4A70}.Release|Any CPU.ActiveCfg = Release|Any CPU {63DA51B2-C35C-4E1A-BD04-1AB1F66C4A70}.Release|Any CPU.Build.0 = Release|Any CPU + {63DA51B2-C35C-4E1A-BD04-1AB1F66C4A70}.Release|x64.ActiveCfg = Release|Any CPU + {63DA51B2-C35C-4E1A-BD04-1AB1F66C4A70}.Release|x64.Build.0 = Release|Any CPU + {63DA51B2-C35C-4E1A-BD04-1AB1F66C4A70}.Release|x86.ActiveCfg = Release|Any CPU + {63DA51B2-C35C-4E1A-BD04-1AB1F66C4A70}.Release|x86.Build.0 = Release|Any CPU {27DD8F93-86FA-4AA8-AEB0-00F6335A4619}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {27DD8F93-86FA-4AA8-AEB0-00F6335A4619}.Debug|Any CPU.Build.0 = Debug|Any CPU + {27DD8F93-86FA-4AA8-AEB0-00F6335A4619}.Debug|x64.ActiveCfg = Debug|Any CPU + {27DD8F93-86FA-4AA8-AEB0-00F6335A4619}.Debug|x64.Build.0 = Debug|Any CPU + {27DD8F93-86FA-4AA8-AEB0-00F6335A4619}.Debug|x86.ActiveCfg = Debug|Any CPU + {27DD8F93-86FA-4AA8-AEB0-00F6335A4619}.Debug|x86.Build.0 = Debug|Any CPU {27DD8F93-86FA-4AA8-AEB0-00F6335A4619}.Release|Any CPU.ActiveCfg = Release|Any CPU {27DD8F93-86FA-4AA8-AEB0-00F6335A4619}.Release|Any CPU.Build.0 = Release|Any CPU + {27DD8F93-86FA-4AA8-AEB0-00F6335A4619}.Release|x64.ActiveCfg = Release|Any CPU + {27DD8F93-86FA-4AA8-AEB0-00F6335A4619}.Release|x64.Build.0 = Release|Any CPU + {27DD8F93-86FA-4AA8-AEB0-00F6335A4619}.Release|x86.ActiveCfg = Release|Any CPU + {27DD8F93-86FA-4AA8-AEB0-00F6335A4619}.Release|x86.Build.0 = Release|Any CPU {7040FAB6-5FD1-4D37-9DEB-1529802E2D34}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {7040FAB6-5FD1-4D37-9DEB-1529802E2D34}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7040FAB6-5FD1-4D37-9DEB-1529802E2D34}.Debug|x64.ActiveCfg = Debug|Any CPU + {7040FAB6-5FD1-4D37-9DEB-1529802E2D34}.Debug|x64.Build.0 = Debug|Any CPU + {7040FAB6-5FD1-4D37-9DEB-1529802E2D34}.Debug|x86.ActiveCfg = Debug|Any CPU + {7040FAB6-5FD1-4D37-9DEB-1529802E2D34}.Debug|x86.Build.0 = Debug|Any CPU {7040FAB6-5FD1-4D37-9DEB-1529802E2D34}.Release|Any CPU.ActiveCfg = Release|Any CPU {7040FAB6-5FD1-4D37-9DEB-1529802E2D34}.Release|Any CPU.Build.0 = Release|Any CPU + {7040FAB6-5FD1-4D37-9DEB-1529802E2D34}.Release|x64.ActiveCfg = Release|Any CPU + {7040FAB6-5FD1-4D37-9DEB-1529802E2D34}.Release|x64.Build.0 = Release|Any CPU + {7040FAB6-5FD1-4D37-9DEB-1529802E2D34}.Release|x86.ActiveCfg = Release|Any CPU + {7040FAB6-5FD1-4D37-9DEB-1529802E2D34}.Release|x86.Build.0 = Release|Any CPU {1D67F157-3201-49D4-AA58-40716D7D00EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {1D67F157-3201-49D4-AA58-40716D7D00EC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1D67F157-3201-49D4-AA58-40716D7D00EC}.Debug|x64.ActiveCfg = Debug|Any CPU + {1D67F157-3201-49D4-AA58-40716D7D00EC}.Debug|x64.Build.0 = Debug|Any CPU + {1D67F157-3201-49D4-AA58-40716D7D00EC}.Debug|x86.ActiveCfg = Debug|Any CPU + {1D67F157-3201-49D4-AA58-40716D7D00EC}.Debug|x86.Build.0 = Debug|Any CPU {1D67F157-3201-49D4-AA58-40716D7D00EC}.Release|Any CPU.ActiveCfg = Release|Any CPU {1D67F157-3201-49D4-AA58-40716D7D00EC}.Release|Any CPU.Build.0 = Release|Any CPU + {1D67F157-3201-49D4-AA58-40716D7D00EC}.Release|x64.ActiveCfg = Release|Any CPU + {1D67F157-3201-49D4-AA58-40716D7D00EC}.Release|x64.Build.0 = Release|Any CPU + {1D67F157-3201-49D4-AA58-40716D7D00EC}.Release|x86.ActiveCfg = Release|Any CPU + {1D67F157-3201-49D4-AA58-40716D7D00EC}.Release|x86.Build.0 = Release|Any CPU {D9094DA2-3D7F-4613-9569-CCF71629AA1D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {D9094DA2-3D7F-4613-9569-CCF71629AA1D}.Debug|Any CPU.Build.0 = Debug|Any CPU {D9094DA2-3D7F-4613-9569-CCF71629AA1D}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {D9094DA2-3D7F-4613-9569-CCF71629AA1D}.Debug|x64.ActiveCfg = Debug|Any CPU + {D9094DA2-3D7F-4613-9569-CCF71629AA1D}.Debug|x64.Build.0 = Debug|Any CPU + {D9094DA2-3D7F-4613-9569-CCF71629AA1D}.Debug|x86.ActiveCfg = Debug|Any CPU + {D9094DA2-3D7F-4613-9569-CCF71629AA1D}.Debug|x86.Build.0 = Debug|Any CPU {D9094DA2-3D7F-4613-9569-CCF71629AA1D}.Release|Any CPU.ActiveCfg = Release|Any CPU {D9094DA2-3D7F-4613-9569-CCF71629AA1D}.Release|Any CPU.Build.0 = Release|Any CPU {D9094DA2-3D7F-4613-9569-CCF71629AA1D}.Release|Any CPU.Deploy.0 = Release|Any CPU + {D9094DA2-3D7F-4613-9569-CCF71629AA1D}.Release|x64.ActiveCfg = Release|Any CPU + {D9094DA2-3D7F-4613-9569-CCF71629AA1D}.Release|x64.Build.0 = Release|Any CPU + {D9094DA2-3D7F-4613-9569-CCF71629AA1D}.Release|x86.ActiveCfg = Release|Any CPU + {D9094DA2-3D7F-4613-9569-CCF71629AA1D}.Release|x86.Build.0 = Release|Any CPU {DBAB5271-347E-4C0E-B326-045723583A07}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {DBAB5271-347E-4C0E-B326-045723583A07}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DBAB5271-347E-4C0E-B326-045723583A07}.Debug|x64.ActiveCfg = Debug|Any CPU + {DBAB5271-347E-4C0E-B326-045723583A07}.Debug|x64.Build.0 = Debug|Any CPU + {DBAB5271-347E-4C0E-B326-045723583A07}.Debug|x86.ActiveCfg = Debug|Any CPU + {DBAB5271-347E-4C0E-B326-045723583A07}.Debug|x86.Build.0 = Debug|Any CPU {DBAB5271-347E-4C0E-B326-045723583A07}.Release|Any CPU.ActiveCfg = Release|Any CPU {DBAB5271-347E-4C0E-B326-045723583A07}.Release|Any CPU.Build.0 = Release|Any CPU + {DBAB5271-347E-4C0E-B326-045723583A07}.Release|x64.ActiveCfg = Release|Any CPU + {DBAB5271-347E-4C0E-B326-045723583A07}.Release|x64.Build.0 = Release|Any CPU + {DBAB5271-347E-4C0E-B326-045723583A07}.Release|x86.ActiveCfg = Release|Any CPU + {DBAB5271-347E-4C0E-B326-045723583A07}.Release|x86.Build.0 = Release|Any CPU {D4350725-949D-4F7B-ABED-E4F493952D14}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {D4350725-949D-4F7B-ABED-E4F493952D14}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D4350725-949D-4F7B-ABED-E4F493952D14}.Debug|x64.ActiveCfg = Debug|Any CPU + {D4350725-949D-4F7B-ABED-E4F493952D14}.Debug|x64.Build.0 = Debug|Any CPU + {D4350725-949D-4F7B-ABED-E4F493952D14}.Debug|x86.ActiveCfg = Debug|Any CPU + {D4350725-949D-4F7B-ABED-E4F493952D14}.Debug|x86.Build.0 = Debug|Any CPU {D4350725-949D-4F7B-ABED-E4F493952D14}.Release|Any CPU.ActiveCfg = Release|Any CPU {D4350725-949D-4F7B-ABED-E4F493952D14}.Release|Any CPU.Build.0 = Release|Any CPU + {D4350725-949D-4F7B-ABED-E4F493952D14}.Release|x64.ActiveCfg = Release|Any CPU + {D4350725-949D-4F7B-ABED-E4F493952D14}.Release|x64.Build.0 = Release|Any CPU + {D4350725-949D-4F7B-ABED-E4F493952D14}.Release|x86.ActiveCfg = Release|Any CPU + {D4350725-949D-4F7B-ABED-E4F493952D14}.Release|x86.Build.0 = Release|Any CPU {2A387F0F-3DBE-4A6C-BEB5-60CA6CE6F4B4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {2A387F0F-3DBE-4A6C-BEB5-60CA6CE6F4B4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2A387F0F-3DBE-4A6C-BEB5-60CA6CE6F4B4}.Debug|x64.ActiveCfg = Debug|Any CPU + {2A387F0F-3DBE-4A6C-BEB5-60CA6CE6F4B4}.Debug|x64.Build.0 = Debug|Any CPU + {2A387F0F-3DBE-4A6C-BEB5-60CA6CE6F4B4}.Debug|x86.ActiveCfg = Debug|Any CPU + {2A387F0F-3DBE-4A6C-BEB5-60CA6CE6F4B4}.Debug|x86.Build.0 = Debug|Any CPU {2A387F0F-3DBE-4A6C-BEB5-60CA6CE6F4B4}.Release|Any CPU.ActiveCfg = Release|Any CPU {2A387F0F-3DBE-4A6C-BEB5-60CA6CE6F4B4}.Release|Any CPU.Build.0 = Release|Any CPU + {2A387F0F-3DBE-4A6C-BEB5-60CA6CE6F4B4}.Release|x64.ActiveCfg = Release|Any CPU + {2A387F0F-3DBE-4A6C-BEB5-60CA6CE6F4B4}.Release|x64.Build.0 = Release|Any CPU + {2A387F0F-3DBE-4A6C-BEB5-60CA6CE6F4B4}.Release|x86.ActiveCfg = Release|Any CPU + {2A387F0F-3DBE-4A6C-BEB5-60CA6CE6F4B4}.Release|x86.Build.0 = Release|Any CPU {E0CEF24B-9991-4BE0-8FD6-4BC464A8D59B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {E0CEF24B-9991-4BE0-8FD6-4BC464A8D59B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E0CEF24B-9991-4BE0-8FD6-4BC464A8D59B}.Debug|x64.ActiveCfg = Debug|Any CPU + {E0CEF24B-9991-4BE0-8FD6-4BC464A8D59B}.Debug|x64.Build.0 = Debug|Any CPU + {E0CEF24B-9991-4BE0-8FD6-4BC464A8D59B}.Debug|x86.ActiveCfg = Debug|Any CPU + {E0CEF24B-9991-4BE0-8FD6-4BC464A8D59B}.Debug|x86.Build.0 = Debug|Any CPU {E0CEF24B-9991-4BE0-8FD6-4BC464A8D59B}.Release|Any CPU.ActiveCfg = Release|Any CPU {E0CEF24B-9991-4BE0-8FD6-4BC464A8D59B}.Release|Any CPU.Build.0 = Release|Any CPU + {E0CEF24B-9991-4BE0-8FD6-4BC464A8D59B}.Release|x64.ActiveCfg = Release|Any CPU + {E0CEF24B-9991-4BE0-8FD6-4BC464A8D59B}.Release|x64.Build.0 = Release|Any CPU + {E0CEF24B-9991-4BE0-8FD6-4BC464A8D59B}.Release|x86.ActiveCfg = Release|Any CPU + {E0CEF24B-9991-4BE0-8FD6-4BC464A8D59B}.Release|x86.Build.0 = Release|Any CPU {CADA0B60-3175-4471-814F-635D701BBD44}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {CADA0B60-3175-4471-814F-635D701BBD44}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CADA0B60-3175-4471-814F-635D701BBD44}.Debug|x64.ActiveCfg = Debug|Any CPU + {CADA0B60-3175-4471-814F-635D701BBD44}.Debug|x64.Build.0 = Debug|Any CPU + {CADA0B60-3175-4471-814F-635D701BBD44}.Debug|x86.ActiveCfg = Debug|Any CPU + {CADA0B60-3175-4471-814F-635D701BBD44}.Debug|x86.Build.0 = Debug|Any CPU {CADA0B60-3175-4471-814F-635D701BBD44}.Release|Any CPU.ActiveCfg = Release|Any CPU {CADA0B60-3175-4471-814F-635D701BBD44}.Release|Any CPU.Build.0 = Release|Any CPU + {CADA0B60-3175-4471-814F-635D701BBD44}.Release|x64.ActiveCfg = Release|Any CPU + {CADA0B60-3175-4471-814F-635D701BBD44}.Release|x64.Build.0 = Release|Any CPU + {CADA0B60-3175-4471-814F-635D701BBD44}.Release|x86.ActiveCfg = Release|Any CPU + {CADA0B60-3175-4471-814F-635D701BBD44}.Release|x86.Build.0 = Release|Any CPU + {7CC730A2-E469-4A6E-87E1-BE00E6F208C8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7CC730A2-E469-4A6E-87E1-BE00E6F208C8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7CC730A2-E469-4A6E-87E1-BE00E6F208C8}.Debug|x64.ActiveCfg = Debug|Any CPU + {7CC730A2-E469-4A6E-87E1-BE00E6F208C8}.Debug|x64.Build.0 = Debug|Any CPU + {7CC730A2-E469-4A6E-87E1-BE00E6F208C8}.Debug|x86.ActiveCfg = Debug|Any CPU + {7CC730A2-E469-4A6E-87E1-BE00E6F208C8}.Debug|x86.Build.0 = Debug|Any CPU + {7CC730A2-E469-4A6E-87E1-BE00E6F208C8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7CC730A2-E469-4A6E-87E1-BE00E6F208C8}.Release|Any CPU.Build.0 = Release|Any CPU + {7CC730A2-E469-4A6E-87E1-BE00E6F208C8}.Release|x64.ActiveCfg = Release|Any CPU + {7CC730A2-E469-4A6E-87E1-BE00E6F208C8}.Release|x64.Build.0 = Release|Any CPU + {7CC730A2-E469-4A6E-87E1-BE00E6F208C8}.Release|x86.ActiveCfg = Release|Any CPU + {7CC730A2-E469-4A6E-87E1-BE00E6F208C8}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -184,6 +379,7 @@ Global {2A387F0F-3DBE-4A6C-BEB5-60CA6CE6F4B4} = {7FD9E644-B760-47D7-A4FC-61199AFE9D62} {E0CEF24B-9991-4BE0-8FD6-4BC464A8D59B} = {DBF1C119-C96C-4DD3-810B-52451603475C} {CADA0B60-3175-4471-814F-635D701BBD44} = {5073EAFD-FF7B-4C4E-84D2-3AA38A91DE73} + {7CC730A2-E469-4A6E-87E1-BE00E6F208C8} = {DBF1C119-C96C-4DD3-810B-52451603475C} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {2DABD41C-B083-429E-AE1E-971CFF8DC199} diff --git a/Directory.Packages.props b/Directory.Packages.props index 72cb661f..1afbec49 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -3,6 +3,8 @@ + + diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj index 9fb6a1c6..d6b757f3 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj +++ b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj @@ -1,5 +1,8 @@  + + + net9.0-android $(TargetFrameworks);net9.0-ios;net9.0-maccatalyst @@ -24,30 +27,12 @@ - - - - - - - - - - - - - - - + - - - - @@ -58,6 +43,7 @@ + @@ -65,11 +51,7 @@ - - - <_VisualStudioTestRunnerFiles Include="@(PackagingOutputs)" Condition="$([System.String]::Copy('%(PackagingOutputs.FullPath)').Contains('xunit.runner.visualstudio'))" /> - - - + + diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Android/AndroidManifest.xml b/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Android/AndroidManifest.xml deleted file mode 100644 index e9937ad7..00000000 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Android/AndroidManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Android/MainActivity.cs b/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Android/MainActivity.cs deleted file mode 100644 index 5e7abdbb..00000000 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Android/MainActivity.cs +++ /dev/null @@ -1,10 +0,0 @@ -using Android.App; -using Android.Content.PM; -using Android.OS; - -namespace DeviceTestingKitApp.DeviceTests; - -[Activity(Name = "com.companyname.devicetestingkitapp.devicetests.MainActivity", Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] -public class MainActivity : MauiAppCompatActivity -{ -} diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Android/Resources/values/colors.xml b/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Android/Resources/values/colors.xml deleted file mode 100644 index c04d7492..00000000 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Android/Resources/values/colors.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - #512BD4 - #2B0B98 - #2B0B98 - \ No newline at end of file diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/MacCatalyst/AppDelegate.cs b/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/MacCatalyst/AppDelegate.cs deleted file mode 100644 index cf1f4920..00000000 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/MacCatalyst/AppDelegate.cs +++ /dev/null @@ -1,9 +0,0 @@ -using Foundation; - -namespace DeviceTestingKitApp.DeviceTests; - -[Register(nameof(AppDelegate))] -partial class AppDelegate : MauiUIApplicationDelegate -{ - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); -} diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/App.xaml b/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/App.xaml deleted file mode 100644 index 8ae0942d..00000000 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/App.xaml +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/iOS/AppDelegate.cs b/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/iOS/AppDelegate.cs deleted file mode 100644 index cf1f4920..00000000 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/iOS/AppDelegate.cs +++ /dev/null @@ -1,9 +0,0 @@ -using Foundation; - -namespace DeviceTestingKitApp.DeviceTests; - -[Register(nameof(AppDelegate))] -partial class AppDelegate : MauiUIApplicationDelegate -{ - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); -} diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Resources/Images/dotnet_bot.svg b/sample/test/DeviceTestingKitApp.DeviceTests/Resources/Images/dotnet_bot.svg deleted file mode 100644 index abfaff26..00000000 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Resources/Images/dotnet_bot.svg +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Resources/Raw/SampleMauiApp.xunit.runner.json b/sample/test/DeviceTestingKitApp.DeviceTests/xunit.runner.json similarity index 100% rename from sample/test/DeviceTestingKitApp.DeviceTests/Resources/Raw/SampleMauiApp.xunit.runner.json rename to sample/test/DeviceTestingKitApp.DeviceTests/xunit.runner.json diff --git a/src/DeviceRunners.VisualRunners.Maui.Bootstrap/DeviceRunners.VisualRunners.Maui.Bootstrap.csproj b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/DeviceRunners.VisualRunners.Maui.Bootstrap.csproj new file mode 100644 index 00000000..08378229 --- /dev/null +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/DeviceRunners.VisualRunners.Maui.Bootstrap.csproj @@ -0,0 +1,16 @@ + + + + netstandard2.0 + latest + enable + false + + + + + + + + + \ No newline at end of file diff --git a/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.props b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.props new file mode 100644 index 00000000..0c98d167 --- /dev/null +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.props @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.targets b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.targets new file mode 100644 index 00000000..78b7e53a --- /dev/null +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.targets @@ -0,0 +1,186 @@ + + + + + + + + + + + <_DeviceRunnersTemplateFile Include="$(MSBuildThisFileDirectory)templates/Platforms/Android/MainActivity.cs.template"> + Platforms/Android/MainActivity.cs + android + Compile + + <_DeviceRunnersTemplateFile Include="$(MSBuildThisFileDirectory)templates/Platforms/Android/MainApplication.cs.template"> + Platforms/Android/MainApplication.cs + android + Compile + + + + <_DeviceRunnersTemplateFile Include="$(MSBuildThisFileDirectory)templates/Platforms/iOS/Program.cs.template"> + Platforms/iOS/Program.cs + ios + Compile + + <_DeviceRunnersTemplateFile Include="$(MSBuildThisFileDirectory)templates/Platforms/iOS/AppDelegate.cs.template"> + Platforms/iOS/AppDelegate.cs + ios + Compile + + <_DeviceRunnersTemplateFile Include="$(MSBuildThisFileDirectory)templates/Platforms/iOS/Info.plist.template"> + Platforms/iOS/Info.plist + ios + PartialAppManifest + + + + <_DeviceRunnersTemplateFile Include="$(MSBuildThisFileDirectory)templates/Platforms/MacCatalyst/Program.cs.template"> + Platforms/MacCatalyst/Program.cs + maccatalyst + Compile + + <_DeviceRunnersTemplateFile Include="$(MSBuildThisFileDirectory)templates/Platforms/MacCatalyst/AppDelegate.cs.template"> + Platforms/MacCatalyst/AppDelegate.cs + maccatalyst + Compile + + <_DeviceRunnersTemplateFile Include="$(MSBuildThisFileDirectory)templates/Platforms/MacCatalyst/Info.plist.template"> + Platforms/MacCatalyst/Info.plist + maccatalyst + PartialAppManifest + + + + <_DeviceRunnersTemplateFile Include="$(MSBuildThisFileDirectory)templates/Platforms/Windows/App.xaml.cs.template"> + Platforms/Windows/App.xaml.cs + windows + Compile + + <_DeviceRunnersTemplateFile Include="$(MSBuildThisFileDirectory)templates/Platforms/Windows/App.xaml.template"> + Platforms/Windows/App.xaml + windows + ApplicationDefinition + Generator=MSBuild:Compile;XamlRuntime=$(DefaultXamlRuntime) + + <_DeviceRunnersTemplateFile Include="$(MSBuildThisFileDirectory)templates/Platforms/Windows/app.manifest.template"> + Platforms/Windows/app.manifest + windows + ApplicationManifest + + <_DeviceRunnersTemplateFile Include="$(MSBuildThisFileDirectory)templates/Platforms/Windows/Package.appxmanifest.template"> + Platforms/Windows/Package.appxmanifest + windows + AppxManifest + + + + + + + + _DeviceRunnersProcessAllTemplates; + $(PrepareForBuildDependsOn); + + + _DeviceRunnersProcessAllTemplates; + $(CoreCompileDependsOn); + + + + + + + + + + + <_DeviceRunnersIntermediateOutputPath>$(IntermediateOutputPath)bootstrap/%(_DeviceRunnersTemplateFile.Destination) + + + + + + <_TemplateContent>$([System.IO.File]::ReadAllText('%(_DeviceRunnersTemplateFile.Identity)')) + <_ProcessedContent>$(_TemplateContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) + + + + + + + + + + + + + + + + + + <_VisualStudioTestRunnerFiles Include="@(PackagingOutputs)" + Condition="$([System.String]::Copy('%(PackagingOutputs.FullPath)').Contains('xunit.runner.visualstudio'))" /> + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Android/MainActivity.cs.template b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Android/MainActivity.cs.template new file mode 100644 index 00000000..2b6719b8 --- /dev/null +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Android/MainActivity.cs.template @@ -0,0 +1,10 @@ +using Android.App; +using Android.Content.PM; +using Android.OS; + +namespace {{RootNamespace}}; + +[Activity(Name = "{{ApplicationId}}.MainActivity", Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] +public class MainActivity : MauiAppCompatActivity +{ +} \ No newline at end of file diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Android/MainApplication.cs b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Android/MainApplication.cs.template similarity index 66% rename from sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Android/MainApplication.cs rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Android/MainApplication.cs.template index 0c56902a..70e8d2e3 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Android/MainApplication.cs +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Android/MainApplication.cs.template @@ -1,9 +1,9 @@ -using Android.App; +using Android.App; using Android.Runtime; -namespace DeviceTestingKitApp.DeviceTests; +namespace {{RootNamespace}}; -[Application] +[Application(Icon = "@mipmap/appicon", RoundIcon = "@mipmap/appicon_round")] public class MainApplication : MauiApplication { public MainApplication(IntPtr handle, JniHandleOwnership ownership) @@ -12,4 +12,4 @@ public MainApplication(IntPtr handle, JniHandleOwnership ownership) } protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); -} +} \ No newline at end of file diff --git a/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/MacCatalyst/AppDelegate.cs.template b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/MacCatalyst/AppDelegate.cs.template new file mode 100644 index 00000000..73cf454c --- /dev/null +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/MacCatalyst/AppDelegate.cs.template @@ -0,0 +1,9 @@ +using Foundation; + +namespace {{RootNamespace}}; + +[Register("AppDelegate")] +public class AppDelegate : MauiUIApplicationDelegate +{ + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); +} \ No newline at end of file diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/MacCatalyst/Info.plist b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/MacCatalyst/Info.plist.template similarity index 99% rename from sample/test/DeviceTestingKitApp.DeviceTests/Platforms/MacCatalyst/Info.plist rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/MacCatalyst/Info.plist.template index c96dd0a2..0e393913 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/MacCatalyst/Info.plist +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/MacCatalyst/Info.plist.template @@ -27,4 +27,4 @@ XSAppIconAssets Assets.xcassets/appicon.appiconset - + \ No newline at end of file diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/MacCatalyst/Program.cs b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/MacCatalyst/Program.cs.template similarity index 82% rename from sample/test/DeviceTestingKitApp.DeviceTests/Platforms/MacCatalyst/Program.cs rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/MacCatalyst/Program.cs.template index 2da80003..44ae7056 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/MacCatalyst/Program.cs +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/MacCatalyst/Program.cs.template @@ -1,6 +1,7 @@ -using UIKit; +using ObjCRuntime; +using UIKit; -namespace DeviceTestingKitApp.DeviceTests; +namespace {{RootNamespace}}; public class Program { @@ -11,4 +12,4 @@ static void Main(string[] args) // you can specify it here. UIApplication.Main(args, null, typeof(AppDelegate)); } -} +} \ No newline at end of file diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/App.xaml.cs b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/App.xaml.cs.template similarity index 88% rename from sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/App.xaml.cs rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/App.xaml.cs.template index c1161730..674bea99 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/App.xaml.cs +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/App.xaml.cs.template @@ -1,9 +1,9 @@ -using Microsoft.UI.Xaml; +using Microsoft.UI.Xaml; // To learn more about WinUI, the WinUI project structure, // and more about our project templates, see: http://aka.ms/winui-project-info. -namespace DeviceTestingKitApp.DeviceTests.WinUI; +namespace {{RootNamespace}}.WinUI; /// /// Provides application-specific behavior to supplement the default Application class. @@ -20,5 +20,4 @@ public App() } protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); -} - +} \ No newline at end of file diff --git a/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/App.xaml.template b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/App.xaml.template new file mode 100644 index 00000000..b5a7e07e --- /dev/null +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/App.xaml.template @@ -0,0 +1,8 @@ + + + \ No newline at end of file diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/Package.appxmanifest b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/Package.appxmanifest.template similarity index 84% rename from sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/Package.appxmanifest rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/Package.appxmanifest.template index 2a752e77..1df81f71 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/Package.appxmanifest +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/Package.appxmanifest.template @@ -1,4 +1,4 @@ - + - + - $placeholder$ + {{ApplicationTitle}} User Name $placeholder$.png @@ -28,8 +28,8 @@ @@ -43,4 +43,4 @@ - + \ No newline at end of file diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/app.manifest b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/app.manifest.template similarity index 86% rename from sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/app.manifest rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/app.manifest.template index 194e4800..42812508 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/app.manifest +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/app.manifest.template @@ -1,6 +1,6 @@ - + @@ -12,4 +12,4 @@ PerMonitorV2, PerMonitor - + \ No newline at end of file diff --git a/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/iOS/AppDelegate.cs.template b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/iOS/AppDelegate.cs.template new file mode 100644 index 00000000..73cf454c --- /dev/null +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/iOS/AppDelegate.cs.template @@ -0,0 +1,9 @@ +using Foundation; + +namespace {{RootNamespace}}; + +[Register("AppDelegate")] +public class AppDelegate : MauiUIApplicationDelegate +{ + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); +} \ No newline at end of file diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/iOS/Info.plist b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/iOS/Info.plist.template similarity index 99% rename from sample/test/DeviceTestingKitApp.DeviceTests/Platforms/iOS/Info.plist rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/iOS/Info.plist.template index 0004a4fd..dd4db58c 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/iOS/Info.plist +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/iOS/Info.plist.template @@ -29,4 +29,4 @@ XSAppIconAssets Assets.xcassets/appicon.appiconset - + \ No newline at end of file diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/iOS/Program.cs b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/iOS/Program.cs.template similarity index 81% rename from sample/test/DeviceTestingKitApp.DeviceTests/Platforms/iOS/Program.cs rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/iOS/Program.cs.template index 6338a133..44ae7056 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/iOS/Program.cs +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/iOS/Program.cs.template @@ -1,7 +1,7 @@ -using ObjCRuntime; +using ObjCRuntime; using UIKit; -namespace DeviceTestingKitApp.DeviceTests; +namespace {{RootNamespace}}; public class Program { @@ -12,4 +12,4 @@ static void Main(string[] args) // you can specify it here. UIApplication.Main(args, null, typeof(AppDelegate)); } -} +} \ No newline at end of file diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Resources/AppIcon/appicon.svg b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Resources/AppIcon/appicon.svg similarity index 100% rename from sample/test/DeviceTestingKitApp.DeviceTests/Resources/AppIcon/appicon.svg rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Resources/AppIcon/appicon.svg diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Resources/AppIcon/appiconfg.svg b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Resources/AppIcon/appiconfg.svg similarity index 100% rename from sample/test/DeviceTestingKitApp.DeviceTests/Resources/AppIcon/appiconfg.svg rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Resources/AppIcon/appiconfg.svg diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Resources/Splash/splash.svg b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Resources/Splash/splash.svg similarity index 100% rename from sample/test/DeviceTestingKitApp.DeviceTests/Resources/Splash/splash.svg rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Resources/Splash/splash.svg