From 9485b1499115276e658a7d3b24c7da7ae6f69a6b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Jun 2025 19:09:31 +0000 Subject: [PATCH 01/27] Initial plan From 5b4a5f128712315c95214e3f5a4c076901cc3d08 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Jun 2025 19:23:10 +0000 Subject: [PATCH 02/27] Create DeviceRunners source generator with basic functionality Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com> --- DeviceRunners.sln | 225 ++++++++++++++ Directory.Packages.props | 2 + .../DeviceRunners.SourceGenerators.csproj | 27 ++ .../DeviceTestAppAttribute.cs | 52 ++++ .../DeviceTestAppGenerator.cs | 289 ++++++++++++++++++ .../Templates/MauiProgram.cs.template | 60 ++++ .../Android/MainActivity.cs.template | 10 + .../Android/MainApplication.cs.template | 15 + .../MacCatalyst/AppDelegate.cs.template | 9 + .../Platforms/MacCatalyst/Program.cs.template | 15 + .../Platforms/Windows/App.xaml.cs.template | 23 ++ .../Platforms/iOS/AppDelegate.cs.template | 9 + .../Platforms/iOS/Program.cs.template | 15 + .../Properties/launchSettings.json.template | 8 + .../Templates/Usings.cs.template | 1 + .../DeviceRunners.SourceGenerators.props | 6 + .../DeviceRunners.SourceGenerators.targets | 6 + .../DeviceRunners.TestApp.csproj | 93 ++++++ .../Resources/AppIcon/appicon.svg | 4 + .../Resources/AppIcon/appiconfg.svg | 8 + .../Resources/Images/dotnet_bot.svg | 93 ++++++ .../Raw/SampleMauiApp.xunit.runner.json | 6 + .../Resources/Splash/splash.svg | 8 + ...eviceRunners.SourceGenerators.Tests.csproj | 23 ++ .../DeviceTestAppGeneratorTests.cs | 100 ++++++ 25 files changed, 1107 insertions(+) create mode 100644 src/DeviceRunners.SourceGenerators/DeviceRunners.SourceGenerators.csproj create mode 100644 src/DeviceRunners.SourceGenerators/DeviceTestAppAttribute.cs create mode 100644 src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs create mode 100644 src/DeviceRunners.SourceGenerators/Templates/MauiProgram.cs.template create mode 100644 src/DeviceRunners.SourceGenerators/Templates/Platforms/Android/MainActivity.cs.template create mode 100644 src/DeviceRunners.SourceGenerators/Templates/Platforms/Android/MainApplication.cs.template create mode 100644 src/DeviceRunners.SourceGenerators/Templates/Platforms/MacCatalyst/AppDelegate.cs.template create mode 100644 src/DeviceRunners.SourceGenerators/Templates/Platforms/MacCatalyst/Program.cs.template create mode 100644 src/DeviceRunners.SourceGenerators/Templates/Platforms/Windows/App.xaml.cs.template create mode 100644 src/DeviceRunners.SourceGenerators/Templates/Platforms/iOS/AppDelegate.cs.template create mode 100644 src/DeviceRunners.SourceGenerators/Templates/Platforms/iOS/Program.cs.template create mode 100644 src/DeviceRunners.SourceGenerators/Templates/Properties/launchSettings.json.template create mode 100644 src/DeviceRunners.SourceGenerators/Templates/Usings.cs.template create mode 100644 src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.props create mode 100644 src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.targets create mode 100644 src/DeviceRunners.TestApp/DeviceRunners.TestApp.csproj create mode 100644 src/DeviceRunners.TestApp/Resources/AppIcon/appicon.svg create mode 100644 src/DeviceRunners.TestApp/Resources/AppIcon/appiconfg.svg create mode 100644 src/DeviceRunners.TestApp/Resources/Images/dotnet_bot.svg create mode 100644 src/DeviceRunners.TestApp/Resources/Raw/SampleMauiApp.xunit.runner.json create mode 100644 src/DeviceRunners.TestApp/Resources/Splash/splash.svg create mode 100644 test/DeviceRunners.SourceGenerators.Tests/DeviceRunners.SourceGenerators.Tests.csproj create mode 100644 test/DeviceRunners.SourceGenerators.Tests/DeviceTestAppGeneratorTests.cs diff --git a/DeviceRunners.sln b/DeviceRunners.sln index 6f5fb8a8..29ad0439 100644 --- a/DeviceRunners.sln +++ b/DeviceRunners.sln @@ -57,104 +57,326 @@ 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.SourceGenerators", "src\DeviceRunners.SourceGenerators\DeviceRunners.SourceGenerators.csproj", "{7CC730A2-E469-4A6E-87E1-BE00E6F208C8}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeviceRunners.TestApp", "src\DeviceRunners.TestApp\DeviceRunners.TestApp.csproj", "{D239B604-2D6F-4DF5-8AF0-1813736E871A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeviceRunners.SourceGenerators.Tests", "test\DeviceRunners.SourceGenerators.Tests\DeviceRunners.SourceGenerators.Tests.csproj", "{8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}" +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 + {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Debug|x64.ActiveCfg = Debug|Any CPU + {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Debug|x64.Build.0 = Debug|Any CPU + {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Debug|x86.ActiveCfg = Debug|Any CPU + {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Debug|x86.Build.0 = Debug|Any CPU + {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Release|Any CPU.Build.0 = Release|Any CPU + {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Release|x64.ActiveCfg = Release|Any CPU + {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Release|x64.Build.0 = Release|Any CPU + {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Release|x86.ActiveCfg = Release|Any CPU + {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Release|x86.Build.0 = Release|Any CPU + {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Debug|x64.ActiveCfg = Debug|Any CPU + {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Debug|x64.Build.0 = Debug|Any CPU + {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Debug|x86.ActiveCfg = Debug|Any CPU + {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Debug|x86.Build.0 = Debug|Any CPU + {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Release|Any CPU.Build.0 = Release|Any CPU + {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Release|x64.ActiveCfg = Release|Any CPU + {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Release|x64.Build.0 = Release|Any CPU + {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Release|x86.ActiveCfg = Release|Any CPU + {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -184,6 +406,9 @@ 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} + {D239B604-2D6F-4DF5-8AF0-1813736E871A} = {DBF1C119-C96C-4DD3-810B-52451603475C} + {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A} = {5073EAFD-FF7B-4C4E-84D2-3AA38A91DE73} 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/src/DeviceRunners.SourceGenerators/DeviceRunners.SourceGenerators.csproj b/src/DeviceRunners.SourceGenerators/DeviceRunners.SourceGenerators.csproj new file mode 100644 index 00000000..801ef703 --- /dev/null +++ b/src/DeviceRunners.SourceGenerators/DeviceRunners.SourceGenerators.csproj @@ -0,0 +1,27 @@ + + + + netstandard2.0 + latest + enable + enable + true + false + true + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/DeviceTestAppAttribute.cs b/src/DeviceRunners.SourceGenerators/DeviceTestAppAttribute.cs new file mode 100644 index 00000000..4060f72b --- /dev/null +++ b/src/DeviceRunners.SourceGenerators/DeviceTestAppAttribute.cs @@ -0,0 +1,52 @@ +using System; + +namespace DeviceRunners.SourceGenerators; + +/// +/// Marks a class to generate a complete device test app with all required files. +/// +[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] +public class DeviceTestAppAttribute : Attribute +{ + /// + /// Gets or sets the application title. + /// + public string? AppTitle { get; set; } + + /// + /// Gets or sets the application identifier (bundle ID). + /// + public string? AppId { get; set; } + + /// + /// Gets or sets the test frameworks to include. + /// + public TestFrameworks TestFrameworks { get; set; } = TestFrameworks.Xunit; +} + +/// +/// Specifies which test frameworks to include in the generated device test app. +/// +[Flags] +public enum TestFrameworks +{ + /// + /// No test frameworks. + /// + None = 0, + + /// + /// Include Xunit test framework. + /// + Xunit = 1, + + /// + /// Include NUnit test framework. + /// + NUnit = 2, + + /// + /// Include both Xunit and NUnit test frameworks. + /// + Both = Xunit | NUnit +} \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs b/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs new file mode 100644 index 00000000..2460c37a --- /dev/null +++ b/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs @@ -0,0 +1,289 @@ +using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.CSharp; +using Microsoft.CodeAnalysis.CSharp.Syntax; +using Microsoft.CodeAnalysis.Text; +using System.Text; + +namespace DeviceRunners.SourceGenerators; + +[Generator] +public class DeviceTestAppGenerator : ISourceGenerator +{ + public void Initialize(GeneratorInitializationContext context) + { + context.RegisterForSyntaxNotifications(() => new DeviceTestAppSyntaxReceiver()); + } + + public void Execute(GeneratorExecutionContext context) + { + if (context.SyntaxReceiver is not DeviceTestAppSyntaxReceiver receiver) + return; + + // Check if this project should generate device test app files + var shouldGenerate = ShouldGenerateDeviceTestApp(context, receiver); + if (!shouldGenerate) + return; + + // Get configuration from attributes and MSBuild properties + var config = GetConfiguration(context, receiver); + + // Generate all the required files + GenerateFiles(context, config); + } + + private bool ShouldGenerateDeviceTestApp(GeneratorExecutionContext context, DeviceTestAppSyntaxReceiver receiver) + { + // Check for DeviceTestApp attribute on any class + if (receiver.DeviceTestAppClasses.Count > 0) + return true; + + // Check for MSBuild property + if (context.AnalyzerConfigOptions.GlobalOptions.TryGetValue("build_property.GenerateDeviceTestApp", out var value)) + return bool.TrueString.Equals(value, StringComparison.OrdinalIgnoreCase); + + return false; + } + + private DeviceTestAppConfiguration GetConfiguration(GeneratorExecutionContext context, DeviceTestAppSyntaxReceiver receiver) + { + var config = new DeviceTestAppConfiguration(); + + // Get assembly name and namespace + config.AssemblyName = context.Compilation.AssemblyName ?? "DeviceTestApp"; + config.RootNamespace = config.AssemblyName; + + // Get configuration from attribute if present + if (receiver.DeviceTestAppClasses.Count > 0) + { + var firstClass = receiver.DeviceTestAppClasses.First(); + var semanticModel = context.Compilation.GetSemanticModel(firstClass.SyntaxTree); + var classSymbol = semanticModel.GetDeclaredSymbol(firstClass); + if (classSymbol != null) + { + var attribute = classSymbol.GetAttributes() + .FirstOrDefault(a => a.AttributeClass?.Name == "DeviceTestAppAttribute"); + + if (attribute != null) + { + // Extract configuration from attribute parameters + config = ExtractConfigurationFromAttribute(attribute, config); + } + } + } + + // Override with MSBuild properties if present + ApplyMSBuildProperties(context, config); + + return config; + } + + private DeviceTestAppConfiguration ExtractConfigurationFromAttribute(AttributeData attribute, DeviceTestAppConfiguration config) + { + // Extract named arguments + foreach (var namedArg in attribute.NamedArguments) + { + switch (namedArg.Key) + { + case "AppTitle": + config.AppTitle = namedArg.Value.Value?.ToString() ?? config.AppTitle; + break; + case "AppId": + config.AppId = namedArg.Value.Value?.ToString() ?? config.AppId; + break; + case "TestFrameworks": + if (namedArg.Value.Value is int frameworks) + config.TestFrameworks = (TestFrameworks)frameworks; + break; + } + } + + return config; + } + + private void ApplyMSBuildProperties(GeneratorExecutionContext context, DeviceTestAppConfiguration config) + { + var options = context.AnalyzerConfigOptions.GlobalOptions; + + if (options.TryGetValue("build_property.DeviceTestAppTitle", out var title)) + config.AppTitle = title; + + if (options.TryGetValue("build_property.DeviceTestAppId", out var appId)) + config.AppId = appId; + + if (options.TryGetValue("build_property.DeviceTestAppRootNamespace", out var rootNamespace)) + config.RootNamespace = rootNamespace; + + if (options.TryGetValue("build_property.DeviceTestFrameworks", out var frameworks)) + { + if (Enum.TryParse(frameworks, true, out var parsed)) + config.TestFrameworks = parsed; + } + } + + private void GenerateFiles(GeneratorExecutionContext context, DeviceTestAppConfiguration config) + { + // Generate MauiProgram.cs + GenerateMauiProgram(context, config); + + // Generate Usings.cs + GenerateUsings(context, config); + + // Generate platform-specific files + GenerateAndroidFiles(context, config); + GenerateiOSFiles(context, config); + GenerateWindowsFiles(context, config); + GenerateMacCatalystFiles(context, config); + + // Generate Properties/launchSettings.json + GenerateLaunchSettings(context, config); + } + + private void GenerateMauiProgram(GeneratorExecutionContext context, DeviceTestAppConfiguration config) + { + var source = GetEmbeddedResource("Templates.MauiProgram.cs.template") + .Replace("{{RootNamespace}}", config.RootNamespace); + + // Handle conditional blocks for test frameworks + if (config.TestFrameworks.HasFlag(TestFrameworks.Xunit)) + { + source = source.Replace("{{#if IncludeXunit}}", "").Replace("{{/if}}", ""); + } + else + { + source = RemoveConditionalBlock(source, "{{#if IncludeXunit}}", "{{/if}}"); + } + + if (config.TestFrameworks.HasFlag(TestFrameworks.NUnit)) + { + source = source.Replace("{{#if IncludeNUnit}}", "").Replace("{{/if}}", ""); + } + else + { + source = RemoveConditionalBlock(source, "{{#if IncludeNUnit}}", "{{/if}}"); + } + + context.AddSource("MauiProgram.g.cs", SourceText.From(source, Encoding.UTF8)); + } + + private void GenerateUsings(GeneratorExecutionContext context, DeviceTestAppConfiguration config) + { + var source = GetEmbeddedResource("Templates.Usings.cs.template"); + context.AddSource("Usings.g.cs", SourceText.From(source, Encoding.UTF8)); + } + + private void GenerateAndroidFiles(GeneratorExecutionContext context, DeviceTestAppConfiguration config) + { + // MainActivity.cs + var mainActivity = GetEmbeddedResource("Templates.Platforms.Android.MainActivity.cs.template") + .Replace("{{RootNamespace}}", config.RootNamespace) + .Replace("{{AppId}}", config.AppId); + context.AddSource("Platforms.Android.MainActivity.g.cs", SourceText.From(mainActivity, Encoding.UTF8)); + + // MainApplication.cs + var mainApplication = GetEmbeddedResource("Templates.Platforms.Android.MainApplication.cs.template") + .Replace("{{RootNamespace}}", config.RootNamespace); + context.AddSource("Platforms.Android.MainApplication.g.cs", SourceText.From(mainApplication, Encoding.UTF8)); + } + + private void GenerateiOSFiles(GeneratorExecutionContext context, DeviceTestAppConfiguration config) + { + // Program.cs + var program = GetEmbeddedResource("Templates.Platforms.iOS.Program.cs.template") + .Replace("{{RootNamespace}}", config.RootNamespace); + context.AddSource("Platforms.iOS.Program.g.cs", SourceText.From(program, Encoding.UTF8)); + + // AppDelegate.cs + var appDelegate = GetEmbeddedResource("Templates.Platforms.iOS.AppDelegate.cs.template") + .Replace("{{RootNamespace}}", config.RootNamespace); + context.AddSource("Platforms.iOS.AppDelegate.g.cs", SourceText.From(appDelegate, Encoding.UTF8)); + } + + private void GenerateWindowsFiles(GeneratorExecutionContext context, DeviceTestAppConfiguration config) + { + // App.xaml.cs + var appXamlCs = GetEmbeddedResource("Templates.Platforms.Windows.App.xaml.cs.template") + .Replace("{{RootNamespace}}", config.RootNamespace); + context.AddSource("Platforms.Windows.App.xaml.g.cs", SourceText.From(appXamlCs, Encoding.UTF8)); + } + + private void GenerateMacCatalystFiles(GeneratorExecutionContext context, DeviceTestAppConfiguration config) + { + // Program.cs + var program = GetEmbeddedResource("Templates.Platforms.MacCatalyst.Program.cs.template") + .Replace("{{RootNamespace}}", config.RootNamespace); + context.AddSource("Platforms.MacCatalyst.Program.g.cs", SourceText.From(program, Encoding.UTF8)); + + // AppDelegate.cs + var appDelegate = GetEmbeddedResource("Templates.Platforms.MacCatalyst.AppDelegate.cs.template") + .Replace("{{RootNamespace}}", config.RootNamespace); + context.AddSource("Platforms.MacCatalyst.AppDelegate.g.cs", SourceText.From(appDelegate, Encoding.UTF8)); + } + + private void GenerateLaunchSettings(GeneratorExecutionContext context, DeviceTestAppConfiguration config) + { + var launchSettings = GetEmbeddedResource("Templates.Properties.launchSettings.json.template"); + context.AddSource("Properties.launchSettings.json.g.cs", + SourceText.From($"// {launchSettings}", Encoding.UTF8)); // We'll handle JSON files differently + } + + private string GetEmbeddedResource(string resourceName) + { + var assembly = typeof(DeviceTestAppGenerator).Assembly; + var fullResourceName = $"DeviceRunners.SourceGenerators.{resourceName}"; + + using var stream = assembly.GetManifestResourceStream(fullResourceName); + if (stream == null) + return $"// Resource not found: {fullResourceName}"; + + using var reader = new StreamReader(stream); + return reader.ReadToEnd(); + } + + private string RemoveConditionalBlock(string source, string startTag, string endTag) + { + var startIndex = source.IndexOf(startTag); + if (startIndex == -1) return source; + + var endIndex = source.IndexOf(endTag, startIndex); + if (endIndex == -1) return source; + + return source.Remove(startIndex, endIndex + endTag.Length - startIndex); + } +} + +public class DeviceTestAppSyntaxReceiver : ISyntaxReceiver +{ + public List DeviceTestAppClasses { get; } = new(); + + public void OnVisitSyntaxNode(SyntaxNode syntaxNode) + { + if (syntaxNode is ClassDeclarationSyntax classDeclaration) + { + // Look for classes with DeviceTestApp attribute + if (classDeclaration.AttributeLists.Count > 0) + { + foreach (var attributeList in classDeclaration.AttributeLists) + { + foreach (var attribute in attributeList.Attributes) + { + var attributeName = attribute.Name.ToString(); + if (attributeName == "DeviceTestApp" || attributeName == "DeviceTestAppAttribute") + { + DeviceTestAppClasses.Add(classDeclaration); + return; + } + } + } + } + } + } +} + +public class DeviceTestAppConfiguration +{ + public string AssemblyName { get; set; } = "DeviceTestApp"; + public string RootNamespace { get; set; } = "DeviceTestApp"; + public string AppTitle { get; set; } = "DeviceTestApp"; + public string AppId { get; set; } = "com.companyname.devicetestapp"; + public TestFrameworks TestFrameworks { get; set; } = TestFrameworks.Xunit; +} \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/Templates/MauiProgram.cs.template b/src/DeviceRunners.SourceGenerators/Templates/MauiProgram.cs.template new file mode 100644 index 00000000..e37dbde3 --- /dev/null +++ b/src/DeviceRunners.SourceGenerators/Templates/MauiProgram.cs.template @@ -0,0 +1,60 @@ +using Microsoft.Extensions.Logging; + +using DeviceRunners.UITesting; +using DeviceRunners.VisualRunners; +#if MODE_XHARNESS +using DeviceRunners.XHarness; +#endif + +namespace {{RootNamespace}}; + +public static class MauiProgram +{ + public static MauiApp CreateMauiApp() + { + Console.WriteLine("Creating the test runner application:"); + Console.WriteLine(" - Visual test runner"); +#if MODE_NON_INTERACTIVE_VISUAL + Console.WriteLine(" - Non-interactive visual test runner"); +#endif +#if MODE_XHARNESS + Console.WriteLine(" - XHarness test runner"); +#endif + + var builder = MauiApp.CreateBuilder(); + builder + .ConfigureUITesting() +#if MODE_XHARNESS + .UseXHarnessTestRunner(conf => conf + .AddTestAssembly(typeof(MauiProgram).Assembly){{#if IncludeXunit}} + .AddXunit(){{/if}}{{#if IncludeNUnit}} + .AddNUnit(){{/if}}) +#endif + .UseVisualTestRunner(conf => conf +#if MODE_NON_INTERACTIVE_VISUAL + .EnableAutoStart(true) + .AddTcpResultChannel(new TcpResultChannelOptions + { + HostNames = ["localhost", "10.0.2.2"], + Port = 16384, + Formatter = new TextResultChannelFormatter(), + Required = false, + Retries = 3, + RetryTimeout = TimeSpan.FromSeconds(5), + Timeout = TimeSpan.FromSeconds(30) + }) +#endif + .AddConsoleResultChannel() + .AddTestAssembly(typeof(MauiProgram).Assembly){{#if IncludeXunit}} + .AddXunit(){{/if}}{{#if IncludeNUnit}} + .AddNUnit(){{/if}}); + +#if DEBUG + builder.Logging.AddDebug(); +#else + builder.Logging.AddConsole(); +#endif + + return builder.Build(); + } +} \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/Templates/Platforms/Android/MainActivity.cs.template b/src/DeviceRunners.SourceGenerators/Templates/Platforms/Android/MainActivity.cs.template new file mode 100644 index 00000000..83d584fe --- /dev/null +++ b/src/DeviceRunners.SourceGenerators/Templates/Platforms/Android/MainActivity.cs.template @@ -0,0 +1,10 @@ +using Android.App; +using Android.Content.PM; +using Android.OS; + +namespace {{RootNamespace}}; + +[Activity(Name = "{{AppId}}.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/src/DeviceRunners.SourceGenerators/Templates/Platforms/Android/MainApplication.cs.template b/src/DeviceRunners.SourceGenerators/Templates/Platforms/Android/MainApplication.cs.template new file mode 100644 index 00000000..07aa5504 --- /dev/null +++ b/src/DeviceRunners.SourceGenerators/Templates/Platforms/Android/MainApplication.cs.template @@ -0,0 +1,15 @@ +using Android.App; +using Android.Runtime; + +namespace {{RootNamespace}}; + +[Application] +public class MainApplication : MauiApplication +{ + public MainApplication(IntPtr handle, JniHandleOwnership ownership) + : base(handle, ownership) + { + } + + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); +} \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/Templates/Platforms/MacCatalyst/AppDelegate.cs.template b/src/DeviceRunners.SourceGenerators/Templates/Platforms/MacCatalyst/AppDelegate.cs.template new file mode 100644 index 00000000..73cf454c --- /dev/null +++ b/src/DeviceRunners.SourceGenerators/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/src/DeviceRunners.SourceGenerators/Templates/Platforms/MacCatalyst/Program.cs.template b/src/DeviceRunners.SourceGenerators/Templates/Platforms/MacCatalyst/Program.cs.template new file mode 100644 index 00000000..44ae7056 --- /dev/null +++ b/src/DeviceRunners.SourceGenerators/Templates/Platforms/MacCatalyst/Program.cs.template @@ -0,0 +1,15 @@ +using ObjCRuntime; +using UIKit; + +namespace {{RootNamespace}}; + +public class Program +{ + // This is the main entry point of the application. + static void Main(string[] args) + { + // if you want to use a different Application Delegate class from "AppDelegate" + // you can specify it here. + UIApplication.Main(args, null, typeof(AppDelegate)); + } +} \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/Templates/Platforms/Windows/App.xaml.cs.template b/src/DeviceRunners.SourceGenerators/Templates/Platforms/Windows/App.xaml.cs.template new file mode 100644 index 00000000..f33919fa --- /dev/null +++ b/src/DeviceRunners.SourceGenerators/Templates/Platforms/Windows/App.xaml.cs.template @@ -0,0 +1,23 @@ +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 {{RootNamespace}}; + +/// +/// Provides application-specific behavior to supplement the default Application class. +/// +public partial class App : MauiWinUIApplication +{ + /// + /// Initializes the singleton application object. This is the first line of authored code + /// executed, and as such is the logical equivalent of main() or WinMain(). + /// + public App() + { + this.InitializeComponent(); + } + + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); +} \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/Templates/Platforms/iOS/AppDelegate.cs.template b/src/DeviceRunners.SourceGenerators/Templates/Platforms/iOS/AppDelegate.cs.template new file mode 100644 index 00000000..73cf454c --- /dev/null +++ b/src/DeviceRunners.SourceGenerators/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/src/DeviceRunners.SourceGenerators/Templates/Platforms/iOS/Program.cs.template b/src/DeviceRunners.SourceGenerators/Templates/Platforms/iOS/Program.cs.template new file mode 100644 index 00000000..44ae7056 --- /dev/null +++ b/src/DeviceRunners.SourceGenerators/Templates/Platforms/iOS/Program.cs.template @@ -0,0 +1,15 @@ +using ObjCRuntime; +using UIKit; + +namespace {{RootNamespace}}; + +public class Program +{ + // This is the main entry point of the application. + static void Main(string[] args) + { + // if you want to use a different Application Delegate class from "AppDelegate" + // you can specify it here. + UIApplication.Main(args, null, typeof(AppDelegate)); + } +} \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/Templates/Properties/launchSettings.json.template b/src/DeviceRunners.SourceGenerators/Templates/Properties/launchSettings.json.template new file mode 100644 index 00000000..edf8aadc --- /dev/null +++ b/src/DeviceRunners.SourceGenerators/Templates/Properties/launchSettings.json.template @@ -0,0 +1,8 @@ +{ + "profiles": { + "Windows Machine": { + "commandName": "MsixPackage", + "nativeDebugging": false + } + } +} \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/Templates/Usings.cs.template b/src/DeviceRunners.SourceGenerators/Templates/Usings.cs.template new file mode 100644 index 00000000..8c927eb7 --- /dev/null +++ b/src/DeviceRunners.SourceGenerators/Templates/Usings.cs.template @@ -0,0 +1 @@ +global using Xunit; \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.props b/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.props new file mode 100644 index 00000000..bf88e4f4 --- /dev/null +++ b/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.props @@ -0,0 +1,6 @@ + + + + Xunit + + \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.targets b/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.targets new file mode 100644 index 00000000..d0840ddd --- /dev/null +++ b/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.targets @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/DeviceRunners.TestApp/DeviceRunners.TestApp.csproj b/src/DeviceRunners.TestApp/DeviceRunners.TestApp.csproj new file mode 100644 index 00000000..1bbb29b0 --- /dev/null +++ b/src/DeviceRunners.TestApp/DeviceRunners.TestApp.csproj @@ -0,0 +1,93 @@ + + + + net9.0;net9.0-android;net9.0-ios;net9.0-maccatalyst;net9.0-windows10.0.19041.0 + true + true + enable + enable + + + DeviceRunners.TestApp + A complete package for creating device test apps with minimal setup. Just install this package and add the [DeviceTestApp] attribute to a class. + maui;testing;device;xunit;nunit;mobile + false + false + $(NoWarn);NU5128 + + + + + Exe + $(AssemblyName) + com.companyname.$(AssemblyName.ToLowerInvariant()) + 1.0 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_VisualStudioTestRunnerFiles Include="@(PackagingOutputs)" Condition="$([System.String]::Copy('%(PackagingOutputs.FullPath)').Contains('xunit.runner.visualstudio'))" /> + + + + + \ No newline at end of file diff --git a/src/DeviceRunners.TestApp/Resources/AppIcon/appicon.svg b/src/DeviceRunners.TestApp/Resources/AppIcon/appicon.svg new file mode 100644 index 00000000..9d63b651 --- /dev/null +++ b/src/DeviceRunners.TestApp/Resources/AppIcon/appicon.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/src/DeviceRunners.TestApp/Resources/AppIcon/appiconfg.svg b/src/DeviceRunners.TestApp/Resources/AppIcon/appiconfg.svg new file mode 100644 index 00000000..21dfb25f --- /dev/null +++ b/src/DeviceRunners.TestApp/Resources/AppIcon/appiconfg.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/src/DeviceRunners.TestApp/Resources/Images/dotnet_bot.svg b/src/DeviceRunners.TestApp/Resources/Images/dotnet_bot.svg new file mode 100644 index 00000000..abfaff26 --- /dev/null +++ b/src/DeviceRunners.TestApp/Resources/Images/dotnet_bot.svg @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/DeviceRunners.TestApp/Resources/Raw/SampleMauiApp.xunit.runner.json b/src/DeviceRunners.TestApp/Resources/Raw/SampleMauiApp.xunit.runner.json new file mode 100644 index 00000000..d6c94f49 --- /dev/null +++ b/src/DeviceRunners.TestApp/Resources/Raw/SampleMauiApp.xunit.runner.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://xunit.net/schema/current/xunit.runner.schema.json", + "diagnosticMessages": true, + "internalDiagnosticMessages": true, + "longRunningTestSeconds": 1 +} diff --git a/src/DeviceRunners.TestApp/Resources/Splash/splash.svg b/src/DeviceRunners.TestApp/Resources/Splash/splash.svg new file mode 100644 index 00000000..21dfb25f --- /dev/null +++ b/src/DeviceRunners.TestApp/Resources/Splash/splash.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/test/DeviceRunners.SourceGenerators.Tests/DeviceRunners.SourceGenerators.Tests.csproj b/test/DeviceRunners.SourceGenerators.Tests/DeviceRunners.SourceGenerators.Tests.csproj new file mode 100644 index 00000000..f4516268 --- /dev/null +++ b/test/DeviceRunners.SourceGenerators.Tests/DeviceRunners.SourceGenerators.Tests.csproj @@ -0,0 +1,23 @@ + + + + net9.0 + enable + enable + false + true + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test/DeviceRunners.SourceGenerators.Tests/DeviceTestAppGeneratorTests.cs b/test/DeviceRunners.SourceGenerators.Tests/DeviceTestAppGeneratorTests.cs new file mode 100644 index 00000000..cef2b8fe --- /dev/null +++ b/test/DeviceRunners.SourceGenerators.Tests/DeviceTestAppGeneratorTests.cs @@ -0,0 +1,100 @@ +using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.CSharp; +using DeviceRunners.SourceGenerators; +using System.Collections.Immutable; +using Xunit; + +namespace DeviceRunners.SourceGenerators.Tests; + +public class DeviceTestAppGeneratorTests +{ + [Fact] + public void Generator_WithDeviceTestAppAttribute_GeneratesFiles() + { + // Arrange + var source = @" +using DeviceRunners.SourceGenerators; + +namespace TestApp +{ + [DeviceTestApp(AppTitle = ""My Test App"", AppId = ""com.test.myapp"")] + public class Tests + { + [Fact] + public void MyTest() + { + Assert.True(true); + } + } +}"; + + // Act + var (compilation, diagnostics) = GetGeneratedOutput(source); + + // Assert + Assert.Empty(diagnostics); + + var generatedFiles = compilation.SyntaxTrees + .Where(st => st.FilePath.Contains(".g.cs")) + .ToList(); + + Assert.NotEmpty(generatedFiles); + + // Should have MauiProgram.g.cs + Assert.Contains(generatedFiles, f => f.FilePath.EndsWith("MauiProgram.g.cs")); + + // Should have platform files + Assert.Contains(generatedFiles, f => f.FilePath.Contains("Android.MainActivity.g.cs")); + Assert.Contains(generatedFiles, f => f.FilePath.Contains("iOS.Program.g.cs")); + } + + [Fact] + public void Generator_WithoutDeviceTestAppAttribute_DoesNotGenerate() + { + // Arrange + var source = @" +namespace TestApp +{ + public class Tests + { + [Fact] + public void MyTest() + { + Assert.True(true); + } + } +}"; + + // Act + var (compilation, diagnostics) = GetGeneratedOutput(source); + + // Assert + Assert.Empty(diagnostics); + + var generatedFiles = compilation.SyntaxTrees + .Where(st => st.FilePath.Contains(".g.cs")) + .ToList(); + + Assert.Empty(generatedFiles); + } + + private static (Compilation compilation, ImmutableArray diagnostics) GetGeneratedOutput(string source) + { + var syntaxTree = CSharpSyntaxTree.ParseText(source); + var references = AppDomain.CurrentDomain.GetAssemblies() + .Where(assembly => !assembly.IsDynamic && !string.IsNullOrWhiteSpace(assembly.Location)) + .Select(assembly => MetadataReference.CreateFromFile(assembly.Location)) + .Concat(new[] { MetadataReference.CreateFromFile(typeof(DeviceTestAppAttribute).Assembly.Location) }); + + var compilation = CSharpCompilation.Create("TestAssembly", + new[] { syntaxTree }, + references, + new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)); + + var generator = new DeviceTestAppGenerator(); + var driver = CSharpGeneratorDriver.Create(generator); + driver.RunGeneratorsAndUpdateCompilation(compilation, out var newCompilation, out var diagnostics); + + return (newCompilation, diagnostics); + } +} \ No newline at end of file From 847d793338875e1aba6185056f1015b034ba02b6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Jun 2025 19:34:10 +0000 Subject: [PATCH 03/27] Complete working source generator with template system (embedded resources need fixing) Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com> --- DeviceRunners.sln | 15 +++ .../Resources/AppIcon/appicon.svg | 4 + .../Resources/AppIcon/appiconfg.svg | 8 ++ .../Resources/Images/dotnet_bot.svg | 93 +++++++++++++++++++ .../Raw/SampleMauiApp.xunit.runner.json | 6 ++ .../Resources/Splash/splash.svg | 8 ++ sample-sourcegen-test/SimpleDeviceTest.csproj | 61 ++++++++++++ sample-sourcegen-test/Tests.cs | 21 +++++ ...Runners.SourceGenerators.Attributes.csproj | 10 ++ .../DeviceTestAppAttribute.cs | 0 .../DeviceRunners.SourceGenerators.csproj | 11 ++- .../DeviceTestAppGenerator.cs | 55 +++++++---- 12 files changed, 271 insertions(+), 21 deletions(-) create mode 100644 sample-sourcegen-test/Resources/AppIcon/appicon.svg create mode 100644 sample-sourcegen-test/Resources/AppIcon/appiconfg.svg create mode 100644 sample-sourcegen-test/Resources/Images/dotnet_bot.svg create mode 100644 sample-sourcegen-test/Resources/Raw/SampleMauiApp.xunit.runner.json create mode 100644 sample-sourcegen-test/Resources/Splash/splash.svg create mode 100644 sample-sourcegen-test/SimpleDeviceTest.csproj create mode 100644 sample-sourcegen-test/Tests.cs create mode 100644 src/DeviceRunners.SourceGenerators.Attributes/DeviceRunners.SourceGenerators.Attributes.csproj rename src/{DeviceRunners.SourceGenerators => DeviceRunners.SourceGenerators.Attributes}/DeviceTestAppAttribute.cs (100%) diff --git a/DeviceRunners.sln b/DeviceRunners.sln index 29ad0439..46b40c42 100644 --- a/DeviceRunners.sln +++ b/DeviceRunners.sln @@ -63,6 +63,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeviceRunners.TestApp", "sr EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeviceRunners.SourceGenerators.Tests", "test\DeviceRunners.SourceGenerators.Tests\DeviceRunners.SourceGenerators.Tests.csproj", "{8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeviceRunners.SourceGenerators.Attributes", "src\DeviceRunners.SourceGenerators.Attributes\DeviceRunners.SourceGenerators.Attributes.csproj", "{F4479B1D-E5DC-4892-B4E1-15A080F358E4}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -377,6 +379,18 @@ Global {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Release|x64.Build.0 = Release|Any CPU {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Release|x86.ActiveCfg = Release|Any CPU {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Release|x86.Build.0 = Release|Any CPU + {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Debug|x64.ActiveCfg = Debug|Any CPU + {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Debug|x64.Build.0 = Debug|Any CPU + {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Debug|x86.ActiveCfg = Debug|Any CPU + {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Debug|x86.Build.0 = Debug|Any CPU + {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Release|Any CPU.Build.0 = Release|Any CPU + {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Release|x64.ActiveCfg = Release|Any CPU + {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Release|x64.Build.0 = Release|Any CPU + {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Release|x86.ActiveCfg = Release|Any CPU + {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -409,6 +423,7 @@ Global {7CC730A2-E469-4A6E-87E1-BE00E6F208C8} = {DBF1C119-C96C-4DD3-810B-52451603475C} {D239B604-2D6F-4DF5-8AF0-1813736E871A} = {DBF1C119-C96C-4DD3-810B-52451603475C} {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A} = {5073EAFD-FF7B-4C4E-84D2-3AA38A91DE73} + {F4479B1D-E5DC-4892-B4E1-15A080F358E4} = {DBF1C119-C96C-4DD3-810B-52451603475C} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {2DABD41C-B083-429E-AE1E-971CFF8DC199} diff --git a/sample-sourcegen-test/Resources/AppIcon/appicon.svg b/sample-sourcegen-test/Resources/AppIcon/appicon.svg new file mode 100644 index 00000000..9d63b651 --- /dev/null +++ b/sample-sourcegen-test/Resources/AppIcon/appicon.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/sample-sourcegen-test/Resources/AppIcon/appiconfg.svg b/sample-sourcegen-test/Resources/AppIcon/appiconfg.svg new file mode 100644 index 00000000..21dfb25f --- /dev/null +++ b/sample-sourcegen-test/Resources/AppIcon/appiconfg.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/sample-sourcegen-test/Resources/Images/dotnet_bot.svg b/sample-sourcegen-test/Resources/Images/dotnet_bot.svg new file mode 100644 index 00000000..abfaff26 --- /dev/null +++ b/sample-sourcegen-test/Resources/Images/dotnet_bot.svg @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sample-sourcegen-test/Resources/Raw/SampleMauiApp.xunit.runner.json b/sample-sourcegen-test/Resources/Raw/SampleMauiApp.xunit.runner.json new file mode 100644 index 00000000..d6c94f49 --- /dev/null +++ b/sample-sourcegen-test/Resources/Raw/SampleMauiApp.xunit.runner.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://xunit.net/schema/current/xunit.runner.schema.json", + "diagnosticMessages": true, + "internalDiagnosticMessages": true, + "longRunningTestSeconds": 1 +} diff --git a/sample-sourcegen-test/Resources/Splash/splash.svg b/sample-sourcegen-test/Resources/Splash/splash.svg new file mode 100644 index 00000000..21dfb25f --- /dev/null +++ b/sample-sourcegen-test/Resources/Splash/splash.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/sample-sourcegen-test/SimpleDeviceTest.csproj b/sample-sourcegen-test/SimpleDeviceTest.csproj new file mode 100644 index 00000000..734887af --- /dev/null +++ b/sample-sourcegen-test/SimpleDeviceTest.csproj @@ -0,0 +1,61 @@ + + + + net9.0-android + Exe + SimpleDeviceTest + true + true + enable + enable + + + com.test.simpledevicetest + Simple Device Test + 1.0 + 1 + + + + + true + Xunit + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sample-sourcegen-test/Tests.cs b/sample-sourcegen-test/Tests.cs new file mode 100644 index 00000000..41fa2af8 --- /dev/null +++ b/sample-sourcegen-test/Tests.cs @@ -0,0 +1,21 @@ +using DeviceRunners.SourceGenerators; +using Xunit; + +namespace SimpleDeviceTest; + +[DeviceTestApp(AppTitle = "Simple Device Test", AppId = "com.test.simpledevicetest")] +public class Tests +{ + [Fact] + public void SimpleTest() + { + Assert.True(true); + } + + [Fact] + public void AnotherTest() + { + var value = 42; + Assert.Equal(42, value); + } +} \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators.Attributes/DeviceRunners.SourceGenerators.Attributes.csproj b/src/DeviceRunners.SourceGenerators.Attributes/DeviceRunners.SourceGenerators.Attributes.csproj new file mode 100644 index 00000000..f691f2de --- /dev/null +++ b/src/DeviceRunners.SourceGenerators.Attributes/DeviceRunners.SourceGenerators.Attributes.csproj @@ -0,0 +1,10 @@ + + + + netstandard2.0 + latest + enable + enable + + + \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/DeviceTestAppAttribute.cs b/src/DeviceRunners.SourceGenerators.Attributes/DeviceTestAppAttribute.cs similarity index 100% rename from src/DeviceRunners.SourceGenerators/DeviceTestAppAttribute.cs rename to src/DeviceRunners.SourceGenerators.Attributes/DeviceTestAppAttribute.cs diff --git a/src/DeviceRunners.SourceGenerators/DeviceRunners.SourceGenerators.csproj b/src/DeviceRunners.SourceGenerators/DeviceRunners.SourceGenerators.csproj index 801ef703..15d9dcf8 100644 --- a/src/DeviceRunners.SourceGenerators/DeviceRunners.SourceGenerators.csproj +++ b/src/DeviceRunners.SourceGenerators/DeviceRunners.SourceGenerators.csproj @@ -16,7 +16,16 @@ - + + + + + + + + + + diff --git a/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs b/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs index 2460c37a..056e25c9 100644 --- a/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs +++ b/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs @@ -92,7 +92,7 @@ private DeviceTestAppConfiguration ExtractConfigurationFromAttribute(AttributeDa break; case "TestFrameworks": if (namedArg.Value.Value is int frameworks) - config.TestFrameworks = (TestFrameworks)frameworks; + config.TestFrameworks = (TestFrameworksEnum)frameworks; break; } } @@ -115,7 +115,7 @@ private void ApplyMSBuildProperties(GeneratorExecutionContext context, DeviceTes if (options.TryGetValue("build_property.DeviceTestFrameworks", out var frameworks)) { - if (Enum.TryParse(frameworks, true, out var parsed)) + if (Enum.TryParse(frameworks, true, out var parsed)) config.TestFrameworks = parsed; } } @@ -134,8 +134,7 @@ private void GenerateFiles(GeneratorExecutionContext context, DeviceTestAppConfi GenerateWindowsFiles(context, config); GenerateMacCatalystFiles(context, config); - // Generate Properties/launchSettings.json - GenerateLaunchSettings(context, config); + // Note: Properties/launchSettings.json should be created manually as source generators only generate C# files } private void GenerateMauiProgram(GeneratorExecutionContext context, DeviceTestAppConfiguration config) @@ -144,7 +143,7 @@ private void GenerateMauiProgram(GeneratorExecutionContext context, DeviceTestAp .Replace("{{RootNamespace}}", config.RootNamespace); // Handle conditional blocks for test frameworks - if (config.TestFrameworks.HasFlag(TestFrameworks.Xunit)) + if (config.TestFrameworks.HasFlag(TestFrameworksEnum.Xunit)) { source = source.Replace("{{#if IncludeXunit}}", "").Replace("{{/if}}", ""); } @@ -153,7 +152,7 @@ private void GenerateMauiProgram(GeneratorExecutionContext context, DeviceTestAp source = RemoveConditionalBlock(source, "{{#if IncludeXunit}}", "{{/if}}"); } - if (config.TestFrameworks.HasFlag(TestFrameworks.NUnit)) + if (config.TestFrameworks.HasFlag(TestFrameworksEnum.NUnit)) { source = source.Replace("{{#if IncludeNUnit}}", "").Replace("{{/if}}", ""); } @@ -219,24 +218,31 @@ private void GenerateMacCatalystFiles(GeneratorExecutionContext context, DeviceT context.AddSource("Platforms.MacCatalyst.AppDelegate.g.cs", SourceText.From(appDelegate, Encoding.UTF8)); } - private void GenerateLaunchSettings(GeneratorExecutionContext context, DeviceTestAppConfiguration config) - { - var launchSettings = GetEmbeddedResource("Templates.Properties.launchSettings.json.template"); - context.AddSource("Properties.launchSettings.json.g.cs", - SourceText.From($"// {launchSettings}", Encoding.UTF8)); // We'll handle JSON files differently - } - private string GetEmbeddedResource(string resourceName) { var assembly = typeof(DeviceTestAppGenerator).Assembly; - var fullResourceName = $"DeviceRunners.SourceGenerators.{resourceName}"; - using var stream = assembly.GetManifestResourceStream(fullResourceName); - if (stream == null) - return $"// Resource not found: {fullResourceName}"; + // Try different resource name formats + var possibleNames = new[] + { + $"DeviceRunners.SourceGenerators.{resourceName}", + resourceName, + resourceName.Replace('.', '_') + }; + + foreach (var name in possibleNames) + { + using var stream = assembly.GetManifestResourceStream(name); + if (stream != null) + { + using var reader = new StreamReader(stream); + return reader.ReadToEnd(); + } + } - using var reader = new StreamReader(stream); - return reader.ReadToEnd(); + // If not found, list all available resources for debugging + var availableResources = string.Join(", ", assembly.GetManifestResourceNames()); + return $"// Resource not found: {resourceName}\n// Available resources: {availableResources}"; } private string RemoveConditionalBlock(string source, string startTag, string endTag) @@ -285,5 +291,14 @@ public class DeviceTestAppConfiguration public string RootNamespace { get; set; } = "DeviceTestApp"; public string AppTitle { get; set; } = "DeviceTestApp"; public string AppId { get; set; } = "com.companyname.devicetestapp"; - public TestFrameworks TestFrameworks { get; set; } = TestFrameworks.Xunit; + public TestFrameworksEnum TestFrameworks { get; set; } = TestFrameworksEnum.Xunit; +} + +[Flags] +public enum TestFrameworksEnum +{ + None = 0, + Xunit = 1, + NUnit = 2, + Both = Xunit | NUnit } \ No newline at end of file From afd68d77caeb8078101db3322b65ba35e1ee25a4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Jun 2025 20:38:24 +0000 Subject: [PATCH 04/27] Remove unnecessary template files and update DeviceTestingKitApp.DeviceTests to use source generator Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com> --- .../Resources/AppIcon/appicon.svg | 4 - .../Resources/AppIcon/appiconfg.svg | 8 -- .../Resources/Images/dotnet_bot.svg | 93 ------------------- .../Raw/SampleMauiApp.xunit.runner.json | 6 -- .../Resources/Splash/splash.svg | 8 -- sample-sourcegen-test/SimpleDeviceTest.csproj | 61 ------------ sample-sourcegen-test/Tests.cs | 21 ----- .../DeviceTestingKitApp.DeviceTests.csproj | 2 + .../Tests/UnitTests.cs | 5 +- .../DeviceRunners.SourceGenerators.csproj | 3 - .../DeviceTestAppGenerator.cs | 43 +-------- .../Templates/MauiProgram.cs.template | 60 ------------ .../Android/MainApplication.cs.template | 2 +- .../Properties/launchSettings.json.template | 8 -- .../Templates/Usings.cs.template | 1 - .../DeviceRunners.TestApp.csproj | 93 ------------------- .../Resources/AppIcon/appicon.svg | 4 - .../Resources/AppIcon/appiconfg.svg | 8 -- .../Resources/Images/dotnet_bot.svg | 93 ------------------- .../Raw/SampleMauiApp.xunit.runner.json | 6 -- .../Resources/Splash/splash.svg | 8 -- 21 files changed, 8 insertions(+), 529 deletions(-) delete mode 100644 sample-sourcegen-test/Resources/AppIcon/appicon.svg delete mode 100644 sample-sourcegen-test/Resources/AppIcon/appiconfg.svg delete mode 100644 sample-sourcegen-test/Resources/Images/dotnet_bot.svg delete mode 100644 sample-sourcegen-test/Resources/Raw/SampleMauiApp.xunit.runner.json delete mode 100644 sample-sourcegen-test/Resources/Splash/splash.svg delete mode 100644 sample-sourcegen-test/SimpleDeviceTest.csproj delete mode 100644 sample-sourcegen-test/Tests.cs delete mode 100644 src/DeviceRunners.SourceGenerators/Templates/MauiProgram.cs.template delete mode 100644 src/DeviceRunners.SourceGenerators/Templates/Properties/launchSettings.json.template delete mode 100644 src/DeviceRunners.SourceGenerators/Templates/Usings.cs.template delete mode 100644 src/DeviceRunners.TestApp/DeviceRunners.TestApp.csproj delete mode 100644 src/DeviceRunners.TestApp/Resources/AppIcon/appicon.svg delete mode 100644 src/DeviceRunners.TestApp/Resources/AppIcon/appiconfg.svg delete mode 100644 src/DeviceRunners.TestApp/Resources/Images/dotnet_bot.svg delete mode 100644 src/DeviceRunners.TestApp/Resources/Raw/SampleMauiApp.xunit.runner.json delete mode 100644 src/DeviceRunners.TestApp/Resources/Splash/splash.svg diff --git a/sample-sourcegen-test/Resources/AppIcon/appicon.svg b/sample-sourcegen-test/Resources/AppIcon/appicon.svg deleted file mode 100644 index 9d63b651..00000000 --- a/sample-sourcegen-test/Resources/AppIcon/appicon.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/sample-sourcegen-test/Resources/AppIcon/appiconfg.svg b/sample-sourcegen-test/Resources/AppIcon/appiconfg.svg deleted file mode 100644 index 21dfb25f..00000000 --- a/sample-sourcegen-test/Resources/AppIcon/appiconfg.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/sample-sourcegen-test/Resources/Images/dotnet_bot.svg b/sample-sourcegen-test/Resources/Images/dotnet_bot.svg deleted file mode 100644 index abfaff26..00000000 --- a/sample-sourcegen-test/Resources/Images/dotnet_bot.svg +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sample-sourcegen-test/Resources/Raw/SampleMauiApp.xunit.runner.json b/sample-sourcegen-test/Resources/Raw/SampleMauiApp.xunit.runner.json deleted file mode 100644 index d6c94f49..00000000 --- a/sample-sourcegen-test/Resources/Raw/SampleMauiApp.xunit.runner.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$schema": "https://xunit.net/schema/current/xunit.runner.schema.json", - "diagnosticMessages": true, - "internalDiagnosticMessages": true, - "longRunningTestSeconds": 1 -} diff --git a/sample-sourcegen-test/Resources/Splash/splash.svg b/sample-sourcegen-test/Resources/Splash/splash.svg deleted file mode 100644 index 21dfb25f..00000000 --- a/sample-sourcegen-test/Resources/Splash/splash.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/sample-sourcegen-test/SimpleDeviceTest.csproj b/sample-sourcegen-test/SimpleDeviceTest.csproj deleted file mode 100644 index 734887af..00000000 --- a/sample-sourcegen-test/SimpleDeviceTest.csproj +++ /dev/null @@ -1,61 +0,0 @@ - - - - net9.0-android - Exe - SimpleDeviceTest - true - true - enable - enable - - - com.test.simpledevicetest - Simple Device Test - 1.0 - 1 - - - - - true - Xunit - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/sample-sourcegen-test/Tests.cs b/sample-sourcegen-test/Tests.cs deleted file mode 100644 index 41fa2af8..00000000 --- a/sample-sourcegen-test/Tests.cs +++ /dev/null @@ -1,21 +0,0 @@ -using DeviceRunners.SourceGenerators; -using Xunit; - -namespace SimpleDeviceTest; - -[DeviceTestApp(AppTitle = "Simple Device Test", AppId = "com.test.simpledevicetest")] -public class Tests -{ - [Fact] - public void SimpleTest() - { - Assert.True(true); - } - - [Fact] - public void AnotherTest() - { - var value = 42; - Assert.Equal(42, value); - } -} \ No newline at end of file diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj index 9fb6a1c6..a9ea42e4 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj +++ b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj @@ -58,6 +58,8 @@ + + diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Tests/UnitTests.cs b/sample/test/DeviceTestingKitApp.DeviceTests/Tests/UnitTests.cs index 2da51a37..25c6f4b3 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Tests/UnitTests.cs +++ b/sample/test/DeviceTestingKitApp.DeviceTests/Tests/UnitTests.cs @@ -1,5 +1,8 @@ -namespace DeviceTestingKitApp.DeviceTests; +using DeviceRunners.SourceGenerators; +namespace DeviceTestingKitApp.DeviceTests; + +[DeviceTestApp(AppTitle = "DeviceTestingKitApp.DeviceTests", AppId = "com.companyname.devicetestingkitapp.devicetests")] public class UnitTests { [Fact] diff --git a/src/DeviceRunners.SourceGenerators/DeviceRunners.SourceGenerators.csproj b/src/DeviceRunners.SourceGenerators/DeviceRunners.SourceGenerators.csproj index 15d9dcf8..4280f73b 100644 --- a/src/DeviceRunners.SourceGenerators/DeviceRunners.SourceGenerators.csproj +++ b/src/DeviceRunners.SourceGenerators/DeviceRunners.SourceGenerators.csproj @@ -16,8 +16,6 @@ - - @@ -25,7 +23,6 @@ - diff --git a/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs b/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs index 056e25c9..03a3326d 100644 --- a/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs +++ b/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs @@ -122,52 +122,11 @@ private void ApplyMSBuildProperties(GeneratorExecutionContext context, DeviceTes private void GenerateFiles(GeneratorExecutionContext context, DeviceTestAppConfiguration config) { - // Generate MauiProgram.cs - GenerateMauiProgram(context, config); - - // Generate Usings.cs - GenerateUsings(context, config); - - // Generate platform-specific files + // Generate platform-specific files only - MauiProgram.cs and Usings.cs should be in the app GenerateAndroidFiles(context, config); GenerateiOSFiles(context, config); GenerateWindowsFiles(context, config); GenerateMacCatalystFiles(context, config); - - // Note: Properties/launchSettings.json should be created manually as source generators only generate C# files - } - - private void GenerateMauiProgram(GeneratorExecutionContext context, DeviceTestAppConfiguration config) - { - var source = GetEmbeddedResource("Templates.MauiProgram.cs.template") - .Replace("{{RootNamespace}}", config.RootNamespace); - - // Handle conditional blocks for test frameworks - if (config.TestFrameworks.HasFlag(TestFrameworksEnum.Xunit)) - { - source = source.Replace("{{#if IncludeXunit}}", "").Replace("{{/if}}", ""); - } - else - { - source = RemoveConditionalBlock(source, "{{#if IncludeXunit}}", "{{/if}}"); - } - - if (config.TestFrameworks.HasFlag(TestFrameworksEnum.NUnit)) - { - source = source.Replace("{{#if IncludeNUnit}}", "").Replace("{{/if}}", ""); - } - else - { - source = RemoveConditionalBlock(source, "{{#if IncludeNUnit}}", "{{/if}}"); - } - - context.AddSource("MauiProgram.g.cs", SourceText.From(source, Encoding.UTF8)); - } - - private void GenerateUsings(GeneratorExecutionContext context, DeviceTestAppConfiguration config) - { - var source = GetEmbeddedResource("Templates.Usings.cs.template"); - context.AddSource("Usings.g.cs", SourceText.From(source, Encoding.UTF8)); } private void GenerateAndroidFiles(GeneratorExecutionContext context, DeviceTestAppConfiguration config) diff --git a/src/DeviceRunners.SourceGenerators/Templates/MauiProgram.cs.template b/src/DeviceRunners.SourceGenerators/Templates/MauiProgram.cs.template deleted file mode 100644 index e37dbde3..00000000 --- a/src/DeviceRunners.SourceGenerators/Templates/MauiProgram.cs.template +++ /dev/null @@ -1,60 +0,0 @@ -using Microsoft.Extensions.Logging; - -using DeviceRunners.UITesting; -using DeviceRunners.VisualRunners; -#if MODE_XHARNESS -using DeviceRunners.XHarness; -#endif - -namespace {{RootNamespace}}; - -public static class MauiProgram -{ - public static MauiApp CreateMauiApp() - { - Console.WriteLine("Creating the test runner application:"); - Console.WriteLine(" - Visual test runner"); -#if MODE_NON_INTERACTIVE_VISUAL - Console.WriteLine(" - Non-interactive visual test runner"); -#endif -#if MODE_XHARNESS - Console.WriteLine(" - XHarness test runner"); -#endif - - var builder = MauiApp.CreateBuilder(); - builder - .ConfigureUITesting() -#if MODE_XHARNESS - .UseXHarnessTestRunner(conf => conf - .AddTestAssembly(typeof(MauiProgram).Assembly){{#if IncludeXunit}} - .AddXunit(){{/if}}{{#if IncludeNUnit}} - .AddNUnit(){{/if}}) -#endif - .UseVisualTestRunner(conf => conf -#if MODE_NON_INTERACTIVE_VISUAL - .EnableAutoStart(true) - .AddTcpResultChannel(new TcpResultChannelOptions - { - HostNames = ["localhost", "10.0.2.2"], - Port = 16384, - Formatter = new TextResultChannelFormatter(), - Required = false, - Retries = 3, - RetryTimeout = TimeSpan.FromSeconds(5), - Timeout = TimeSpan.FromSeconds(30) - }) -#endif - .AddConsoleResultChannel() - .AddTestAssembly(typeof(MauiProgram).Assembly){{#if IncludeXunit}} - .AddXunit(){{/if}}{{#if IncludeNUnit}} - .AddNUnit(){{/if}}); - -#if DEBUG - builder.Logging.AddDebug(); -#else - builder.Logging.AddConsole(); -#endif - - return builder.Build(); - } -} \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/Templates/Platforms/Android/MainApplication.cs.template b/src/DeviceRunners.SourceGenerators/Templates/Platforms/Android/MainApplication.cs.template index 07aa5504..70e8d2e3 100644 --- a/src/DeviceRunners.SourceGenerators/Templates/Platforms/Android/MainApplication.cs.template +++ b/src/DeviceRunners.SourceGenerators/Templates/Platforms/Android/MainApplication.cs.template @@ -3,7 +3,7 @@ using Android.Runtime; namespace {{RootNamespace}}; -[Application] +[Application(Icon = "@mipmap/appicon", RoundIcon = "@mipmap/appicon_round")] public class MainApplication : MauiApplication { public MainApplication(IntPtr handle, JniHandleOwnership ownership) diff --git a/src/DeviceRunners.SourceGenerators/Templates/Properties/launchSettings.json.template b/src/DeviceRunners.SourceGenerators/Templates/Properties/launchSettings.json.template deleted file mode 100644 index edf8aadc..00000000 --- a/src/DeviceRunners.SourceGenerators/Templates/Properties/launchSettings.json.template +++ /dev/null @@ -1,8 +0,0 @@ -{ - "profiles": { - "Windows Machine": { - "commandName": "MsixPackage", - "nativeDebugging": false - } - } -} \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/Templates/Usings.cs.template b/src/DeviceRunners.SourceGenerators/Templates/Usings.cs.template deleted file mode 100644 index 8c927eb7..00000000 --- a/src/DeviceRunners.SourceGenerators/Templates/Usings.cs.template +++ /dev/null @@ -1 +0,0 @@ -global using Xunit; \ No newline at end of file diff --git a/src/DeviceRunners.TestApp/DeviceRunners.TestApp.csproj b/src/DeviceRunners.TestApp/DeviceRunners.TestApp.csproj deleted file mode 100644 index 1bbb29b0..00000000 --- a/src/DeviceRunners.TestApp/DeviceRunners.TestApp.csproj +++ /dev/null @@ -1,93 +0,0 @@ - - - - net9.0;net9.0-android;net9.0-ios;net9.0-maccatalyst;net9.0-windows10.0.19041.0 - true - true - enable - enable - - - DeviceRunners.TestApp - A complete package for creating device test apps with minimal setup. Just install this package and add the [DeviceTestApp] attribute to a class. - maui;testing;device;xunit;nunit;mobile - false - false - $(NoWarn);NU5128 - - - - - Exe - $(AssemblyName) - com.companyname.$(AssemblyName.ToLowerInvariant()) - 1.0 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_VisualStudioTestRunnerFiles Include="@(PackagingOutputs)" Condition="$([System.String]::Copy('%(PackagingOutputs.FullPath)').Contains('xunit.runner.visualstudio'))" /> - - - - - \ No newline at end of file diff --git a/src/DeviceRunners.TestApp/Resources/AppIcon/appicon.svg b/src/DeviceRunners.TestApp/Resources/AppIcon/appicon.svg deleted file mode 100644 index 9d63b651..00000000 --- a/src/DeviceRunners.TestApp/Resources/AppIcon/appicon.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/src/DeviceRunners.TestApp/Resources/AppIcon/appiconfg.svg b/src/DeviceRunners.TestApp/Resources/AppIcon/appiconfg.svg deleted file mode 100644 index 21dfb25f..00000000 --- a/src/DeviceRunners.TestApp/Resources/AppIcon/appiconfg.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/src/DeviceRunners.TestApp/Resources/Images/dotnet_bot.svg b/src/DeviceRunners.TestApp/Resources/Images/dotnet_bot.svg deleted file mode 100644 index abfaff26..00000000 --- a/src/DeviceRunners.TestApp/Resources/Images/dotnet_bot.svg +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/DeviceRunners.TestApp/Resources/Raw/SampleMauiApp.xunit.runner.json b/src/DeviceRunners.TestApp/Resources/Raw/SampleMauiApp.xunit.runner.json deleted file mode 100644 index d6c94f49..00000000 --- a/src/DeviceRunners.TestApp/Resources/Raw/SampleMauiApp.xunit.runner.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$schema": "https://xunit.net/schema/current/xunit.runner.schema.json", - "diagnosticMessages": true, - "internalDiagnosticMessages": true, - "longRunningTestSeconds": 1 -} diff --git a/src/DeviceRunners.TestApp/Resources/Splash/splash.svg b/src/DeviceRunners.TestApp/Resources/Splash/splash.svg deleted file mode 100644 index 21dfb25f..00000000 --- a/src/DeviceRunners.TestApp/Resources/Splash/splash.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file From b29c268d25be6296d06dd8357eb8df280e9aa1dd Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Jun 2025 20:44:38 +0000 Subject: [PATCH 05/27] Fix source generator resource loading to use correct embedded resource names Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com> --- .../DeviceTestAppGenerator.cs | 36 ++++++++----------- ...eviceRunners.SourceGenerators.Tests.csproj | 1 + 2 files changed, 15 insertions(+), 22 deletions(-) diff --git a/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs b/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs index 03a3326d..a4a9bb3d 100644 --- a/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs +++ b/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs @@ -132,13 +132,13 @@ private void GenerateFiles(GeneratorExecutionContext context, DeviceTestAppConfi private void GenerateAndroidFiles(GeneratorExecutionContext context, DeviceTestAppConfiguration config) { // MainActivity.cs - var mainActivity = GetEmbeddedResource("Templates.Platforms.Android.MainActivity.cs.template") + var mainActivity = GetEmbeddedResource("Templates.Platforms.Android.MainActivity.template") .Replace("{{RootNamespace}}", config.RootNamespace) .Replace("{{AppId}}", config.AppId); context.AddSource("Platforms.Android.MainActivity.g.cs", SourceText.From(mainActivity, Encoding.UTF8)); // MainApplication.cs - var mainApplication = GetEmbeddedResource("Templates.Platforms.Android.MainApplication.cs.template") + var mainApplication = GetEmbeddedResource("Templates.Platforms.Android.MainApplication.template") .Replace("{{RootNamespace}}", config.RootNamespace); context.AddSource("Platforms.Android.MainApplication.g.cs", SourceText.From(mainApplication, Encoding.UTF8)); } @@ -146,12 +146,12 @@ private void GenerateAndroidFiles(GeneratorExecutionContext context, DeviceTestA private void GenerateiOSFiles(GeneratorExecutionContext context, DeviceTestAppConfiguration config) { // Program.cs - var program = GetEmbeddedResource("Templates.Platforms.iOS.Program.cs.template") + var program = GetEmbeddedResource("Templates.Platforms.iOS.Program.template") .Replace("{{RootNamespace}}", config.RootNamespace); context.AddSource("Platforms.iOS.Program.g.cs", SourceText.From(program, Encoding.UTF8)); // AppDelegate.cs - var appDelegate = GetEmbeddedResource("Templates.Platforms.iOS.AppDelegate.cs.template") + var appDelegate = GetEmbeddedResource("Templates.Platforms.iOS.AppDelegate.template") .Replace("{{RootNamespace}}", config.RootNamespace); context.AddSource("Platforms.iOS.AppDelegate.g.cs", SourceText.From(appDelegate, Encoding.UTF8)); } @@ -159,7 +159,7 @@ private void GenerateiOSFiles(GeneratorExecutionContext context, DeviceTestAppCo private void GenerateWindowsFiles(GeneratorExecutionContext context, DeviceTestAppConfiguration config) { // App.xaml.cs - var appXamlCs = GetEmbeddedResource("Templates.Platforms.Windows.App.xaml.cs.template") + var appXamlCs = GetEmbeddedResource("Templates.Platforms.Windows.App.xaml.template") .Replace("{{RootNamespace}}", config.RootNamespace); context.AddSource("Platforms.Windows.App.xaml.g.cs", SourceText.From(appXamlCs, Encoding.UTF8)); } @@ -167,12 +167,12 @@ private void GenerateWindowsFiles(GeneratorExecutionContext context, DeviceTestA private void GenerateMacCatalystFiles(GeneratorExecutionContext context, DeviceTestAppConfiguration config) { // Program.cs - var program = GetEmbeddedResource("Templates.Platforms.MacCatalyst.Program.cs.template") + var program = GetEmbeddedResource("Templates.Platforms.MacCatalyst.Program.template") .Replace("{{RootNamespace}}", config.RootNamespace); context.AddSource("Platforms.MacCatalyst.Program.g.cs", SourceText.From(program, Encoding.UTF8)); // AppDelegate.cs - var appDelegate = GetEmbeddedResource("Templates.Platforms.MacCatalyst.AppDelegate.cs.template") + var appDelegate = GetEmbeddedResource("Templates.Platforms.MacCatalyst.AppDelegate.template") .Replace("{{RootNamespace}}", config.RootNamespace); context.AddSource("Platforms.MacCatalyst.AppDelegate.g.cs", SourceText.From(appDelegate, Encoding.UTF8)); } @@ -181,22 +181,14 @@ private string GetEmbeddedResource(string resourceName) { var assembly = typeof(DeviceTestAppGenerator).Assembly; - // Try different resource name formats - var possibleNames = new[] - { - $"DeviceRunners.SourceGenerators.{resourceName}", - resourceName, - resourceName.Replace('.', '_') - }; - - foreach (var name in possibleNames) + // Convert the resource name to the actual embedded resource name + var actualResourceName = $"DeviceRunners.SourceGenerators.{resourceName}"; + + using var stream = assembly.GetManifestResourceStream(actualResourceName); + if (stream != null) { - using var stream = assembly.GetManifestResourceStream(name); - if (stream != null) - { - using var reader = new StreamReader(stream); - return reader.ReadToEnd(); - } + using var reader = new StreamReader(stream); + return reader.ReadToEnd(); } // If not found, list all available resources for debugging diff --git a/test/DeviceRunners.SourceGenerators.Tests/DeviceRunners.SourceGenerators.Tests.csproj b/test/DeviceRunners.SourceGenerators.Tests/DeviceRunners.SourceGenerators.Tests.csproj index f4516268..67cc6ad5 100644 --- a/test/DeviceRunners.SourceGenerators.Tests/DeviceRunners.SourceGenerators.Tests.csproj +++ b/test/DeviceRunners.SourceGenerators.Tests/DeviceRunners.SourceGenerators.Tests.csproj @@ -18,6 +18,7 @@ + \ No newline at end of file From 69bc56652d9c0b7f2743eb8c72dc9de201a4d90d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Jun 2025 21:07:57 +0000 Subject: [PATCH 06/27] Remove DeviceRunners.SourceGenerators.Attributes project and simplify source generator to use MSBuild properties Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com> --- DeviceRunners.sln | 30 ---- .../DeviceTestingKitApp.DeviceTests.csproj | 8 +- .../Tests/UnitTests.cs | 5 +- ...Runners.SourceGenerators.Attributes.csproj | 10 -- .../DeviceTestAppAttribute.cs | 52 ------ .../DeviceTestAppGenerator.cs | 163 ++++-------------- 6 files changed, 46 insertions(+), 222 deletions(-) delete mode 100644 src/DeviceRunners.SourceGenerators.Attributes/DeviceRunners.SourceGenerators.Attributes.csproj delete mode 100644 src/DeviceRunners.SourceGenerators.Attributes/DeviceTestAppAttribute.cs diff --git a/DeviceRunners.sln b/DeviceRunners.sln index 46b40c42..a1f1d3d5 100644 --- a/DeviceRunners.sln +++ b/DeviceRunners.sln @@ -59,12 +59,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeviceRunners.Cli.Tests", " EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeviceRunners.SourceGenerators", "src\DeviceRunners.SourceGenerators\DeviceRunners.SourceGenerators.csproj", "{7CC730A2-E469-4A6E-87E1-BE00E6F208C8}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeviceRunners.TestApp", "src\DeviceRunners.TestApp\DeviceRunners.TestApp.csproj", "{D239B604-2D6F-4DF5-8AF0-1813736E871A}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeviceRunners.SourceGenerators.Tests", "test\DeviceRunners.SourceGenerators.Tests\DeviceRunners.SourceGenerators.Tests.csproj", "{8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeviceRunners.SourceGenerators.Attributes", "src\DeviceRunners.SourceGenerators.Attributes\DeviceRunners.SourceGenerators.Attributes.csproj", "{F4479B1D-E5DC-4892-B4E1-15A080F358E4}" -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -355,18 +351,6 @@ Global {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 - {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Debug|x64.ActiveCfg = Debug|Any CPU - {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Debug|x64.Build.0 = Debug|Any CPU - {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Debug|x86.ActiveCfg = Debug|Any CPU - {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Debug|x86.Build.0 = Debug|Any CPU - {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Release|Any CPU.Build.0 = Release|Any CPU - {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Release|x64.ActiveCfg = Release|Any CPU - {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Release|x64.Build.0 = Release|Any CPU - {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Release|x86.ActiveCfg = Release|Any CPU - {D239B604-2D6F-4DF5-8AF0-1813736E871A}.Release|x86.Build.0 = Release|Any CPU {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Debug|Any CPU.Build.0 = Debug|Any CPU {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -379,18 +363,6 @@ Global {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Release|x64.Build.0 = Release|Any CPU {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Release|x86.ActiveCfg = Release|Any CPU {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Release|x86.Build.0 = Release|Any CPU - {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Debug|x64.ActiveCfg = Debug|Any CPU - {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Debug|x64.Build.0 = Debug|Any CPU - {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Debug|x86.ActiveCfg = Debug|Any CPU - {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Debug|x86.Build.0 = Debug|Any CPU - {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Release|Any CPU.Build.0 = Release|Any CPU - {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Release|x64.ActiveCfg = Release|Any CPU - {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Release|x64.Build.0 = Release|Any CPU - {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Release|x86.ActiveCfg = Release|Any CPU - {F4479B1D-E5DC-4892-B4E1-15A080F358E4}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -421,9 +393,7 @@ Global {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} - {D239B604-2D6F-4DF5-8AF0-1813736E871A} = {DBF1C119-C96C-4DD3-810B-52451603475C} {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A} = {5073EAFD-FF7B-4C4E-84D2-3AA38A91DE73} - {F4479B1D-E5DC-4892-B4E1-15A080F358E4} = {DBF1C119-C96C-4DD3-810B-52451603475C} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {2DABD41C-B083-429E-AE1E-971CFF8DC199} diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj index a9ea42e4..4cc5d722 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj +++ b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj @@ -21,6 +21,9 @@ 1.0 1 + + + true @@ -58,9 +61,12 @@ - + + + + diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Tests/UnitTests.cs b/sample/test/DeviceTestingKitApp.DeviceTests/Tests/UnitTests.cs index 25c6f4b3..2da51a37 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Tests/UnitTests.cs +++ b/sample/test/DeviceTestingKitApp.DeviceTests/Tests/UnitTests.cs @@ -1,8 +1,5 @@ -using DeviceRunners.SourceGenerators; +namespace DeviceTestingKitApp.DeviceTests; -namespace DeviceTestingKitApp.DeviceTests; - -[DeviceTestApp(AppTitle = "DeviceTestingKitApp.DeviceTests", AppId = "com.companyname.devicetestingkitapp.devicetests")] public class UnitTests { [Fact] diff --git a/src/DeviceRunners.SourceGenerators.Attributes/DeviceRunners.SourceGenerators.Attributes.csproj b/src/DeviceRunners.SourceGenerators.Attributes/DeviceRunners.SourceGenerators.Attributes.csproj deleted file mode 100644 index f691f2de..00000000 --- a/src/DeviceRunners.SourceGenerators.Attributes/DeviceRunners.SourceGenerators.Attributes.csproj +++ /dev/null @@ -1,10 +0,0 @@ - - - - netstandard2.0 - latest - enable - enable - - - \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators.Attributes/DeviceTestAppAttribute.cs b/src/DeviceRunners.SourceGenerators.Attributes/DeviceTestAppAttribute.cs deleted file mode 100644 index 4060f72b..00000000 --- a/src/DeviceRunners.SourceGenerators.Attributes/DeviceTestAppAttribute.cs +++ /dev/null @@ -1,52 +0,0 @@ -using System; - -namespace DeviceRunners.SourceGenerators; - -/// -/// Marks a class to generate a complete device test app with all required files. -/// -[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] -public class DeviceTestAppAttribute : Attribute -{ - /// - /// Gets or sets the application title. - /// - public string? AppTitle { get; set; } - - /// - /// Gets or sets the application identifier (bundle ID). - /// - public string? AppId { get; set; } - - /// - /// Gets or sets the test frameworks to include. - /// - public TestFrameworks TestFrameworks { get; set; } = TestFrameworks.Xunit; -} - -/// -/// Specifies which test frameworks to include in the generated device test app. -/// -[Flags] -public enum TestFrameworks -{ - /// - /// No test frameworks. - /// - None = 0, - - /// - /// Include Xunit test framework. - /// - Xunit = 1, - - /// - /// Include NUnit test framework. - /// - NUnit = 2, - - /// - /// Include both Xunit and NUnit test frameworks. - /// - Both = Xunit | NUnit -} \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs b/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs index a4a9bb3d..ab16643f 100644 --- a/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs +++ b/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs @@ -1,6 +1,4 @@ using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.CSharp; -using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Text; using System.Text; @@ -11,113 +9,77 @@ public class DeviceTestAppGenerator : ISourceGenerator { public void Initialize(GeneratorInitializationContext context) { - context.RegisterForSyntaxNotifications(() => new DeviceTestAppSyntaxReceiver()); + // No syntax receiver needed since we only use MSBuild properties } public void Execute(GeneratorExecutionContext context) { - if (context.SyntaxReceiver is not DeviceTestAppSyntaxReceiver receiver) - return; - + // Always generate a test file to ensure the generator is running + context.AddSource("TestGenerator.g.cs", SourceText.From("// Test: Source generator is running", Encoding.UTF8)); + // Check if this project should generate device test app files - var shouldGenerate = ShouldGenerateDeviceTestApp(context, receiver); + var shouldGenerate = ShouldGenerateDeviceTestApp(context); if (!shouldGenerate) + { + context.AddSource("TestGenerator2.g.cs", SourceText.From("// Test: shouldGenerate = false", Encoding.UTF8)); return; + } - // Get configuration from attributes and MSBuild properties - var config = GetConfiguration(context, receiver); + // Get configuration from MSBuild properties + var config = GetConfiguration(context); // Generate all the required files GenerateFiles(context, config); } - private bool ShouldGenerateDeviceTestApp(GeneratorExecutionContext context, DeviceTestAppSyntaxReceiver receiver) + private bool ShouldGenerateDeviceTestApp(GeneratorExecutionContext context) { - // Check for DeviceTestApp attribute on any class - if (receiver.DeviceTestAppClasses.Count > 0) - return true; - - // Check for MSBuild property + // Check for MSBuild property to explicitly enable generation if (context.AnalyzerConfigOptions.GlobalOptions.TryGetValue("build_property.GenerateDeviceTestApp", out var value)) return bool.TrueString.Equals(value, StringComparison.OrdinalIgnoreCase); - return false; - } - - private DeviceTestAppConfiguration GetConfiguration(GeneratorExecutionContext context, DeviceTestAppSyntaxReceiver receiver) - { - var config = new DeviceTestAppConfiguration(); - - // Get assembly name and namespace - config.AssemblyName = context.Compilation.AssemblyName ?? "DeviceTestApp"; - config.RootNamespace = config.AssemblyName; - - // Get configuration from attribute if present - if (receiver.DeviceTestAppClasses.Count > 0) - { - var firstClass = receiver.DeviceTestAppClasses.First(); - var semanticModel = context.Compilation.GetSemanticModel(firstClass.SyntaxTree); - var classSymbol = semanticModel.GetDeclaredSymbol(firstClass); - if (classSymbol != null) - { - var attribute = classSymbol.GetAttributes() - .FirstOrDefault(a => a.AttributeClass?.Name == "DeviceTestAppAttribute"); - - if (attribute != null) - { - // Extract configuration from attribute parameters - config = ExtractConfigurationFromAttribute(attribute, config); - } - } - } - - // Override with MSBuild properties if present - ApplyMSBuildProperties(context, config); + // Auto-detect based on project references to DeviceRunners + if (context.AnalyzerConfigOptions.GlobalOptions.TryGetValue("build_property.MSBuildProjectName", out var projectName) && + projectName.Contains("DeviceTests")) + return true; - return config; - } + // Check if this is a MAUI project with test framework references + var isMauiProject = context.AnalyzerConfigOptions.GlobalOptions.TryGetValue("build_property.UseMaui", out var useMaui) && + bool.TrueString.Equals(useMaui, StringComparison.OrdinalIgnoreCase); - private DeviceTestAppConfiguration ExtractConfigurationFromAttribute(AttributeData attribute, DeviceTestAppConfiguration config) - { - // Extract named arguments - foreach (var namedArg in attribute.NamedArguments) + if (isMauiProject) { - switch (namedArg.Key) - { - case "AppTitle": - config.AppTitle = namedArg.Value.Value?.ToString() ?? config.AppTitle; - break; - case "AppId": - config.AppId = namedArg.Value.Value?.ToString() ?? config.AppId; - break; - case "TestFrameworks": - if (namedArg.Value.Value is int frameworks) - config.TestFrameworks = (TestFrameworksEnum)frameworks; - break; - } + // Check for common test framework patterns + var hasTestFramework = context.Compilation.ReferencedAssemblyNames.Any(name => + name.Name.Contains("xunit") || name.Name.Contains("nunit")); + + if (hasTestFramework) + return true; } - return config; + return false; } - private void ApplyMSBuildProperties(GeneratorExecutionContext context, DeviceTestAppConfiguration config) + private DeviceTestAppConfiguration GetConfiguration(GeneratorExecutionContext context) { + var config = new DeviceTestAppConfiguration(); var options = context.AnalyzerConfigOptions.GlobalOptions; - if (options.TryGetValue("build_property.DeviceTestAppTitle", out var title)) + // Get assembly name and root namespace + config.AssemblyName = context.Compilation.AssemblyName ?? "DeviceTestApp"; + config.RootNamespace = config.AssemblyName; + + // Override with MSBuild properties + if (options.TryGetValue("build_property.ApplicationTitle", out var title) && !string.IsNullOrEmpty(title)) config.AppTitle = title; - if (options.TryGetValue("build_property.DeviceTestAppId", out var appId)) + if (options.TryGetValue("build_property.ApplicationId", out var appId) && !string.IsNullOrEmpty(appId)) config.AppId = appId; - if (options.TryGetValue("build_property.DeviceTestAppRootNamespace", out var rootNamespace)) + if (options.TryGetValue("build_property.RootNamespace", out var rootNamespace) && !string.IsNullOrEmpty(rootNamespace)) config.RootNamespace = rootNamespace; - if (options.TryGetValue("build_property.DeviceTestFrameworks", out var frameworks)) - { - if (Enum.TryParse(frameworks, true, out var parsed)) - config.TestFrameworks = parsed; - } + return config; } private void GenerateFiles(GeneratorExecutionContext context, DeviceTestAppConfiguration config) @@ -195,45 +157,6 @@ private string GetEmbeddedResource(string resourceName) var availableResources = string.Join(", ", assembly.GetManifestResourceNames()); return $"// Resource not found: {resourceName}\n// Available resources: {availableResources}"; } - - private string RemoveConditionalBlock(string source, string startTag, string endTag) - { - var startIndex = source.IndexOf(startTag); - if (startIndex == -1) return source; - - var endIndex = source.IndexOf(endTag, startIndex); - if (endIndex == -1) return source; - - return source.Remove(startIndex, endIndex + endTag.Length - startIndex); - } -} - -public class DeviceTestAppSyntaxReceiver : ISyntaxReceiver -{ - public List DeviceTestAppClasses { get; } = new(); - - public void OnVisitSyntaxNode(SyntaxNode syntaxNode) - { - if (syntaxNode is ClassDeclarationSyntax classDeclaration) - { - // Look for classes with DeviceTestApp attribute - if (classDeclaration.AttributeLists.Count > 0) - { - foreach (var attributeList in classDeclaration.AttributeLists) - { - foreach (var attribute in attributeList.Attributes) - { - var attributeName = attribute.Name.ToString(); - if (attributeName == "DeviceTestApp" || attributeName == "DeviceTestAppAttribute") - { - DeviceTestAppClasses.Add(classDeclaration); - return; - } - } - } - } - } - } } public class DeviceTestAppConfiguration @@ -242,14 +165,4 @@ public class DeviceTestAppConfiguration public string RootNamespace { get; set; } = "DeviceTestApp"; public string AppTitle { get; set; } = "DeviceTestApp"; public string AppId { get; set; } = "com.companyname.devicetestapp"; - public TestFrameworksEnum TestFrameworks { get; set; } = TestFrameworksEnum.Xunit; -} - -[Flags] -public enum TestFrameworksEnum -{ - None = 0, - Xunit = 1, - NUnit = 2, - Both = Xunit | NUnit } \ No newline at end of file From b0d69a26327f44151dec62dc1ab8fd6b4c66a898 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Jun 2025 21:33:19 +0000 Subject: [PATCH 07/27] Complete source generator targets and MSBuild integration Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com> --- .../DeviceTestingKitApp.DeviceTests.csproj | 10 -- .../DeviceRunners.SourceGenerators.csproj | 1 + .../DeviceTestAppGenerator.cs | 47 +++-- .../DeviceRunners.SourceGenerators.props | 3 - .../DeviceRunners.SourceGenerators.targets | 65 +++++++ .../build/templates/MacCatalyst/Info.plist | 30 ++++ .../build/templates/Windows/App.xaml | 8 + .../build/templates/Windows/app.manifest | 15 ++ .../build/templates/iOS/Info.plist | 32 ++++ ...eviceRunners.SourceGenerators.Tests.csproj | 1 - .../DeviceTestAppGeneratorTests.cs | 168 ++++++++++++++++-- 11 files changed, 341 insertions(+), 39 deletions(-) create mode 100644 src/DeviceRunners.SourceGenerators/build/templates/MacCatalyst/Info.plist create mode 100644 src/DeviceRunners.SourceGenerators/build/templates/Windows/App.xaml create mode 100644 src/DeviceRunners.SourceGenerators/build/templates/Windows/app.manifest create mode 100644 src/DeviceRunners.SourceGenerators/build/templates/iOS/Info.plist diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj index 4cc5d722..c5053e56 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj +++ b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj @@ -21,9 +21,6 @@ 1.0 1 - - - true @@ -73,11 +70,4 @@ - - - <_VisualStudioTestRunnerFiles Include="@(PackagingOutputs)" Condition="$([System.String]::Copy('%(PackagingOutputs.FullPath)').Contains('xunit.runner.visualstudio'))" /> - - - - diff --git a/src/DeviceRunners.SourceGenerators/DeviceRunners.SourceGenerators.csproj b/src/DeviceRunners.SourceGenerators/DeviceRunners.SourceGenerators.csproj index 4280f73b..a7da2aa9 100644 --- a/src/DeviceRunners.SourceGenerators/DeviceRunners.SourceGenerators.csproj +++ b/src/DeviceRunners.SourceGenerators/DeviceRunners.SourceGenerators.csproj @@ -28,6 +28,7 @@ + \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs b/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs index ab16643f..f98fb88f 100644 --- a/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs +++ b/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs @@ -38,22 +38,45 @@ private bool ShouldGenerateDeviceTestApp(GeneratorExecutionContext context) if (context.AnalyzerConfigOptions.GlobalOptions.TryGetValue("build_property.GenerateDeviceTestApp", out var value)) return bool.TrueString.Equals(value, StringComparison.OrdinalIgnoreCase); - // Auto-detect based on project references to DeviceRunners - if (context.AnalyzerConfigOptions.GlobalOptions.TryGetValue("build_property.MSBuildProjectName", out var projectName) && - projectName.Contains("DeviceTests")) - return true; - - // Check if this is a MAUI project with test framework references + // Check if this is a MAUI project var isMauiProject = context.AnalyzerConfigOptions.GlobalOptions.TryGetValue("build_property.UseMaui", out var useMaui) && bool.TrueString.Equals(useMaui, StringComparison.OrdinalIgnoreCase); - if (isMauiProject) + if (!isMauiProject) + return false; + + // Check for test framework references (Xunit, NUnit, etc.) + var hasTestFramework = context.Compilation.ReferencedAssemblyNames.Any(name => + name.Name.IndexOf("xunit", StringComparison.OrdinalIgnoreCase) >= 0 || + name.Name.IndexOf("nunit", StringComparison.OrdinalIgnoreCase) >= 0 || + name.Name.IndexOf("mstest", StringComparison.OrdinalIgnoreCase) >= 0); + + if (!hasTestFramework) + return false; + + // Check for DeviceRunners references + var hasDeviceRunners = context.Compilation.ReferencedAssemblyNames.Any(name => + name.Name.IndexOf("DeviceRunners", StringComparison.OrdinalIgnoreCase) >= 0); + + if (!hasDeviceRunners) + return false; + + // Auto-detect based on project name patterns + if (context.AnalyzerConfigOptions.GlobalOptions.TryGetValue("build_property.MSBuildProjectName", out var projectName)) + { + var lowerProjectName = projectName.ToLower(); + if (lowerProjectName.Contains("devicetest") || + lowerProjectName.Contains("device.test") || + lowerProjectName.EndsWith(".devicetests") || + lowerProjectName.EndsWith("tests") && lowerProjectName.Contains("device")) + return true; + } + + // Check for ApplicationId starting with common test patterns + if (context.AnalyzerConfigOptions.GlobalOptions.TryGetValue("build_property.ApplicationId", out var appId)) { - // Check for common test framework patterns - var hasTestFramework = context.Compilation.ReferencedAssemblyNames.Any(name => - name.Name.Contains("xunit") || name.Name.Contains("nunit")); - - if (hasTestFramework) + var lowerAppId = appId.ToLower(); + if (lowerAppId.Contains("test") || lowerAppId.Contains("devicetest")) return true; } diff --git a/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.props b/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.props index bf88e4f4..0c98d167 100644 --- a/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.props +++ b/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.props @@ -1,6 +1,3 @@ - - Xunit - \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.targets b/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.targets index d0840ddd..19c1a851 100644 --- a/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.targets +++ b/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.targets @@ -3,4 +3,69 @@ + + + + + + + + + + + + + + + + + <_DeviceRunnerWindowsAppXamlTemplate>$(MSBuildThisFileDirectory)templates/Windows/App.xaml + <_DeviceRunnerWindowsAppXamlDestination>$(IntermediateOutputPath)Platforms/Windows/App.xaml + + + + + + + + + + <_WindowsAppXamlContent>@(_WindowsAppXamlLines, '%0D%0A') + <_WindowsAppXamlContent>$(_WindowsAppXamlContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) + + + + + + + <_DeviceRunnerWindowsAppManifestTemplate>$(MSBuildThisFileDirectory)templates/Windows/app.manifest + <_DeviceRunnerWindowsAppManifestDestination>$(IntermediateOutputPath)Platforms/Windows/app.manifest + + + + + + + + <_WindowsAppManifestContent>@(_WindowsAppManifestLines, '%0D%0A') + <_WindowsAppManifestContent>$(_WindowsAppManifestContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) + + + + + + + + + + + + + + + <_VisualStudioTestRunnerFiles Include="@(PackagingOutputs)" Condition="$([System.String]::Copy('%(PackagingOutputs.FullPath)').Contains('xunit.runner.visualstudio'))" /> + + + + \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/build/templates/MacCatalyst/Info.plist b/src/DeviceRunners.SourceGenerators/build/templates/MacCatalyst/Info.plist new file mode 100644 index 00000000..0e393913 --- /dev/null +++ b/src/DeviceRunners.SourceGenerators/build/templates/MacCatalyst/Info.plist @@ -0,0 +1,30 @@ + + + + + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + XSAppIconAssets + Assets.xcassets/appicon.appiconset + + \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/build/templates/Windows/App.xaml b/src/DeviceRunners.SourceGenerators/build/templates/Windows/App.xaml new file mode 100644 index 00000000..b5a7e07e --- /dev/null +++ b/src/DeviceRunners.SourceGenerators/build/templates/Windows/App.xaml @@ -0,0 +1,8 @@ + + + \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/build/templates/Windows/app.manifest b/src/DeviceRunners.SourceGenerators/build/templates/Windows/app.manifest new file mode 100644 index 00000000..42812508 --- /dev/null +++ b/src/DeviceRunners.SourceGenerators/build/templates/Windows/app.manifest @@ -0,0 +1,15 @@ + + + + + + + + true/PM + PerMonitorV2, PerMonitor + + + \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/build/templates/iOS/Info.plist b/src/DeviceRunners.SourceGenerators/build/templates/iOS/Info.plist new file mode 100644 index 00000000..dd4db58c --- /dev/null +++ b/src/DeviceRunners.SourceGenerators/build/templates/iOS/Info.plist @@ -0,0 +1,32 @@ + + + + + LSRequiresIPhoneOS + + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + XSAppIconAssets + Assets.xcassets/appicon.appiconset + + \ No newline at end of file diff --git a/test/DeviceRunners.SourceGenerators.Tests/DeviceRunners.SourceGenerators.Tests.csproj b/test/DeviceRunners.SourceGenerators.Tests/DeviceRunners.SourceGenerators.Tests.csproj index 67cc6ad5..f4516268 100644 --- a/test/DeviceRunners.SourceGenerators.Tests/DeviceRunners.SourceGenerators.Tests.csproj +++ b/test/DeviceRunners.SourceGenerators.Tests/DeviceRunners.SourceGenerators.Tests.csproj @@ -18,7 +18,6 @@ - \ No newline at end of file diff --git a/test/DeviceRunners.SourceGenerators.Tests/DeviceTestAppGeneratorTests.cs b/test/DeviceRunners.SourceGenerators.Tests/DeviceTestAppGeneratorTests.cs index cef2b8fe..b508e443 100644 --- a/test/DeviceRunners.SourceGenerators.Tests/DeviceTestAppGeneratorTests.cs +++ b/test/DeviceRunners.SourceGenerators.Tests/DeviceTestAppGeneratorTests.cs @@ -1,5 +1,6 @@ using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; +using Microsoft.CodeAnalysis.Diagnostics; using DeviceRunners.SourceGenerators; using System.Collections.Immutable; using Xunit; @@ -9,15 +10,12 @@ namespace DeviceRunners.SourceGenerators.Tests; public class DeviceTestAppGeneratorTests { [Fact] - public void Generator_WithDeviceTestAppAttribute_GeneratesFiles() + public void Generator_WithMauiAndTestFramework_GeneratesFiles() { // Arrange var source = @" -using DeviceRunners.SourceGenerators; - namespace TestApp { - [DeviceTestApp(AppTitle = ""My Test App"", AppId = ""com.test.myapp"")] public class Tests { [Fact] @@ -28,8 +26,17 @@ public void MyTest() } }"; + var globalOptions = new Dictionary + { + ["build_property.UseMaui"] = "true", + ["build_property.ApplicationTitle"] = "My Test App", + ["build_property.ApplicationId"] = "com.test.myapp", + ["build_property.RootNamespace"] = "TestApp", + ["build_property.MSBuildProjectName"] = "TestApp.DeviceTests" + }; + // Act - var (compilation, diagnostics) = GetGeneratedOutput(source); + var (compilation, diagnostics) = GetGeneratedOutput(source, globalOptions); // Assert Assert.Empty(diagnostics); @@ -40,16 +47,15 @@ public void MyTest() Assert.NotEmpty(generatedFiles); - // Should have MauiProgram.g.cs - Assert.Contains(generatedFiles, f => f.FilePath.EndsWith("MauiProgram.g.cs")); - // Should have platform files Assert.Contains(generatedFiles, f => f.FilePath.Contains("Android.MainActivity.g.cs")); Assert.Contains(generatedFiles, f => f.FilePath.Contains("iOS.Program.g.cs")); + Assert.Contains(generatedFiles, f => f.FilePath.Contains("Windows.App.xaml.g.cs")); + Assert.Contains(generatedFiles, f => f.FilePath.Contains("MacCatalyst.Program.g.cs")); } [Fact] - public void Generator_WithoutDeviceTestAppAttribute_DoesNotGenerate() + public void Generator_WithoutMaui_DoesNotGenerate() { // Arrange var source = @" @@ -65,26 +71,121 @@ public void MyTest() } }"; + var globalOptions = new Dictionary + { + ["build_property.UseMaui"] = "false" + }; + // Act - var (compilation, diagnostics) = GetGeneratedOutput(source); + var (compilation, diagnostics) = GetGeneratedOutput(source, globalOptions); // Assert Assert.Empty(diagnostics); var generatedFiles = compilation.SyntaxTrees - .Where(st => st.FilePath.Contains(".g.cs")) + .Where(st => st.FilePath.Contains(".g.cs") && !st.FilePath.Contains("TestGenerator")) + .ToList(); + + Assert.Empty(generatedFiles); + } + + [Fact] + public void Generator_WithoutTestFramework_DoesNotGenerate() + { + // Arrange + var source = @" +namespace TestApp +{ + public class MyClass + { + public void MyMethod() + { + } + } +}"; + + var globalOptions = new Dictionary + { + ["build_property.UseMaui"] = "true", + ["build_property.MSBuildProjectName"] = "MyApp" + }; + + // Act + var (compilation, diagnostics) = GetGeneratedOutput(source, globalOptions, includeXunit: false); + + // Assert + Assert.Empty(diagnostics); + + var generatedFiles = compilation.SyntaxTrees + .Where(st => st.FilePath.Contains(".g.cs") && !st.FilePath.Contains("TestGenerator")) .ToList(); Assert.Empty(generatedFiles); } - private static (Compilation compilation, ImmutableArray diagnostics) GetGeneratedOutput(string source) + [Fact] + public void Generator_WithExplicitProperty_GeneratesFiles() + { + // Arrange + var source = @" +namespace TestApp +{ + public class Tests + { + [Fact] + public void MyTest() + { + Assert.True(true); + } + } +}"; + + var globalOptions = new Dictionary + { + ["build_property.GenerateDeviceTestApp"] = "true", + ["build_property.ApplicationTitle"] = "Explicit Test App", + ["build_property.ApplicationId"] = "com.explicit.testapp", + ["build_property.RootNamespace"] = "TestApp.Explicit" + }; + + // Act + var (compilation, diagnostics) = GetGeneratedOutput(source, globalOptions); + + // Assert + Assert.Empty(diagnostics); + + var generatedFiles = compilation.SyntaxTrees + .Where(st => st.FilePath.Contains(".g.cs")) + .ToList(); + + Assert.NotEmpty(generatedFiles); + } + + private static (Compilation compilation, ImmutableArray diagnostics) GetGeneratedOutput( + string source, + Dictionary? globalOptions = null, + bool includeXunit = true) { var syntaxTree = CSharpSyntaxTree.ParseText(source); + var references = AppDomain.CurrentDomain.GetAssemblies() .Where(assembly => !assembly.IsDynamic && !string.IsNullOrWhiteSpace(assembly.Location)) .Select(assembly => MetadataReference.CreateFromFile(assembly.Location)) - .Concat(new[] { MetadataReference.CreateFromFile(typeof(DeviceTestAppAttribute).Assembly.Location) }); + .ToList(); + + // Add xunit reference to simulate test project + if (includeXunit) + { + try + { + var xunitAssembly = typeof(Xunit.FactAttribute).Assembly; + references.Add(MetadataReference.CreateFromFile(xunitAssembly.Location)); + } + catch + { + // If xunit is not available, create a mock reference + } + } var compilation = CSharpCompilation.Create("TestAssembly", new[] { syntaxTree }, @@ -93,8 +194,49 @@ private static (Compilation compilation, ImmutableArray diagnostics) var generator = new DeviceTestAppGenerator(); var driver = CSharpGeneratorDriver.Create(generator); + + // Set up analyzer config options + var analyzerConfigOptions = globalOptions != null + ? new TestAnalyzerConfigOptions(globalOptions) + : new TestAnalyzerConfigOptions(new Dictionary()); + + var optionsProvider = new TestAnalyzerConfigOptionsProvider(analyzerConfigOptions); + + driver = (CSharpGeneratorDriver)driver.WithUpdatedAnalyzerConfigOptions(optionsProvider); driver.RunGeneratorsAndUpdateCompilation(compilation, out var newCompilation, out var diagnostics); return (newCompilation, diagnostics); } +} + +// Helper classes for testing +public class TestAnalyzerConfigOptions : AnalyzerConfigOptions +{ + private readonly Dictionary _options; + + public TestAnalyzerConfigOptions(Dictionary options) + { + _options = options; + } + + public override bool TryGetValue(string key, out string value) + { + return _options.TryGetValue(key, out value!); + } +} + +public class TestAnalyzerConfigOptionsProvider : AnalyzerConfigOptionsProvider +{ + private readonly AnalyzerConfigOptions _globalOptions; + + public TestAnalyzerConfigOptionsProvider(AnalyzerConfigOptions globalOptions) + { + _globalOptions = globalOptions; + } + + public override AnalyzerConfigOptions GlobalOptions => _globalOptions; + + public override AnalyzerConfigOptions GetOptions(SyntaxTree tree) => _globalOptions; + + public override AnalyzerConfigOptions GetOptions(AdditionalText textFile) => _globalOptions; } \ No newline at end of file From 5d1ccdcd37eb4f278d5879264856f85253d0dda6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Jun 2025 21:38:02 +0000 Subject: [PATCH 08/27] Finalize working source generator with comprehensive MSBuild integration Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com> --- src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs b/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs index f98fb88f..1c868006 100644 --- a/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs +++ b/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs @@ -1,6 +1,7 @@ using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Text; using System.Text; +using System.Linq; namespace DeviceRunners.SourceGenerators; @@ -14,14 +15,10 @@ public void Initialize(GeneratorInitializationContext context) public void Execute(GeneratorExecutionContext context) { - // Always generate a test file to ensure the generator is running - context.AddSource("TestGenerator.g.cs", SourceText.From("// Test: Source generator is running", Encoding.UTF8)); - // Check if this project should generate device test app files var shouldGenerate = ShouldGenerateDeviceTestApp(context); if (!shouldGenerate) { - context.AddSource("TestGenerator2.g.cs", SourceText.From("// Test: shouldGenerate = false", Encoding.UTF8)); return; } From abdc8b3a1170275eeb62c996f4a89a63bcd3430b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Jun 2025 22:51:15 +0000 Subject: [PATCH 09/27] Add Package.appxmanifest support, fix Windows XAML build action, and add default app resources to NuGet package Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com> --- .../DeviceTestingKitApp.DeviceTests.csproj | 9 ++-- .../DeviceTestAppGenerator.cs | 14 +++--- .../DeviceRunners.SourceGenerators.props | 9 ++++ .../DeviceRunners.SourceGenerators.targets | 27 ++++++++++- .../templates/Resources/AppIcon/appicon.svg | 4 ++ .../templates/Resources/AppIcon/appiconfg.svg | 8 ++++ .../templates/Resources/Splash/splash.svg | 8 ++++ .../templates/Windows/Package.appxmanifest | 46 +++++++++++++++++++ 8 files changed, 111 insertions(+), 14 deletions(-) create mode 100644 src/DeviceRunners.SourceGenerators/build/templates/Resources/AppIcon/appicon.svg create mode 100644 src/DeviceRunners.SourceGenerators/build/templates/Resources/AppIcon/appiconfg.svg create mode 100644 src/DeviceRunners.SourceGenerators/build/templates/Resources/Splash/splash.svg create mode 100644 src/DeviceRunners.SourceGenerators/build/templates/Windows/Package.appxmanifest diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj index c5053e56..2920fee2 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj +++ b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj @@ -12,6 +12,9 @@ $(DefineConstants);MODE_NON_INTERACTIVE_VISUAL $(DefineConstants);MODE_XHARNESS + + true + DeviceTestingKitApp.DeviceTests @@ -24,12 +27,6 @@ - - - - - - diff --git a/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs b/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs index 1c868006..8522bf5f 100644 --- a/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs +++ b/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs @@ -114,13 +114,13 @@ private void GenerateFiles(GeneratorExecutionContext context, DeviceTestAppConfi private void GenerateAndroidFiles(GeneratorExecutionContext context, DeviceTestAppConfiguration config) { // MainActivity.cs - var mainActivity = GetEmbeddedResource("Templates.Platforms.Android.MainActivity.template") + var mainActivity = GetEmbeddedResource("Templates.Platforms.Android.MainActivity.cs.template") .Replace("{{RootNamespace}}", config.RootNamespace) .Replace("{{AppId}}", config.AppId); context.AddSource("Platforms.Android.MainActivity.g.cs", SourceText.From(mainActivity, Encoding.UTF8)); // MainApplication.cs - var mainApplication = GetEmbeddedResource("Templates.Platforms.Android.MainApplication.template") + var mainApplication = GetEmbeddedResource("Templates.Platforms.Android.MainApplication.cs.template") .Replace("{{RootNamespace}}", config.RootNamespace); context.AddSource("Platforms.Android.MainApplication.g.cs", SourceText.From(mainApplication, Encoding.UTF8)); } @@ -128,12 +128,12 @@ private void GenerateAndroidFiles(GeneratorExecutionContext context, DeviceTestA private void GenerateiOSFiles(GeneratorExecutionContext context, DeviceTestAppConfiguration config) { // Program.cs - var program = GetEmbeddedResource("Templates.Platforms.iOS.Program.template") + var program = GetEmbeddedResource("Templates.Platforms.iOS.Program.cs.template") .Replace("{{RootNamespace}}", config.RootNamespace); context.AddSource("Platforms.iOS.Program.g.cs", SourceText.From(program, Encoding.UTF8)); // AppDelegate.cs - var appDelegate = GetEmbeddedResource("Templates.Platforms.iOS.AppDelegate.template") + var appDelegate = GetEmbeddedResource("Templates.Platforms.iOS.AppDelegate.cs.template") .Replace("{{RootNamespace}}", config.RootNamespace); context.AddSource("Platforms.iOS.AppDelegate.g.cs", SourceText.From(appDelegate, Encoding.UTF8)); } @@ -141,7 +141,7 @@ private void GenerateiOSFiles(GeneratorExecutionContext context, DeviceTestAppCo private void GenerateWindowsFiles(GeneratorExecutionContext context, DeviceTestAppConfiguration config) { // App.xaml.cs - var appXamlCs = GetEmbeddedResource("Templates.Platforms.Windows.App.xaml.template") + var appXamlCs = GetEmbeddedResource("Templates.Platforms.Windows.App.xaml.cs.template") .Replace("{{RootNamespace}}", config.RootNamespace); context.AddSource("Platforms.Windows.App.xaml.g.cs", SourceText.From(appXamlCs, Encoding.UTF8)); } @@ -149,12 +149,12 @@ private void GenerateWindowsFiles(GeneratorExecutionContext context, DeviceTestA private void GenerateMacCatalystFiles(GeneratorExecutionContext context, DeviceTestAppConfiguration config) { // Program.cs - var program = GetEmbeddedResource("Templates.Platforms.MacCatalyst.Program.template") + var program = GetEmbeddedResource("Templates.Platforms.MacCatalyst.Program.cs.template") .Replace("{{RootNamespace}}", config.RootNamespace); context.AddSource("Platforms.MacCatalyst.Program.g.cs", SourceText.From(program, Encoding.UTF8)); // AppDelegate.cs - var appDelegate = GetEmbeddedResource("Templates.Platforms.MacCatalyst.AppDelegate.template") + var appDelegate = GetEmbeddedResource("Templates.Platforms.MacCatalyst.AppDelegate.cs.template") .Replace("{{RootNamespace}}", config.RootNamespace); context.AddSource("Platforms.MacCatalyst.AppDelegate.g.cs", SourceText.From(appDelegate, Encoding.UTF8)); } diff --git a/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.props b/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.props index 0c98d167..6a9bbf69 100644 --- a/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.props +++ b/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.props @@ -1,3 +1,12 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.targets b/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.targets index 19c1a851..b79582a3 100644 --- a/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.targets +++ b/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.targets @@ -52,12 +52,31 @@ + + + + <_DeviceRunnerWindowsPackageManifestTemplate>$(MSBuildThisFileDirectory)templates/Windows/Package.appxmanifest + <_DeviceRunnerWindowsPackageManifestDestination>$(IntermediateOutputPath)Platforms/Windows/Package.appxmanifest + + + + + + + + <_WindowsPackageManifestContent>@(_WindowsPackageManifestLines, '%0D%0A') + <_WindowsPackageManifestContent>$(_WindowsPackageManifestContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) + <_WindowsPackageManifestContent>$(_WindowsPackageManifestContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) + + + - + + @@ -68,4 +87,10 @@ + + + + + + \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/build/templates/Resources/AppIcon/appicon.svg b/src/DeviceRunners.SourceGenerators/build/templates/Resources/AppIcon/appicon.svg new file mode 100644 index 00000000..9d63b651 --- /dev/null +++ b/src/DeviceRunners.SourceGenerators/build/templates/Resources/AppIcon/appicon.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/build/templates/Resources/AppIcon/appiconfg.svg b/src/DeviceRunners.SourceGenerators/build/templates/Resources/AppIcon/appiconfg.svg new file mode 100644 index 00000000..21dfb25f --- /dev/null +++ b/src/DeviceRunners.SourceGenerators/build/templates/Resources/AppIcon/appiconfg.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/build/templates/Resources/Splash/splash.svg b/src/DeviceRunners.SourceGenerators/build/templates/Resources/Splash/splash.svg new file mode 100644 index 00000000..21dfb25f --- /dev/null +++ b/src/DeviceRunners.SourceGenerators/build/templates/Resources/Splash/splash.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/build/templates/Windows/Package.appxmanifest b/src/DeviceRunners.SourceGenerators/build/templates/Windows/Package.appxmanifest new file mode 100644 index 00000000..1df81f71 --- /dev/null +++ b/src/DeviceRunners.SourceGenerators/build/templates/Windows/Package.appxmanifest @@ -0,0 +1,46 @@ + + + + + + + + + {{ApplicationTitle}} + User Name + $placeholder$.png + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From ef4070ffb11261b1b8e6a7512b5d2993fc03f28d Mon Sep 17 00:00:00 2001 From: Matthew Leibowitz Date: Thu, 26 Jun 2025 01:02:59 +0200 Subject: [PATCH 10/27] rename --- DeviceRunners.sln | 4 +- .../DeviceTestingKitApp.DeviceTests.csproj | 14 +----- .../Platforms/Android/AndroidManifest.xml | 6 --- .../Platforms/Android/MainActivity.cs | 10 ---- .../Platforms/Android/MainApplication.cs | 15 ------ .../Android/Resources/values/colors.xml | 6 --- .../Platforms/MacCatalyst/AppDelegate.cs | 9 ---- .../Platforms/MacCatalyst/Info.plist | 30 ------------ .../Platforms/MacCatalyst/Program.cs | 14 ------ .../Platforms/Windows/App.xaml | 8 ---- .../Platforms/Windows/App.xaml.cs | 24 ---------- .../Platforms/Windows/Package.appxmanifest | 46 ------------------- .../Platforms/Windows/app.manifest | 15 ------ .../Platforms/iOS/AppDelegate.cs | 9 ---- .../Platforms/iOS/Info.plist | 32 ------------- .../Platforms/iOS/Program.cs | 15 ------ .../DeviceRunners.SourceGenerators.props | 12 ----- ...nners.VisualRunners.Maui.SourceGen.csproj} | 4 +- .../DeviceTestAppGenerator.cs | 4 +- .../Android/MainActivity.cs.template | 0 .../Android/MainApplication.cs.template | 0 .../MacCatalyst/AppDelegate.cs.template | 0 .../Platforms/MacCatalyst/Program.cs.template | 0 .../Platforms/Windows/App.xaml.cs.template | 0 .../Platforms/iOS/AppDelegate.cs.template | 0 .../Platforms/iOS/Program.cs.template | 0 ...Runners.VisualRunners.Maui.SourceGen.props | 3 ++ ...ners.VisualRunners.Maui.SourceGen.targets} | 2 +- .../build/templates/MacCatalyst/Info.plist | 0 .../templates/Resources/AppIcon/appicon.svg | 0 .../templates/Resources/AppIcon/appiconfg.svg | 0 .../templates/Resources/Splash/splash.svg | 0 .../build/templates/Windows/App.xaml | 0 .../templates/Windows/Package.appxmanifest | 0 .../build/templates/Windows/app.manifest | 0 .../build/templates/iOS/Info.plist | 0 ...VisualRunners.Maui.SourceGen.Tests.csproj} | 2 +- .../DeviceTestAppGeneratorTests.cs | 4 +- 38 files changed, 15 insertions(+), 273 deletions(-) delete mode 100644 sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Android/AndroidManifest.xml delete mode 100644 sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Android/MainActivity.cs delete mode 100644 sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Android/MainApplication.cs delete mode 100644 sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Android/Resources/values/colors.xml delete mode 100644 sample/test/DeviceTestingKitApp.DeviceTests/Platforms/MacCatalyst/AppDelegate.cs delete mode 100644 sample/test/DeviceTestingKitApp.DeviceTests/Platforms/MacCatalyst/Info.plist delete mode 100644 sample/test/DeviceTestingKitApp.DeviceTests/Platforms/MacCatalyst/Program.cs delete mode 100644 sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/App.xaml delete mode 100644 sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/App.xaml.cs delete mode 100644 sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/Package.appxmanifest delete mode 100644 sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/app.manifest delete mode 100644 sample/test/DeviceTestingKitApp.DeviceTests/Platforms/iOS/AppDelegate.cs delete mode 100644 sample/test/DeviceTestingKitApp.DeviceTests/Platforms/iOS/Info.plist delete mode 100644 sample/test/DeviceTestingKitApp.DeviceTests/Platforms/iOS/Program.cs delete mode 100644 src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.props rename src/{DeviceRunners.SourceGenerators/DeviceRunners.SourceGenerators.csproj => DeviceRunners.VisualRunners.Maui.SourceGen/DeviceRunners.VisualRunners.Maui.SourceGen.csproj} (85%) rename src/{DeviceRunners.SourceGenerators => DeviceRunners.VisualRunners.Maui.SourceGen}/DeviceTestAppGenerator.cs (98%) rename src/{DeviceRunners.SourceGenerators => DeviceRunners.VisualRunners.Maui.SourceGen}/Templates/Platforms/Android/MainActivity.cs.template (100%) rename src/{DeviceRunners.SourceGenerators => DeviceRunners.VisualRunners.Maui.SourceGen}/Templates/Platforms/Android/MainApplication.cs.template (100%) rename src/{DeviceRunners.SourceGenerators => DeviceRunners.VisualRunners.Maui.SourceGen}/Templates/Platforms/MacCatalyst/AppDelegate.cs.template (100%) rename src/{DeviceRunners.SourceGenerators => DeviceRunners.VisualRunners.Maui.SourceGen}/Templates/Platforms/MacCatalyst/Program.cs.template (100%) rename src/{DeviceRunners.SourceGenerators => DeviceRunners.VisualRunners.Maui.SourceGen}/Templates/Platforms/Windows/App.xaml.cs.template (100%) rename src/{DeviceRunners.SourceGenerators => DeviceRunners.VisualRunners.Maui.SourceGen}/Templates/Platforms/iOS/AppDelegate.cs.template (100%) rename src/{DeviceRunners.SourceGenerators => DeviceRunners.VisualRunners.Maui.SourceGen}/Templates/Platforms/iOS/Program.cs.template (100%) create mode 100644 src/DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.props rename src/{DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.targets => DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.targets} (98%) rename src/{DeviceRunners.SourceGenerators => DeviceRunners.VisualRunners.Maui.SourceGen}/build/templates/MacCatalyst/Info.plist (100%) rename src/{DeviceRunners.SourceGenerators => DeviceRunners.VisualRunners.Maui.SourceGen}/build/templates/Resources/AppIcon/appicon.svg (100%) rename src/{DeviceRunners.SourceGenerators => DeviceRunners.VisualRunners.Maui.SourceGen}/build/templates/Resources/AppIcon/appiconfg.svg (100%) rename src/{DeviceRunners.SourceGenerators => DeviceRunners.VisualRunners.Maui.SourceGen}/build/templates/Resources/Splash/splash.svg (100%) rename src/{DeviceRunners.SourceGenerators => DeviceRunners.VisualRunners.Maui.SourceGen}/build/templates/Windows/App.xaml (100%) rename src/{DeviceRunners.SourceGenerators => DeviceRunners.VisualRunners.Maui.SourceGen}/build/templates/Windows/Package.appxmanifest (100%) rename src/{DeviceRunners.SourceGenerators => DeviceRunners.VisualRunners.Maui.SourceGen}/build/templates/Windows/app.manifest (100%) rename src/{DeviceRunners.SourceGenerators => DeviceRunners.VisualRunners.Maui.SourceGen}/build/templates/iOS/Info.plist (100%) rename test/{DeviceRunners.SourceGenerators.Tests/DeviceRunners.SourceGenerators.Tests.csproj => DeviceRunners.VisualRunners.Maui.SourceGen.Tests/DeviceRunners.VisualRunners.Maui.SourceGen.Tests.csproj} (81%) rename test/{DeviceRunners.SourceGenerators.Tests => DeviceRunners.VisualRunners.Maui.SourceGen.Tests}/DeviceTestAppGeneratorTests.cs (98%) diff --git a/DeviceRunners.sln b/DeviceRunners.sln index a1f1d3d5..fc83b4c3 100644 --- a/DeviceRunners.sln +++ b/DeviceRunners.sln @@ -57,9 +57,9 @@ 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.SourceGenerators", "src\DeviceRunners.SourceGenerators\DeviceRunners.SourceGenerators.csproj", "{7CC730A2-E469-4A6E-87E1-BE00E6F208C8}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeviceRunners.VisualRunners.Maui.SourceGen", "src\DeviceRunners.VisualRunners.Maui.SourceGen\DeviceRunners.VisualRunners.Maui.SourceGen.csproj", "{7CC730A2-E469-4A6E-87E1-BE00E6F208C8}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeviceRunners.SourceGenerators.Tests", "test\DeviceRunners.SourceGenerators.Tests\DeviceRunners.SourceGenerators.Tests.csproj", "{8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeviceRunners.VisualRunners.Maui.SourceGen.Tests", "test\DeviceRunners.VisualRunners.Maui.SourceGen.Tests\DeviceRunners.VisualRunners.Maui.SourceGen.Tests.csproj", "{8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj index 2920fee2..2f54f762 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj +++ b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj @@ -29,7 +29,6 @@ - @@ -38,15 +37,6 @@ - - - - - - - - - @@ -55,11 +45,11 @@ - + - + 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/MainApplication.cs b/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Android/MainApplication.cs deleted file mode 100644 index 0c56902a..00000000 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Android/MainApplication.cs +++ /dev/null @@ -1,15 +0,0 @@ -using Android.App; -using Android.Runtime; - -namespace DeviceTestingKitApp.DeviceTests; - -[Application] -public class MainApplication : MauiApplication -{ - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); -} 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/MacCatalyst/Info.plist b/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/MacCatalyst/Info.plist deleted file mode 100644 index c96dd0a2..00000000 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/MacCatalyst/Info.plist +++ /dev/null @@ -1,30 +0,0 @@ - - - - - UIDeviceFamily - - 1 - 2 - - UIRequiredDeviceCapabilities - - arm64 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - XSAppIconAssets - Assets.xcassets/appicon.appiconset - - diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/MacCatalyst/Program.cs b/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/MacCatalyst/Program.cs deleted file mode 100644 index 2da80003..00000000 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/MacCatalyst/Program.cs +++ /dev/null @@ -1,14 +0,0 @@ -using UIKit; - -namespace DeviceTestingKitApp.DeviceTests; - -public class Program -{ - // This is the main entry point of the application. - static void Main(string[] args) - { - // if you want to use a different Application Delegate class from "AppDelegate" - // you can specify it here. - UIApplication.Main(args, null, typeof(AppDelegate)); - } -} 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/Windows/App.xaml.cs b/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/App.xaml.cs deleted file mode 100644 index c1161730..00000000 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/App.xaml.cs +++ /dev/null @@ -1,24 +0,0 @@ -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; - -/// -/// Provides application-specific behavior to supplement the default Application class. -/// -public partial class App : MauiWinUIApplication -{ - /// - /// Initializes the singleton application object. This is the first line of authored code - /// executed, and as such is the logical equivalent of main() or WinMain(). - /// - public App() - { - this.InitializeComponent(); - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); -} - diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/Package.appxmanifest b/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/Package.appxmanifest deleted file mode 100644 index 2a752e77..00000000 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/Package.appxmanifest +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - $placeholder$ - User Name - $placeholder$.png - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/app.manifest b/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/app.manifest deleted file mode 100644 index 194e4800..00000000 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/Windows/app.manifest +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - true/PM - PerMonitorV2, PerMonitor - - - 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/Platforms/iOS/Info.plist b/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/iOS/Info.plist deleted file mode 100644 index 0004a4fd..00000000 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/iOS/Info.plist +++ /dev/null @@ -1,32 +0,0 @@ - - - - - LSRequiresIPhoneOS - - UIDeviceFamily - - 1 - 2 - - UIRequiredDeviceCapabilities - - arm64 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - XSAppIconAssets - Assets.xcassets/appicon.appiconset - - diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/iOS/Program.cs b/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/iOS/Program.cs deleted file mode 100644 index 6338a133..00000000 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Platforms/iOS/Program.cs +++ /dev/null @@ -1,15 +0,0 @@ -using ObjCRuntime; -using UIKit; - -namespace DeviceTestingKitApp.DeviceTests; - -public class Program -{ - // This is the main entry point of the application. - static void Main(string[] args) - { - // if you want to use a different Application Delegate class from "AppDelegate" - // you can specify it here. - UIApplication.Main(args, null, typeof(AppDelegate)); - } -} diff --git a/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.props b/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.props deleted file mode 100644 index 6a9bbf69..00000000 --- a/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.props +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/DeviceRunners.SourceGenerators.csproj b/src/DeviceRunners.VisualRunners.Maui.SourceGen/DeviceRunners.VisualRunners.Maui.SourceGen.csproj similarity index 85% rename from src/DeviceRunners.SourceGenerators/DeviceRunners.SourceGenerators.csproj rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/DeviceRunners.VisualRunners.Maui.SourceGen.csproj index a7da2aa9..004a2c6c 100644 --- a/src/DeviceRunners.SourceGenerators/DeviceRunners.SourceGenerators.csproj +++ b/src/DeviceRunners.VisualRunners.Maui.SourceGen/DeviceRunners.VisualRunners.Maui.SourceGen.csproj @@ -26,8 +26,8 @@ - - + + diff --git a/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs b/src/DeviceRunners.VisualRunners.Maui.SourceGen/DeviceTestAppGenerator.cs similarity index 98% rename from src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/DeviceTestAppGenerator.cs index 8522bf5f..11c49c6f 100644 --- a/src/DeviceRunners.SourceGenerators/DeviceTestAppGenerator.cs +++ b/src/DeviceRunners.VisualRunners.Maui.SourceGen/DeviceTestAppGenerator.cs @@ -3,7 +3,7 @@ using System.Text; using System.Linq; -namespace DeviceRunners.SourceGenerators; +namespace DeviceRunners.VisualRunners.Maui.SourceGen; [Generator] public class DeviceTestAppGenerator : ISourceGenerator @@ -164,7 +164,7 @@ private string GetEmbeddedResource(string resourceName) var assembly = typeof(DeviceTestAppGenerator).Assembly; // Convert the resource name to the actual embedded resource name - var actualResourceName = $"DeviceRunners.SourceGenerators.{resourceName}"; + var actualResourceName = $"DeviceRunners.VisualRunners.Maui.SourceGen.{resourceName}"; using var stream = assembly.GetManifestResourceStream(actualResourceName); if (stream != null) diff --git a/src/DeviceRunners.SourceGenerators/Templates/Platforms/Android/MainActivity.cs.template b/src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/Android/MainActivity.cs.template similarity index 100% rename from src/DeviceRunners.SourceGenerators/Templates/Platforms/Android/MainActivity.cs.template rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/Android/MainActivity.cs.template diff --git a/src/DeviceRunners.SourceGenerators/Templates/Platforms/Android/MainApplication.cs.template b/src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/Android/MainApplication.cs.template similarity index 100% rename from src/DeviceRunners.SourceGenerators/Templates/Platforms/Android/MainApplication.cs.template rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/Android/MainApplication.cs.template diff --git a/src/DeviceRunners.SourceGenerators/Templates/Platforms/MacCatalyst/AppDelegate.cs.template b/src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/MacCatalyst/AppDelegate.cs.template similarity index 100% rename from src/DeviceRunners.SourceGenerators/Templates/Platforms/MacCatalyst/AppDelegate.cs.template rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/MacCatalyst/AppDelegate.cs.template diff --git a/src/DeviceRunners.SourceGenerators/Templates/Platforms/MacCatalyst/Program.cs.template b/src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/MacCatalyst/Program.cs.template similarity index 100% rename from src/DeviceRunners.SourceGenerators/Templates/Platforms/MacCatalyst/Program.cs.template rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/MacCatalyst/Program.cs.template diff --git a/src/DeviceRunners.SourceGenerators/Templates/Platforms/Windows/App.xaml.cs.template b/src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/Windows/App.xaml.cs.template similarity index 100% rename from src/DeviceRunners.SourceGenerators/Templates/Platforms/Windows/App.xaml.cs.template rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/Windows/App.xaml.cs.template diff --git a/src/DeviceRunners.SourceGenerators/Templates/Platforms/iOS/AppDelegate.cs.template b/src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/iOS/AppDelegate.cs.template similarity index 100% rename from src/DeviceRunners.SourceGenerators/Templates/Platforms/iOS/AppDelegate.cs.template rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/iOS/AppDelegate.cs.template diff --git a/src/DeviceRunners.SourceGenerators/Templates/Platforms/iOS/Program.cs.template b/src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/iOS/Program.cs.template similarity index 100% rename from src/DeviceRunners.SourceGenerators/Templates/Platforms/iOS/Program.cs.template rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/iOS/Program.cs.template diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.props b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.props new file mode 100644 index 00000000..0c98d167 --- /dev/null +++ b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.props @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.targets b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.targets similarity index 98% rename from src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.targets rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.targets index b79582a3..c4c114c1 100644 --- a/src/DeviceRunners.SourceGenerators/build/DeviceRunners.SourceGenerators.targets +++ b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.targets @@ -1,7 +1,7 @@ - + diff --git a/src/DeviceRunners.SourceGenerators/build/templates/MacCatalyst/Info.plist b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/MacCatalyst/Info.plist similarity index 100% rename from src/DeviceRunners.SourceGenerators/build/templates/MacCatalyst/Info.plist rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/MacCatalyst/Info.plist diff --git a/src/DeviceRunners.SourceGenerators/build/templates/Resources/AppIcon/appicon.svg b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Resources/AppIcon/appicon.svg similarity index 100% rename from src/DeviceRunners.SourceGenerators/build/templates/Resources/AppIcon/appicon.svg rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Resources/AppIcon/appicon.svg diff --git a/src/DeviceRunners.SourceGenerators/build/templates/Resources/AppIcon/appiconfg.svg b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Resources/AppIcon/appiconfg.svg similarity index 100% rename from src/DeviceRunners.SourceGenerators/build/templates/Resources/AppIcon/appiconfg.svg rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Resources/AppIcon/appiconfg.svg diff --git a/src/DeviceRunners.SourceGenerators/build/templates/Resources/Splash/splash.svg b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Resources/Splash/splash.svg similarity index 100% rename from src/DeviceRunners.SourceGenerators/build/templates/Resources/Splash/splash.svg rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Resources/Splash/splash.svg diff --git a/src/DeviceRunners.SourceGenerators/build/templates/Windows/App.xaml b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Windows/App.xaml similarity index 100% rename from src/DeviceRunners.SourceGenerators/build/templates/Windows/App.xaml rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Windows/App.xaml diff --git a/src/DeviceRunners.SourceGenerators/build/templates/Windows/Package.appxmanifest b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Windows/Package.appxmanifest similarity index 100% rename from src/DeviceRunners.SourceGenerators/build/templates/Windows/Package.appxmanifest rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Windows/Package.appxmanifest diff --git a/src/DeviceRunners.SourceGenerators/build/templates/Windows/app.manifest b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Windows/app.manifest similarity index 100% rename from src/DeviceRunners.SourceGenerators/build/templates/Windows/app.manifest rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Windows/app.manifest diff --git a/src/DeviceRunners.SourceGenerators/build/templates/iOS/Info.plist b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/iOS/Info.plist similarity index 100% rename from src/DeviceRunners.SourceGenerators/build/templates/iOS/Info.plist rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/iOS/Info.plist diff --git a/test/DeviceRunners.SourceGenerators.Tests/DeviceRunners.SourceGenerators.Tests.csproj b/test/DeviceRunners.VisualRunners.Maui.SourceGen.Tests/DeviceRunners.VisualRunners.Maui.SourceGen.Tests.csproj similarity index 81% rename from test/DeviceRunners.SourceGenerators.Tests/DeviceRunners.SourceGenerators.Tests.csproj rename to test/DeviceRunners.VisualRunners.Maui.SourceGen.Tests/DeviceRunners.VisualRunners.Maui.SourceGen.Tests.csproj index f4516268..94ab0b75 100644 --- a/test/DeviceRunners.SourceGenerators.Tests/DeviceRunners.SourceGenerators.Tests.csproj +++ b/test/DeviceRunners.VisualRunners.Maui.SourceGen.Tests/DeviceRunners.VisualRunners.Maui.SourceGen.Tests.csproj @@ -17,7 +17,7 @@ - + \ No newline at end of file diff --git a/test/DeviceRunners.SourceGenerators.Tests/DeviceTestAppGeneratorTests.cs b/test/DeviceRunners.VisualRunners.Maui.SourceGen.Tests/DeviceTestAppGeneratorTests.cs similarity index 98% rename from test/DeviceRunners.SourceGenerators.Tests/DeviceTestAppGeneratorTests.cs rename to test/DeviceRunners.VisualRunners.Maui.SourceGen.Tests/DeviceTestAppGeneratorTests.cs index b508e443..5a14999b 100644 --- a/test/DeviceRunners.SourceGenerators.Tests/DeviceTestAppGeneratorTests.cs +++ b/test/DeviceRunners.VisualRunners.Maui.SourceGen.Tests/DeviceTestAppGeneratorTests.cs @@ -1,11 +1,11 @@ using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.Diagnostics; -using DeviceRunners.SourceGenerators; +using DeviceRunners.VisualRunners.Maui.SourceGen; using System.Collections.Immutable; using Xunit; -namespace DeviceRunners.SourceGenerators.Tests; +namespace DeviceRunners.VisualRunners.Maui.SourceGen.Tests; public class DeviceTestAppGeneratorTests { From a1292e4c3dceaef8e66a08f69b98981289aaa9ac Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Jun 2025 23:18:46 +0000 Subject: [PATCH 11/27] Remove source generator completely and replace with MSBuild targets for file generation Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com> --- DeviceRunners.sln | 16 +- .../DeviceTestingKitApp.DeviceTests.csproj | 14 +- ...unners.VisualRunners.Maui.SourceGen.csproj | 18 -- .../DeviceTestAppGenerator.cs | 188 -------------- ...Runners.VisualRunners.Maui.SourceGen.props | 4 + ...nners.VisualRunners.Maui.SourceGen.targets | 167 +++++++++++- .../Android/MainActivity.cs.template | 0 .../Android/MainApplication.cs.template | 0 .../MacCatalyst/AppDelegate.cs.template | 0 .../Platforms/MacCatalyst/Program.cs.template | 0 .../Platforms/Windows/App.xaml.cs.template | 0 .../Platforms/iOS/AppDelegate.cs.template | 0 .../Platforms/iOS/Program.cs.template | 0 ....VisualRunners.Maui.SourceGen.Tests.csproj | 23 -- .../DeviceTestAppGeneratorTests.cs | 242 ------------------ 15 files changed, 169 insertions(+), 503 deletions(-) delete mode 100644 src/DeviceRunners.VisualRunners.Maui.SourceGen/DeviceTestAppGenerator.cs rename src/DeviceRunners.VisualRunners.Maui.SourceGen/{Templates => build/templates}/Platforms/Android/MainActivity.cs.template (100%) rename src/DeviceRunners.VisualRunners.Maui.SourceGen/{Templates => build/templates}/Platforms/Android/MainApplication.cs.template (100%) rename src/DeviceRunners.VisualRunners.Maui.SourceGen/{Templates => build/templates}/Platforms/MacCatalyst/AppDelegate.cs.template (100%) rename src/DeviceRunners.VisualRunners.Maui.SourceGen/{Templates => build/templates}/Platforms/MacCatalyst/Program.cs.template (100%) rename src/DeviceRunners.VisualRunners.Maui.SourceGen/{Templates => build/templates}/Platforms/Windows/App.xaml.cs.template (100%) rename src/DeviceRunners.VisualRunners.Maui.SourceGen/{Templates => build/templates}/Platforms/iOS/AppDelegate.cs.template (100%) rename src/DeviceRunners.VisualRunners.Maui.SourceGen/{Templates => build/templates}/Platforms/iOS/Program.cs.template (100%) delete mode 100644 test/DeviceRunners.VisualRunners.Maui.SourceGen.Tests/DeviceRunners.VisualRunners.Maui.SourceGen.Tests.csproj delete mode 100644 test/DeviceRunners.VisualRunners.Maui.SourceGen.Tests/DeviceTestAppGeneratorTests.cs diff --git a/DeviceRunners.sln b/DeviceRunners.sln index fc83b4c3..4acc1a43 100644 --- a/DeviceRunners.sln +++ b/DeviceRunners.sln @@ -59,8 +59,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeviceRunners.Cli.Tests", " EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeviceRunners.VisualRunners.Maui.SourceGen", "src\DeviceRunners.VisualRunners.Maui.SourceGen\DeviceRunners.VisualRunners.Maui.SourceGen.csproj", "{7CC730A2-E469-4A6E-87E1-BE00E6F208C8}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeviceRunners.VisualRunners.Maui.SourceGen.Tests", "test\DeviceRunners.VisualRunners.Maui.SourceGen.Tests\DeviceRunners.VisualRunners.Maui.SourceGen.Tests.csproj", "{8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}" -EndProject + Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -351,18 +350,6 @@ Global {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 - {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Debug|x64.ActiveCfg = Debug|Any CPU - {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Debug|x64.Build.0 = Debug|Any CPU - {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Debug|x86.ActiveCfg = Debug|Any CPU - {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Debug|x86.Build.0 = Debug|Any CPU - {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Release|Any CPU.Build.0 = Release|Any CPU - {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Release|x64.ActiveCfg = Release|Any CPU - {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Release|x64.Build.0 = Release|Any CPU - {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Release|x86.ActiveCfg = Release|Any CPU - {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -393,7 +380,6 @@ Global {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} - {8E2EDAE6-FD7B-4AC6-93A3-B12D4719B07A} = {5073EAFD-FF7B-4C4E-84D2-3AA38A91DE73} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {2DABD41C-B083-429E-AE1E-971CFF8DC199} diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj index 2f54f762..76710ee3 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj +++ b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj @@ -12,8 +12,7 @@ $(DefineConstants);MODE_NON_INTERACTIVE_VISUAL $(DefineConstants);MODE_XHARNESS - - true + DeviceTestingKitApp.DeviceTests @@ -45,13 +44,14 @@ - - - - - + + + + + + diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/DeviceRunners.VisualRunners.Maui.SourceGen.csproj b/src/DeviceRunners.VisualRunners.Maui.SourceGen/DeviceRunners.VisualRunners.Maui.SourceGen.csproj index 004a2c6c..bd8fe3c6 100644 --- a/src/DeviceRunners.VisualRunners.Maui.SourceGen/DeviceRunners.VisualRunners.Maui.SourceGen.csproj +++ b/src/DeviceRunners.VisualRunners.Maui.SourceGen/DeviceRunners.VisualRunners.Maui.SourceGen.csproj @@ -4,27 +4,9 @@ netstandard2.0 latest enable - enable - true false - true - - - - - - - - - - - - - - - diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/DeviceTestAppGenerator.cs b/src/DeviceRunners.VisualRunners.Maui.SourceGen/DeviceTestAppGenerator.cs deleted file mode 100644 index 11c49c6f..00000000 --- a/src/DeviceRunners.VisualRunners.Maui.SourceGen/DeviceTestAppGenerator.cs +++ /dev/null @@ -1,188 +0,0 @@ -using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.Text; -using System.Text; -using System.Linq; - -namespace DeviceRunners.VisualRunners.Maui.SourceGen; - -[Generator] -public class DeviceTestAppGenerator : ISourceGenerator -{ - public void Initialize(GeneratorInitializationContext context) - { - // No syntax receiver needed since we only use MSBuild properties - } - - public void Execute(GeneratorExecutionContext context) - { - // Check if this project should generate device test app files - var shouldGenerate = ShouldGenerateDeviceTestApp(context); - if (!shouldGenerate) - { - return; - } - - // Get configuration from MSBuild properties - var config = GetConfiguration(context); - - // Generate all the required files - GenerateFiles(context, config); - } - - private bool ShouldGenerateDeviceTestApp(GeneratorExecutionContext context) - { - // Check for MSBuild property to explicitly enable generation - if (context.AnalyzerConfigOptions.GlobalOptions.TryGetValue("build_property.GenerateDeviceTestApp", out var value)) - return bool.TrueString.Equals(value, StringComparison.OrdinalIgnoreCase); - - // Check if this is a MAUI project - var isMauiProject = context.AnalyzerConfigOptions.GlobalOptions.TryGetValue("build_property.UseMaui", out var useMaui) && - bool.TrueString.Equals(useMaui, StringComparison.OrdinalIgnoreCase); - - if (!isMauiProject) - return false; - - // Check for test framework references (Xunit, NUnit, etc.) - var hasTestFramework = context.Compilation.ReferencedAssemblyNames.Any(name => - name.Name.IndexOf("xunit", StringComparison.OrdinalIgnoreCase) >= 0 || - name.Name.IndexOf("nunit", StringComparison.OrdinalIgnoreCase) >= 0 || - name.Name.IndexOf("mstest", StringComparison.OrdinalIgnoreCase) >= 0); - - if (!hasTestFramework) - return false; - - // Check for DeviceRunners references - var hasDeviceRunners = context.Compilation.ReferencedAssemblyNames.Any(name => - name.Name.IndexOf("DeviceRunners", StringComparison.OrdinalIgnoreCase) >= 0); - - if (!hasDeviceRunners) - return false; - - // Auto-detect based on project name patterns - if (context.AnalyzerConfigOptions.GlobalOptions.TryGetValue("build_property.MSBuildProjectName", out var projectName)) - { - var lowerProjectName = projectName.ToLower(); - if (lowerProjectName.Contains("devicetest") || - lowerProjectName.Contains("device.test") || - lowerProjectName.EndsWith(".devicetests") || - lowerProjectName.EndsWith("tests") && lowerProjectName.Contains("device")) - return true; - } - - // Check for ApplicationId starting with common test patterns - if (context.AnalyzerConfigOptions.GlobalOptions.TryGetValue("build_property.ApplicationId", out var appId)) - { - var lowerAppId = appId.ToLower(); - if (lowerAppId.Contains("test") || lowerAppId.Contains("devicetest")) - return true; - } - - return false; - } - - private DeviceTestAppConfiguration GetConfiguration(GeneratorExecutionContext context) - { - var config = new DeviceTestAppConfiguration(); - var options = context.AnalyzerConfigOptions.GlobalOptions; - - // Get assembly name and root namespace - config.AssemblyName = context.Compilation.AssemblyName ?? "DeviceTestApp"; - config.RootNamespace = config.AssemblyName; - - // Override with MSBuild properties - if (options.TryGetValue("build_property.ApplicationTitle", out var title) && !string.IsNullOrEmpty(title)) - config.AppTitle = title; - - if (options.TryGetValue("build_property.ApplicationId", out var appId) && !string.IsNullOrEmpty(appId)) - config.AppId = appId; - - if (options.TryGetValue("build_property.RootNamespace", out var rootNamespace) && !string.IsNullOrEmpty(rootNamespace)) - config.RootNamespace = rootNamespace; - - return config; - } - - private void GenerateFiles(GeneratorExecutionContext context, DeviceTestAppConfiguration config) - { - // Generate platform-specific files only - MauiProgram.cs and Usings.cs should be in the app - GenerateAndroidFiles(context, config); - GenerateiOSFiles(context, config); - GenerateWindowsFiles(context, config); - GenerateMacCatalystFiles(context, config); - } - - private void GenerateAndroidFiles(GeneratorExecutionContext context, DeviceTestAppConfiguration config) - { - // MainActivity.cs - var mainActivity = GetEmbeddedResource("Templates.Platforms.Android.MainActivity.cs.template") - .Replace("{{RootNamespace}}", config.RootNamespace) - .Replace("{{AppId}}", config.AppId); - context.AddSource("Platforms.Android.MainActivity.g.cs", SourceText.From(mainActivity, Encoding.UTF8)); - - // MainApplication.cs - var mainApplication = GetEmbeddedResource("Templates.Platforms.Android.MainApplication.cs.template") - .Replace("{{RootNamespace}}", config.RootNamespace); - context.AddSource("Platforms.Android.MainApplication.g.cs", SourceText.From(mainApplication, Encoding.UTF8)); - } - - private void GenerateiOSFiles(GeneratorExecutionContext context, DeviceTestAppConfiguration config) - { - // Program.cs - var program = GetEmbeddedResource("Templates.Platforms.iOS.Program.cs.template") - .Replace("{{RootNamespace}}", config.RootNamespace); - context.AddSource("Platforms.iOS.Program.g.cs", SourceText.From(program, Encoding.UTF8)); - - // AppDelegate.cs - var appDelegate = GetEmbeddedResource("Templates.Platforms.iOS.AppDelegate.cs.template") - .Replace("{{RootNamespace}}", config.RootNamespace); - context.AddSource("Platforms.iOS.AppDelegate.g.cs", SourceText.From(appDelegate, Encoding.UTF8)); - } - - private void GenerateWindowsFiles(GeneratorExecutionContext context, DeviceTestAppConfiguration config) - { - // App.xaml.cs - var appXamlCs = GetEmbeddedResource("Templates.Platforms.Windows.App.xaml.cs.template") - .Replace("{{RootNamespace}}", config.RootNamespace); - context.AddSource("Platforms.Windows.App.xaml.g.cs", SourceText.From(appXamlCs, Encoding.UTF8)); - } - - private void GenerateMacCatalystFiles(GeneratorExecutionContext context, DeviceTestAppConfiguration config) - { - // Program.cs - var program = GetEmbeddedResource("Templates.Platforms.MacCatalyst.Program.cs.template") - .Replace("{{RootNamespace}}", config.RootNamespace); - context.AddSource("Platforms.MacCatalyst.Program.g.cs", SourceText.From(program, Encoding.UTF8)); - - // AppDelegate.cs - var appDelegate = GetEmbeddedResource("Templates.Platforms.MacCatalyst.AppDelegate.cs.template") - .Replace("{{RootNamespace}}", config.RootNamespace); - context.AddSource("Platforms.MacCatalyst.AppDelegate.g.cs", SourceText.From(appDelegate, Encoding.UTF8)); - } - - private string GetEmbeddedResource(string resourceName) - { - var assembly = typeof(DeviceTestAppGenerator).Assembly; - - // Convert the resource name to the actual embedded resource name - var actualResourceName = $"DeviceRunners.VisualRunners.Maui.SourceGen.{resourceName}"; - - using var stream = assembly.GetManifestResourceStream(actualResourceName); - if (stream != null) - { - using var reader = new StreamReader(stream); - return reader.ReadToEnd(); - } - - // If not found, list all available resources for debugging - var availableResources = string.Join(", ", assembly.GetManifestResourceNames()); - return $"// Resource not found: {resourceName}\n// Available resources: {availableResources}"; - } -} - -public class DeviceTestAppConfiguration -{ - public string AssemblyName { get; set; } = "DeviceTestApp"; - public string RootNamespace { get; set; } = "DeviceTestApp"; - public string AppTitle { get; set; } = "DeviceTestApp"; - public string AppId { get; set; } = "com.companyname.devicetestapp"; -} \ No newline at end of file diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.props b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.props index 0c98d167..6b48033f 100644 --- a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.props +++ b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.props @@ -1,3 +1,7 @@ + + + <_ShouldGenerateDeviceTestApp Condition="'$(UseMaui)' == 'true' AND '$(DesignTimeBuild)' != 'true'">true + \ No newline at end of file diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.targets b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.targets index c4c114c1..4fbf5b40 100644 --- a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.targets +++ b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.targets @@ -1,9 +1,6 @@ - - - - + @@ -14,8 +11,144 @@ - - + + + + + + + <_AndroidMainActivityTemplate>$(MSBuildThisFileDirectory)templates/Platforms/Android/MainActivity.cs.template + <_AndroidMainActivityDestination>$(IntermediateOutputPath)Platforms/Android/MainActivity.cs + + + + + + + + <_AndroidMainActivityContent>@(_AndroidMainActivityLines, '%0D%0A') + <_AndroidMainActivityContent>$(_AndroidMainActivityContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) + <_AndroidMainActivityContent>$(_AndroidMainActivityContent.Replace('{{AppId}}', '$(ApplicationId)')) + + + + + + + <_AndroidMainApplicationTemplate>$(MSBuildThisFileDirectory)templates/Platforms/Android/MainApplication.cs.template + <_AndroidMainApplicationDestination>$(IntermediateOutputPath)Platforms/Android/MainApplication.cs + + + + + + + + <_AndroidMainApplicationContent>@(_AndroidMainApplicationLines, '%0D%0A') + <_AndroidMainApplicationContent>$(_AndroidMainApplicationContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) + + + + + + + + + + + + <_iOSProgramTemplate>$(MSBuildThisFileDirectory)templates/Platforms/iOS/Program.cs.template + <_iOSProgramDestination>$(IntermediateOutputPath)Platforms/iOS/Program.cs + + + + + + + + <_iOSProgramContent>@(_iOSProgramLines, '%0D%0A') + <_iOSProgramContent>$(_iOSProgramContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) + + + + + + + <_iOSAppDelegateTemplate>$(MSBuildThisFileDirectory)templates/Platforms/iOS/AppDelegate.cs.template + <_iOSAppDelegateDestination>$(IntermediateOutputPath)Platforms/iOS/AppDelegate.cs + + + + + + + + <_iOSAppDelegateContent>@(_iOSAppDelegateLines, '%0D%0A') + <_iOSAppDelegateContent>$(_iOSAppDelegateContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) + + + + + + + + + + + + <_MacCatalystProgramTemplate>$(MSBuildThisFileDirectory)templates/Platforms/MacCatalyst/Program.cs.template + <_MacCatalystProgramDestination>$(IntermediateOutputPath)Platforms/MacCatalyst/Program.cs + + + + + + + + <_MacCatalystProgramContent>@(_MacCatalystProgramLines, '%0D%0A') + <_MacCatalystProgramContent>$(_MacCatalystProgramContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) + + + + + + + <_MacCatalystAppDelegateTemplate>$(MSBuildThisFileDirectory)templates/Platforms/MacCatalyst/AppDelegate.cs.template + <_MacCatalystAppDelegateDestination>$(IntermediateOutputPath)Platforms/MacCatalyst/AppDelegate.cs + + + + + + + + <_MacCatalystAppDelegateContent>@(_MacCatalystAppDelegateLines, '%0D%0A') + <_MacCatalystAppDelegateContent>$(_MacCatalystAppDelegateContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) + + + + + + + + + + + + <_WindowsAppXamlCsTemplate>$(MSBuildThisFileDirectory)templates/Platforms/Windows/App.xaml.cs.template + <_WindowsAppXamlCsDestination>$(IntermediateOutputPath)Platforms/Windows/App.xaml.cs + + + + + + + + <_WindowsAppXamlCsContent>@(_WindowsAppXamlCsLines, '%0D%0A') + <_WindowsAppXamlCsContent>$(_WindowsAppXamlCsContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) + + + @@ -23,8 +156,6 @@ <_DeviceRunnerWindowsAppXamlDestination>$(IntermediateOutputPath)Platforms/Windows/App.xaml - - @@ -72,8 +203,24 @@ - - + + + + + + + + + + + + + + + + + + diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/Android/MainActivity.cs.template b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/Android/MainActivity.cs.template similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/Android/MainActivity.cs.template rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/Android/MainActivity.cs.template diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/Android/MainApplication.cs.template b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/Android/MainApplication.cs.template similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/Android/MainApplication.cs.template rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/Android/MainApplication.cs.template diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/MacCatalyst/AppDelegate.cs.template b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/MacCatalyst/AppDelegate.cs.template similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/MacCatalyst/AppDelegate.cs.template rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/MacCatalyst/AppDelegate.cs.template diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/MacCatalyst/Program.cs.template b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/MacCatalyst/Program.cs.template similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/MacCatalyst/Program.cs.template rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/MacCatalyst/Program.cs.template diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/Windows/App.xaml.cs.template b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/Windows/App.xaml.cs.template similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/Windows/App.xaml.cs.template rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/Windows/App.xaml.cs.template diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/iOS/AppDelegate.cs.template b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/iOS/AppDelegate.cs.template similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/iOS/AppDelegate.cs.template rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/iOS/AppDelegate.cs.template diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/iOS/Program.cs.template b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/iOS/Program.cs.template similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/Templates/Platforms/iOS/Program.cs.template rename to src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/iOS/Program.cs.template diff --git a/test/DeviceRunners.VisualRunners.Maui.SourceGen.Tests/DeviceRunners.VisualRunners.Maui.SourceGen.Tests.csproj b/test/DeviceRunners.VisualRunners.Maui.SourceGen.Tests/DeviceRunners.VisualRunners.Maui.SourceGen.Tests.csproj deleted file mode 100644 index 94ab0b75..00000000 --- a/test/DeviceRunners.VisualRunners.Maui.SourceGen.Tests/DeviceRunners.VisualRunners.Maui.SourceGen.Tests.csproj +++ /dev/null @@ -1,23 +0,0 @@ - - - - net9.0 - enable - enable - false - true - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/test/DeviceRunners.VisualRunners.Maui.SourceGen.Tests/DeviceTestAppGeneratorTests.cs b/test/DeviceRunners.VisualRunners.Maui.SourceGen.Tests/DeviceTestAppGeneratorTests.cs deleted file mode 100644 index 5a14999b..00000000 --- a/test/DeviceRunners.VisualRunners.Maui.SourceGen.Tests/DeviceTestAppGeneratorTests.cs +++ /dev/null @@ -1,242 +0,0 @@ -using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.CSharp; -using Microsoft.CodeAnalysis.Diagnostics; -using DeviceRunners.VisualRunners.Maui.SourceGen; -using System.Collections.Immutable; -using Xunit; - -namespace DeviceRunners.VisualRunners.Maui.SourceGen.Tests; - -public class DeviceTestAppGeneratorTests -{ - [Fact] - public void Generator_WithMauiAndTestFramework_GeneratesFiles() - { - // Arrange - var source = @" -namespace TestApp -{ - public class Tests - { - [Fact] - public void MyTest() - { - Assert.True(true); - } - } -}"; - - var globalOptions = new Dictionary - { - ["build_property.UseMaui"] = "true", - ["build_property.ApplicationTitle"] = "My Test App", - ["build_property.ApplicationId"] = "com.test.myapp", - ["build_property.RootNamespace"] = "TestApp", - ["build_property.MSBuildProjectName"] = "TestApp.DeviceTests" - }; - - // Act - var (compilation, diagnostics) = GetGeneratedOutput(source, globalOptions); - - // Assert - Assert.Empty(diagnostics); - - var generatedFiles = compilation.SyntaxTrees - .Where(st => st.FilePath.Contains(".g.cs")) - .ToList(); - - Assert.NotEmpty(generatedFiles); - - // Should have platform files - Assert.Contains(generatedFiles, f => f.FilePath.Contains("Android.MainActivity.g.cs")); - Assert.Contains(generatedFiles, f => f.FilePath.Contains("iOS.Program.g.cs")); - Assert.Contains(generatedFiles, f => f.FilePath.Contains("Windows.App.xaml.g.cs")); - Assert.Contains(generatedFiles, f => f.FilePath.Contains("MacCatalyst.Program.g.cs")); - } - - [Fact] - public void Generator_WithoutMaui_DoesNotGenerate() - { - // Arrange - var source = @" -namespace TestApp -{ - public class Tests - { - [Fact] - public void MyTest() - { - Assert.True(true); - } - } -}"; - - var globalOptions = new Dictionary - { - ["build_property.UseMaui"] = "false" - }; - - // Act - var (compilation, diagnostics) = GetGeneratedOutput(source, globalOptions); - - // Assert - Assert.Empty(diagnostics); - - var generatedFiles = compilation.SyntaxTrees - .Where(st => st.FilePath.Contains(".g.cs") && !st.FilePath.Contains("TestGenerator")) - .ToList(); - - Assert.Empty(generatedFiles); - } - - [Fact] - public void Generator_WithoutTestFramework_DoesNotGenerate() - { - // Arrange - var source = @" -namespace TestApp -{ - public class MyClass - { - public void MyMethod() - { - } - } -}"; - - var globalOptions = new Dictionary - { - ["build_property.UseMaui"] = "true", - ["build_property.MSBuildProjectName"] = "MyApp" - }; - - // Act - var (compilation, diagnostics) = GetGeneratedOutput(source, globalOptions, includeXunit: false); - - // Assert - Assert.Empty(diagnostics); - - var generatedFiles = compilation.SyntaxTrees - .Where(st => st.FilePath.Contains(".g.cs") && !st.FilePath.Contains("TestGenerator")) - .ToList(); - - Assert.Empty(generatedFiles); - } - - [Fact] - public void Generator_WithExplicitProperty_GeneratesFiles() - { - // Arrange - var source = @" -namespace TestApp -{ - public class Tests - { - [Fact] - public void MyTest() - { - Assert.True(true); - } - } -}"; - - var globalOptions = new Dictionary - { - ["build_property.GenerateDeviceTestApp"] = "true", - ["build_property.ApplicationTitle"] = "Explicit Test App", - ["build_property.ApplicationId"] = "com.explicit.testapp", - ["build_property.RootNamespace"] = "TestApp.Explicit" - }; - - // Act - var (compilation, diagnostics) = GetGeneratedOutput(source, globalOptions); - - // Assert - Assert.Empty(diagnostics); - - var generatedFiles = compilation.SyntaxTrees - .Where(st => st.FilePath.Contains(".g.cs")) - .ToList(); - - Assert.NotEmpty(generatedFiles); - } - - private static (Compilation compilation, ImmutableArray diagnostics) GetGeneratedOutput( - string source, - Dictionary? globalOptions = null, - bool includeXunit = true) - { - var syntaxTree = CSharpSyntaxTree.ParseText(source); - - var references = AppDomain.CurrentDomain.GetAssemblies() - .Where(assembly => !assembly.IsDynamic && !string.IsNullOrWhiteSpace(assembly.Location)) - .Select(assembly => MetadataReference.CreateFromFile(assembly.Location)) - .ToList(); - - // Add xunit reference to simulate test project - if (includeXunit) - { - try - { - var xunitAssembly = typeof(Xunit.FactAttribute).Assembly; - references.Add(MetadataReference.CreateFromFile(xunitAssembly.Location)); - } - catch - { - // If xunit is not available, create a mock reference - } - } - - var compilation = CSharpCompilation.Create("TestAssembly", - new[] { syntaxTree }, - references, - new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)); - - var generator = new DeviceTestAppGenerator(); - var driver = CSharpGeneratorDriver.Create(generator); - - // Set up analyzer config options - var analyzerConfigOptions = globalOptions != null - ? new TestAnalyzerConfigOptions(globalOptions) - : new TestAnalyzerConfigOptions(new Dictionary()); - - var optionsProvider = new TestAnalyzerConfigOptionsProvider(analyzerConfigOptions); - - driver = (CSharpGeneratorDriver)driver.WithUpdatedAnalyzerConfigOptions(optionsProvider); - driver.RunGeneratorsAndUpdateCompilation(compilation, out var newCompilation, out var diagnostics); - - return (newCompilation, diagnostics); - } -} - -// Helper classes for testing -public class TestAnalyzerConfigOptions : AnalyzerConfigOptions -{ - private readonly Dictionary _options; - - public TestAnalyzerConfigOptions(Dictionary options) - { - _options = options; - } - - public override bool TryGetValue(string key, out string value) - { - return _options.TryGetValue(key, out value!); - } -} - -public class TestAnalyzerConfigOptionsProvider : AnalyzerConfigOptionsProvider -{ - private readonly AnalyzerConfigOptions _globalOptions; - - public TestAnalyzerConfigOptionsProvider(AnalyzerConfigOptions globalOptions) - { - _globalOptions = globalOptions; - } - - public override AnalyzerConfigOptions GlobalOptions => _globalOptions; - - public override AnalyzerConfigOptions GetOptions(SyntaxTree tree) => _globalOptions; - - public override AnalyzerConfigOptions GetOptions(AdditionalText textFile) => _globalOptions; -} \ No newline at end of file From 13d83021d51bec97f28ca7b7f43b13aae7b8f21d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Jun 2025 23:58:32 +0000 Subject: [PATCH 12/27] Refactor MSBuild targets to use reusable ProcessTemplate target Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com> --- ...nners.VisualRunners.Maui.SourceGen.targets | 209 +++++------------- 1 file changed, 52 insertions(+), 157 deletions(-) diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.targets b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.targets index 4fbf5b40..6f0f31c6 100644 --- a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.targets +++ b/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.targets @@ -11,44 +11,36 @@ - - - - - - - <_AndroidMainActivityTemplate>$(MSBuildThisFileDirectory)templates/Platforms/Android/MainActivity.cs.template - <_AndroidMainActivityDestination>$(IntermediateOutputPath)Platforms/Android/MainActivity.cs - - - - + + + + - <_AndroidMainActivityContent>@(_AndroidMainActivityLines, '%0D%0A') - <_AndroidMainActivityContent>$(_AndroidMainActivityContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) - <_AndroidMainActivityContent>$(_AndroidMainActivityContent.Replace('{{AppId}}', '$(ApplicationId)')) + <_ProcessedContent>@(_TemplateLines, '%0D%0A') + <_ProcessedContent>$(_ProcessedContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{AppId}}', '$(ApplicationId)')) - - - - - <_AndroidMainApplicationTemplate>$(MSBuildThisFileDirectory)templates/Platforms/Android/MainApplication.cs.template - <_AndroidMainApplicationDestination>$(IntermediateOutputPath)Platforms/Android/MainApplication.cs - - - - - + + + + + + - - <_AndroidMainApplicationContent>@(_AndroidMainApplicationLines, '%0D%0A') - <_AndroidMainApplicationContent>$(_AndroidMainApplicationContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) - + + - + + @@ -56,38 +48,14 @@ - - <_iOSProgramTemplate>$(MSBuildThisFileDirectory)templates/Platforms/iOS/Program.cs.template - <_iOSProgramDestination>$(IntermediateOutputPath)Platforms/iOS/Program.cs - - - - - - - - <_iOSProgramContent>@(_iOSProgramLines, '%0D%0A') - <_iOSProgramContent>$(_iOSProgramContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) - - - + - - <_iOSAppDelegateTemplate>$(MSBuildThisFileDirectory)templates/Platforms/iOS/AppDelegate.cs.template - <_iOSAppDelegateDestination>$(IntermediateOutputPath)Platforms/iOS/AppDelegate.cs - - - - - - - - <_iOSAppDelegateContent>@(_iOSAppDelegateLines, '%0D%0A') - <_iOSAppDelegateContent>$(_iOSAppDelegateContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) - - - + @@ -95,38 +63,14 @@ - - <_MacCatalystProgramTemplate>$(MSBuildThisFileDirectory)templates/Platforms/MacCatalyst/Program.cs.template - <_MacCatalystProgramDestination>$(IntermediateOutputPath)Platforms/MacCatalyst/Program.cs - - - - - - - - <_MacCatalystProgramContent>@(_MacCatalystProgramLines, '%0D%0A') - <_MacCatalystProgramContent>$(_MacCatalystProgramContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) - - - + - - <_MacCatalystAppDelegateTemplate>$(MSBuildThisFileDirectory)templates/Platforms/MacCatalyst/AppDelegate.cs.template - <_MacCatalystAppDelegateDestination>$(IntermediateOutputPath)Platforms/MacCatalyst/AppDelegate.cs - - - - - - - - <_MacCatalystAppDelegateContent>@(_MacCatalystAppDelegateLines, '%0D%0A') - <_MacCatalystAppDelegateContent>$(_MacCatalystAppDelegateContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) - - - + @@ -134,73 +78,24 @@ - - <_WindowsAppXamlCsTemplate>$(MSBuildThisFileDirectory)templates/Platforms/Windows/App.xaml.cs.template - <_WindowsAppXamlCsDestination>$(IntermediateOutputPath)Platforms/Windows/App.xaml.cs - - - - - - - - <_WindowsAppXamlCsContent>@(_WindowsAppXamlCsLines, '%0D%0A') - <_WindowsAppXamlCsContent>$(_WindowsAppXamlCsContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) - - - - - - - <_DeviceRunnerWindowsAppXamlTemplate>$(MSBuildThisFileDirectory)templates/Windows/App.xaml - <_DeviceRunnerWindowsAppXamlDestination>$(IntermediateOutputPath)Platforms/Windows/App.xaml - - - - - - - - <_WindowsAppXamlContent>@(_WindowsAppXamlLines, '%0D%0A') - <_WindowsAppXamlContent>$(_WindowsAppXamlContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) - - - - - - - <_DeviceRunnerWindowsAppManifestTemplate>$(MSBuildThisFileDirectory)templates/Windows/app.manifest - <_DeviceRunnerWindowsAppManifestDestination>$(IntermediateOutputPath)Platforms/Windows/app.manifest - - - - - - - - <_WindowsAppManifestContent>@(_WindowsAppManifestLines, '%0D%0A') - <_WindowsAppManifestContent>$(_WindowsAppManifestContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) - - - + + + + + + + - - - <_DeviceRunnerWindowsPackageManifestTemplate>$(MSBuildThisFileDirectory)templates/Windows/Package.appxmanifest - <_DeviceRunnerWindowsPackageManifestDestination>$(IntermediateOutputPath)Platforms/Windows/Package.appxmanifest - - - - - - - - <_WindowsPackageManifestContent>@(_WindowsPackageManifestLines, '%0D%0A') - <_WindowsPackageManifestContent>$(_WindowsPackageManifestContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) - <_WindowsPackageManifestContent>$(_WindowsPackageManifestContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) - - - + + From c868ea5532265c64cffb206dca6fbdc601c3b8dc Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 26 Jun 2025 00:13:05 +0000 Subject: [PATCH 13/27] Rename SourceGen to Bootstrap to better reflect the current purpose Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com> --- DeviceRunners.sln | 2 +- .../DeviceTestingKitApp.DeviceTests.csproj | 6 +++--- .../DeviceRunners.VisualRunners.Maui.Bootstrap.csproj} | 4 ++-- .../build/DeviceRunners.VisualRunners.Maui.Bootstrap.props} | 0 .../DeviceRunners.VisualRunners.Maui.Bootstrap.targets} | 0 .../build/templates/MacCatalyst/Info.plist | 0 .../templates/Platforms/Android/MainActivity.cs.template | 0 .../templates/Platforms/Android/MainApplication.cs.template | 0 .../templates/Platforms/MacCatalyst/AppDelegate.cs.template | 0 .../templates/Platforms/MacCatalyst/Program.cs.template | 0 .../build/templates/Platforms/Windows/App.xaml.cs.template | 0 .../build/templates/Platforms/iOS/AppDelegate.cs.template | 0 .../build/templates/Platforms/iOS/Program.cs.template | 0 .../build/templates/Resources/AppIcon/appicon.svg | 0 .../build/templates/Resources/AppIcon/appiconfg.svg | 0 .../build/templates/Resources/Splash/splash.svg | 0 .../build/templates/Windows/App.xaml | 0 .../build/templates/Windows/Package.appxmanifest | 0 .../build/templates/Windows/app.manifest | 0 .../build/templates/iOS/Info.plist | 0 20 files changed, 6 insertions(+), 6 deletions(-) rename src/{DeviceRunners.VisualRunners.Maui.SourceGen/DeviceRunners.VisualRunners.Maui.SourceGen.csproj => DeviceRunners.VisualRunners.Maui.Bootstrap/DeviceRunners.VisualRunners.Maui.Bootstrap.csproj} (62%) rename src/{DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.props => DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.props} (100%) rename src/{DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.targets => DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.targets} (100%) rename src/{DeviceRunners.VisualRunners.Maui.SourceGen => DeviceRunners.VisualRunners.Maui.Bootstrap}/build/templates/MacCatalyst/Info.plist (100%) rename src/{DeviceRunners.VisualRunners.Maui.SourceGen => DeviceRunners.VisualRunners.Maui.Bootstrap}/build/templates/Platforms/Android/MainActivity.cs.template (100%) rename src/{DeviceRunners.VisualRunners.Maui.SourceGen => DeviceRunners.VisualRunners.Maui.Bootstrap}/build/templates/Platforms/Android/MainApplication.cs.template (100%) rename src/{DeviceRunners.VisualRunners.Maui.SourceGen => DeviceRunners.VisualRunners.Maui.Bootstrap}/build/templates/Platforms/MacCatalyst/AppDelegate.cs.template (100%) rename src/{DeviceRunners.VisualRunners.Maui.SourceGen => DeviceRunners.VisualRunners.Maui.Bootstrap}/build/templates/Platforms/MacCatalyst/Program.cs.template (100%) rename src/{DeviceRunners.VisualRunners.Maui.SourceGen => DeviceRunners.VisualRunners.Maui.Bootstrap}/build/templates/Platforms/Windows/App.xaml.cs.template (100%) rename src/{DeviceRunners.VisualRunners.Maui.SourceGen => DeviceRunners.VisualRunners.Maui.Bootstrap}/build/templates/Platforms/iOS/AppDelegate.cs.template (100%) rename src/{DeviceRunners.VisualRunners.Maui.SourceGen => DeviceRunners.VisualRunners.Maui.Bootstrap}/build/templates/Platforms/iOS/Program.cs.template (100%) rename src/{DeviceRunners.VisualRunners.Maui.SourceGen => DeviceRunners.VisualRunners.Maui.Bootstrap}/build/templates/Resources/AppIcon/appicon.svg (100%) rename src/{DeviceRunners.VisualRunners.Maui.SourceGen => DeviceRunners.VisualRunners.Maui.Bootstrap}/build/templates/Resources/AppIcon/appiconfg.svg (100%) rename src/{DeviceRunners.VisualRunners.Maui.SourceGen => DeviceRunners.VisualRunners.Maui.Bootstrap}/build/templates/Resources/Splash/splash.svg (100%) rename src/{DeviceRunners.VisualRunners.Maui.SourceGen => DeviceRunners.VisualRunners.Maui.Bootstrap}/build/templates/Windows/App.xaml (100%) rename src/{DeviceRunners.VisualRunners.Maui.SourceGen => DeviceRunners.VisualRunners.Maui.Bootstrap}/build/templates/Windows/Package.appxmanifest (100%) rename src/{DeviceRunners.VisualRunners.Maui.SourceGen => DeviceRunners.VisualRunners.Maui.Bootstrap}/build/templates/Windows/app.manifest (100%) rename src/{DeviceRunners.VisualRunners.Maui.SourceGen => DeviceRunners.VisualRunners.Maui.Bootstrap}/build/templates/iOS/Info.plist (100%) diff --git a/DeviceRunners.sln b/DeviceRunners.sln index 4acc1a43..6606bcd6 100644 --- a/DeviceRunners.sln +++ b/DeviceRunners.sln @@ -57,7 +57,7 @@ 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.SourceGen", "src\DeviceRunners.VisualRunners.Maui.SourceGen\DeviceRunners.VisualRunners.Maui.SourceGen.csproj", "{7CC730A2-E469-4A6E-87E1-BE00E6F208C8}" +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 diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj index 76710ee3..66f58b51 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj +++ b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj @@ -44,12 +44,12 @@ - + - - + + diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/DeviceRunners.VisualRunners.Maui.SourceGen.csproj b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/DeviceRunners.VisualRunners.Maui.Bootstrap.csproj similarity index 62% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/DeviceRunners.VisualRunners.Maui.SourceGen.csproj rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/DeviceRunners.VisualRunners.Maui.Bootstrap.csproj index bd8fe3c6..08378229 100644 --- a/src/DeviceRunners.VisualRunners.Maui.SourceGen/DeviceRunners.VisualRunners.Maui.SourceGen.csproj +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/DeviceRunners.VisualRunners.Maui.Bootstrap.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.props b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.props similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.props rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.props diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.targets b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.targets similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/build/DeviceRunners.VisualRunners.Maui.SourceGen.targets rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.targets diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/MacCatalyst/Info.plist b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/MacCatalyst/Info.plist similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/MacCatalyst/Info.plist rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/MacCatalyst/Info.plist diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/Android/MainActivity.cs.template b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Android/MainActivity.cs.template similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/Android/MainActivity.cs.template rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Android/MainActivity.cs.template diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/Android/MainApplication.cs.template b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Android/MainApplication.cs.template similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/Android/MainApplication.cs.template rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Android/MainApplication.cs.template diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/MacCatalyst/AppDelegate.cs.template b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/MacCatalyst/AppDelegate.cs.template similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/MacCatalyst/AppDelegate.cs.template rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/MacCatalyst/AppDelegate.cs.template diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/MacCatalyst/Program.cs.template b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/MacCatalyst/Program.cs.template similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/MacCatalyst/Program.cs.template rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/MacCatalyst/Program.cs.template diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/Windows/App.xaml.cs.template b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/App.xaml.cs.template similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/Windows/App.xaml.cs.template rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/App.xaml.cs.template diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/iOS/AppDelegate.cs.template b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/iOS/AppDelegate.cs.template similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/iOS/AppDelegate.cs.template rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/iOS/AppDelegate.cs.template diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/iOS/Program.cs.template b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/iOS/Program.cs.template similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Platforms/iOS/Program.cs.template rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/iOS/Program.cs.template diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Resources/AppIcon/appicon.svg b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Resources/AppIcon/appicon.svg similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Resources/AppIcon/appicon.svg rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Resources/AppIcon/appicon.svg diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Resources/AppIcon/appiconfg.svg b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Resources/AppIcon/appiconfg.svg similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Resources/AppIcon/appiconfg.svg rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Resources/AppIcon/appiconfg.svg diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Resources/Splash/splash.svg b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Resources/Splash/splash.svg similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Resources/Splash/splash.svg rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Resources/Splash/splash.svg diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Windows/App.xaml b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Windows/App.xaml similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Windows/App.xaml rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Windows/App.xaml diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Windows/Package.appxmanifest b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Windows/Package.appxmanifest similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Windows/Package.appxmanifest rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Windows/Package.appxmanifest diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Windows/app.manifest b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Windows/app.manifest similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/Windows/app.manifest rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Windows/app.manifest diff --git a/src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/iOS/Info.plist b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/iOS/Info.plist similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.SourceGen/build/templates/iOS/Info.plist rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/iOS/Info.plist From f8c36fab048795aa97f833ece54c4f33c40f0a34 Mon Sep 17 00:00:00 2001 From: Matthew Leibowitz Date: Thu, 26 Jun 2025 02:29:33 +0200 Subject: [PATCH 14/27] Update DeviceTestingKitApp.DeviceTests.csproj --- .../DeviceTestingKitApp.DeviceTests.csproj | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj index 66f58b51..31626631 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj +++ b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj @@ -36,6 +36,11 @@ + + + + + From bae90d048aec037cd88681e33c50ee56a5328aa1 Mon Sep 17 00:00:00 2001 From: Matthew Leibowitz Date: Thu, 26 Jun 2025 02:31:23 +0200 Subject: [PATCH 15/27] more --- .../DeviceTestingKitApp.DeviceTests.csproj | 6 ++++-- .../Resources/AppIcon/appicon.svg | 4 ---- .../Resources/AppIcon/appiconfg.svg | 8 -------- .../Resources/Splash/splash.svg | 8 -------- 4 files changed, 4 insertions(+), 22 deletions(-) delete mode 100644 sample/test/DeviceTestingKitApp.DeviceTests/Resources/AppIcon/appicon.svg delete mode 100644 sample/test/DeviceTestingKitApp.DeviceTests/Resources/AppIcon/appiconfg.svg delete mode 100644 sample/test/DeviceTestingKitApp.DeviceTests/Resources/Splash/splash.svg diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj index 31626631..6a15dc34 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj +++ b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj @@ -1,5 +1,7 @@  + + net9.0-android $(TargetFrameworks);net9.0-ios;net9.0-maccatalyst @@ -12,8 +14,6 @@ $(DefineConstants);MODE_NON_INTERACTIVE_VISUAL $(DefineConstants);MODE_XHARNESS - - DeviceTestingKitApp.DeviceTests @@ -62,4 +62,6 @@ + + diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Resources/AppIcon/appicon.svg b/sample/test/DeviceTestingKitApp.DeviceTests/Resources/AppIcon/appicon.svg deleted file mode 100644 index 9d63b651..00000000 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Resources/AppIcon/appicon.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Resources/AppIcon/appiconfg.svg b/sample/test/DeviceTestingKitApp.DeviceTests/Resources/AppIcon/appiconfg.svg deleted file mode 100644 index 21dfb25f..00000000 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Resources/AppIcon/appiconfg.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/Resources/Splash/splash.svg b/sample/test/DeviceTestingKitApp.DeviceTests/Resources/Splash/splash.svg deleted file mode 100644 index 21dfb25f..00000000 --- a/sample/test/DeviceTestingKitApp.DeviceTests/Resources/Splash/splash.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file From 63a87aaa81cabd890c3077e0f93299306883e440 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 26 Jun 2025 01:24:25 +0000 Subject: [PATCH 16/27] Refactor MSBuild targets to use CallTarget instead of MSBuild task Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com> --- preprocessed.xml | 26687 ++++++++++++++++ .../DeviceTestingKitApp.DeviceTests.csproj | 7 +- ...nners.VisualRunners.Maui.Bootstrap.targets | 252 +- 3 files changed, 26892 insertions(+), 54 deletions(-) create mode 100644 preprocessed.xml diff --git a/preprocessed.xml b/preprocessed.xml new file mode 100644 index 00000000..80f9f3ad --- /dev/null +++ b/preprocessed.xml @@ -0,0 +1,26687 @@ + + + + + + <_AfterSdkPublishDependsOn Condition="'$(UsingMicrosoftNETSdkWeb)' == 'true'">AfterPublish + <_AfterSdkPublishDependsOn Condition="'$(UsingMicrosoftNETSdkWeb)' != 'true'">Publish + + + + + true + + true + $(CustomAfterDirectoryBuildProps);$(MSBuildThisFileDirectory)UseArtifactsOutputPath.props + + + $(ProjectExtensionsPathForSpecifiedProject) + + + + + + true + true + true + true + true + + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + + + enable + enable + + true + + true + $(MSBuildThisFileDirectory)artifacts + + + + false + + + + + + + + + + <_DefaultArtifactsPathPropsImported>true + + + + true + true + <_ArtifactsPathLocationType>ExplicitlySpecified + + + + + $(_DirectoryBuildPropsBasePath)\artifacts + true + <_ArtifactsPathLocationType>DirectoryBuildPropsFolder + + + + $(MSBuildProjectDirectory)\artifacts + <_ArtifactsPathLocationType>ProjectFolder + + + + true + $(MSBuildProjectName) + + + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\ + + + + <_ArtifactsPathSetEarly>true + + + + + + obj\ + $(BaseIntermediateOutputPath)\ + <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) + $(BaseIntermediateOutputPath) + + $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) + $(MSBuildProjectExtensionsPath)\ + + false + true + <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + /home/runner/.nuget/packages/ + /home/runner/.nuget/packages/ + PackageReference + 6.14.0 + + + + + + + + + + $(MSBuildThisFileDirectory)Microsoft.NET.ILLink.targets + + true + $(MSBuildThisFileDirectory)..\tools\net9.0\ILLink.Tasks.dll + $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll + $(MSBuildThisFileDirectory)Microsoft.NET.ILLink.Analyzers.props + + + + + + + + + + + + + + + + + + <_MauiSkipSdkAutoImport>true + + + + + + Designer + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MSBuild:Compile + $(DefaultXamlRuntime) + + + MSBuild:Compile + $(DefaultXamlRuntime) + + + MSBuild:Compile + $(DefaultXamlRuntime) + + + + + + + + + + + + /home/runner/.nuget/packages/xunit.analyzers/1.16.0 + /home/runner/.nuget/packages/microsoft.net.illink.tasks/9.0.6 + + + + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) + + + + + true + + + $(DefaultProjectConfiguration) + $(DefaultProjectPlatform) + + + WJProject + JavaScript + + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props + $(MSBuildToolsPath)\NuGet.props + + + + + + true + + + + <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props + <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) + $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + true + true + true + true + true + true + true + true + true + true + true + true + true + + + + + + + true + + + + Debug;Release + AnyCPU + Debug + AnyCPU + + + + + true + + + + Library + 512 + prompt + $(MSBuildProjectName) + $(MSBuildProjectName.Replace(" ", "_")) + true + + + + true + false + + + true + + + + + <_PlatformWithoutConfigurationInference>$(Platform) + + + x64 + + + x86 + + + ARM + + + arm64 + + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);{RawFileName} + + + None + portable + + false + + true + true + + PackageReference + $(AssemblySearchPaths) + false + false + false + false + false + false + false + false + false + false + true + 1.0.3 + false + true + true + + + + + + $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj + + + + + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props + + + + + $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)../../')) + $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs + <_NetFrameworkHostedCompilersVersion>4.14.0-3.25262.10 + 9.0 + 9.0 + 9.0.6 + 2.1 + 2.1.0 + 9.0.6-servicing.25266.13 + $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json + 9.0.301 + 9.0.300 + linux-x64 + linux-x64 + <_NETCoreSdkIsPreview>false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> + <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> + + + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledMSBuildInformation.props + + + + + 17.12.0 + 17.14.5 + <_MSBuildVersionMajorMinor>$([System.Version]::Parse('$(MSBuildVersion)').ToString(2)) + <_IsDisjointMSBuildVersion>$([MSBuild]::VersionLessThan('$(_MSBuildVersionMajorMinor)', '17.14')) + + + + + false + + + <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildToolsPath32)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 10.0 + 17.16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + <_SourceLinkPropsImported>true + + + + + + $(MSBuildThisFileDirectory)..\tools\netframework\Microsoft.Build.Tasks.Git.dll + $(MSBuildThisFileDirectory)..\tools\net\Microsoft.Build.Tasks.Git.dll + + + + + + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\netframework\Microsoft.SourceLink.Common.dll + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\net\Microsoft.SourceLink.Common.dll + + + + true + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1701;1702 + + $(WarningsAsErrors);NU1605 + + + $(DefineConstants); + $(DefineConstants)TRACE + + + + + + + + + + + + + + + + + + $(TargetsForTfmSpecificContentInPackage);PackTool + + + + + + $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation + + + + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + + + + + + + + + + + + + + + + <_WpfCommonNetFxReference Include="WindowsBase" /> + <_WpfCommonNetFxReference Include="PresentationCore" /> + <_WpfCommonNetFxReference Include="PresentationFramework" /> + <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> + 4.0 + + <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> + + + <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> + <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> + <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> + + + + + + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> + + <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> + + <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + <_TargetFrameworkVersionValue>0.0 + <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 + + + + + + + + net9.0-android + $(TargetFrameworks);net9.0-ios;net9.0-maccatalyst + $(TargetFrameworks);net9.0-windows10.0.19041.0 + Exe + DeviceTestingKitApp.DeviceTests + true + true + $(DefineConstants);INCLUDE_FAILING_TESTS + $(DefineConstants);MODE_NON_INTERACTIVE_VISUAL + $(DefineConstants);MODE_XHARNESS + + DeviceTestingKitApp.DeviceTests + + com.companyname.devicetestingkitapp.devicetests + + 1.0 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + + + $(_IsExecutable) + <_UsingDefaultForHasRuntimeOutput>true + + + + + 1.0.0 + $(VersionPrefix)-$(VersionSuffix) + $(VersionPrefix) + + + $(AssemblyName) + $(Authors) + $(AssemblyName) + $(AssemblyName) + + + + + Debug + AnyCPU + $(Platform) + + + + + + + true + <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) + <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties + <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ + $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) + $(_PublishProfileRootFolder)$(PublishProfileName).pubxml + $(PublishProfileFullPath) + + false + + + + + + + + + + + + + $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) + v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + + + + $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) + + + Windows + + + + <_UnsupportedTargetFrameworkError>true + + + + + + + + + + true + true + + + + + + + + + + + + + + + + + + + + v0.0 + + + _ + + + + + true + + + + + + + + + true + + + + + + + + + + <_EnableDefaultWindowsPlatform>false + false + + + 2.1 + + + + + + + + + + + + + + <_ApplicableTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and '%(SdkSupportedTargetPlatformVersion.DefineConstantsOnly)' != 'true'" RemoveMetadata="DefineConstantsOnly" /> + <_ValidTargetPlatformVersion Include="@(_ApplicableTargetPlatformVersion)" Condition="'@(_ApplicableTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> + + + @(_ValidTargetPlatformVersion->Distinct()) + + + + + true + <_ValidTargetPlatformVersions Condition="'@(_ApplicableTargetPlatformVersion)' != ''">@(_ApplicableTargetPlatformVersion, '%0a') + <_ValidTargetPlatformVersions Condition="'@(_ApplicableTargetPlatformVersion)' == ''">None + + + + + + + true + true + + + + + + + + + true + false + true + <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ + + + + + + $(MSBuildProjectName) + bin + publish + package + + + $(Configuration.ToLowerInvariant()) + + $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) + + $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\ + $(ArtifactsPath)\obj\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ + + + $(BaseOutputPath)$(ArtifactsPivots)\ + $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ + + $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ + + + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(OutputPath)\ + + + + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + + + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + $(DefaultItemExcludes);$(ArtifactsPath)/** + + $(DefaultItemExcludes);bin/**;obj/** + + + + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + + + + + + + + + + + true + + false + + + + + + + + + + + + + + true + + Android + <_XamarinAndroidBuildTasksAssembly>..\tools\Xamarin.Android.Build.Tasks.dll + true + + true + <_AndroidResourceDesigner>Resource.designer.cs + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)Microsoft.Android.Sdk.After.targets + + + + + + + + + true + 35.0 + 21 + + + + + + + + + + + + + + + + + + + + + + + + + 35.0.78 + 35.0.78 + <_AndroidLatestStableApiLevel>35 + <_AndroidLatestUnstableApiLevel>36 + + + <_AndroidTargetingPackId Condition="$(TargetPlatformVersion.EndsWith('.0'))">$(TargetPlatformVersion.Substring(0, $(TargetPlatformVersion.LastIndexOf('.0')))) + <_AndroidTargetingPackId Condition="'$(_AndroidTargetingPackId)' == ''">$(TargetPlatformVersion) + <_AndroidErrorOnTargetPlatformVersion Condition=" '$(_AndroidTargetingPackId)' != '$(_AndroidLatestStableApiLevel)' and '$(_AndroidTargetingPackId)' != '$(_AndroidLatestUnstableApiLevel)' ">$(_AndroidTargetingPackId) + <_AndroidTargetingPackId Condition=" '$(_AndroidTargetingPackId)' != '$(_AndroidLatestStableApiLevel)' and '$(_AndroidTargetingPackId)' != '$(_AndroidLatestUnstableApiLevel)' ">$(_AndroidLatestStableApiLevel) + <_AndroidRuntimePackId Condition=" '$(_AndroidRuntimePackId)' == '' ">$(_AndroidTargetingPackId) + <_AndroidRuntimePackId Condition=" '$(_AndroidRuntimePackId)' != '$(_AndroidLatestStableApiLevel)' and '$(_AndroidRuntimePackId)' != '$(_AndroidLatestUnstableApiLevel)' ">$(_AndroidLatestStableApiLevel) + + + + + + + + + System + Resources + Assets + Resource + true + Xamarin.Android.Net.AndroidMessageHandler + true + true + false + $(AndroidGenerateResourceDesigner) + true + false + false + false + + false + + <_GetChildProjectCopyToPublishDirectoryItems>false + true + + $(AndroidMinimumSupportedApiLevel) + + $(SupportedOSPlatformVersion).0 + + + class-parse + + XAJavaInterop1 + true + true + true + <_AndroidEmitLegacyInterfaceInvokers Condition=" '$(_AndroidEmitLegacyInterfaceInvokers)' == '' ">false + true + obsolete + + $(EnableDiagnostics) + false + + 16 + + + + None + true + + + true + true + aab;apk + + + + true + false + + Library + + + false + false + false + true + true + SdkOnly + None + + full + partial + false + true + + android-arm64;android-x64 + + true + + true + true + false + <_AndroidXA1029 Condition=" '$(AotAssemblies)' != '' ">true + <_AndroidXA1030 Condition=" '$(RunAOTCompilation)' == 'true' and '$(PublishTrimmed)' == 'false' ">true + $(RunAOTCompilation) + true + + false + false + false + false + true + false + false + false + false + true + false + true + + <_DefaultValueAttributeSupport Condition="'$(_DefaultValueAttributeSupport)' == '' and '$(TrimMode)' == 'partial'">true + false + $(AvoidEmitForPerformance) + true + + false + true + true + true + + false + false + + True + + + + 1 + $(ApplicationDisplayVersion) + $(Version) + + + Properties\AndroidManifest.xml + AndroidManifest.xml + + + + + + False + arm64-v8a;armeabi-v7a;x86 + + arm64-v8a;armeabi-v7a;x86;x86_64 + 9999 + 9999 + $(ProjectDir)\gdb-symbols + True + $(XamarinAndroidVersion) + <_AndroidAllowDeltaInstall Condition=" '$(_AndroidAllowDeltaInstall)' == '' ">false + --user $(AndroidDeviceUserId) + + + <_AfterCompileDex> + $(_AfterCompileDex); + _CompileFastDevDex + + <_BeforeBuildAdditionalResourcesCache> + $(_BeforeBuildAdditionalResourcesCache); + _SetupDesignTimeBuildForIntellisense + + <_CompileJavaDependsOnTargets> + $(_CompileJavaDependsOnTargets); + + <_BeforeDefineBuildTargetAbis> + $(_BeforeDefineBuildTargetAbis); + + <_ResolveMonoAndroidSdksDependsOn> + $(_ResolveMonoAndroidSdksDependsOn); + _GetPrimaryCpuAbi + + <_AfterResolveMonoAndroidSdks> + $(_AfterResolveMonoAndroidSdks); + _ResolveMonoAndroidSdks + + <_BeforeCompileToDalvikWithDx> + $(_BeforeCompileToDalvikWithDx); + + <_BeforeAddStaticResources> + $(_BeforeAddStaticResources); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 9.0.51 + net9.0 + 9.0 + $(MauiWorkloadVersion) + + false + + true + + + + + + + + <_MauiImplicitPackageReference Include="Microsoft.Maui.Resizetizer" Version="$(MauiVersion)" PrivateAssets="all" Condition=" '$(UseMauiAssets)' == 'true' " /> + <_MauiImplicitPackageReference Include="Microsoft.Maui.Essentials" Version="$(MauiVersion)" Condition=" '$(UseMauiEssentials)' == 'true' "> + all + + <_MauiImplicitPackageReference Include="Microsoft.Maui.Core" Version="$(MauiVersion)" Condition=" '$(UseMauiCore)' == 'true' "> + all + + <_MauiImplicitPackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" Condition=" '$(UseMaui)' == 'true' "> + all + + <_MauiImplicitPackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" IsMauiImplicitOptionalPackageReference="true" Condition=" '$(UseMaui)' == 'true' and '$(UseMauiCompat)' == 'true' "> + all + + <_MauiImplicitPackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="$(MauiVersion)" Condition=" '$(UseMaui)' == 'true' and '$(UsingMicrosoftNETSdkRazor)' == 'true' "> + all + + + + + <_MauiImplicitPackageReference Remove="@(PackageReference)" /> + + <_MauiImplicitRequiredPackageReference Include="@(_MauiImplicitPackageReference->WithMetadataValue('IsMauiImplicitOptionalPackageReference',''))" /> + + + + <_MauiValidateRefsPrefix>Starting with .NET 8, setting + + <_MauiValidateRefsInfix> does not automatically include NuGet package references in your project. Update your project by including this item: <PackageReference Include=" + + <_MauiValidateRefsSuffix>" Version="$(MauiVersion)" />. You can skip this warning by setting <SkipValidateMauiImplicitPackageReferences>true</SkipValidateMauiImplicitPackageReferences> in your project file. + + + + + + + + + + + true + + + + + WinExe + + true + + true + + + + <_SingleProjectRIDRequired Condition="'$(OutputType)' == 'WinExe'">true + <_SingleProjectRIDSpecified Condition="'$(RuntimeIdentifier)' != '' or '$(RuntimeIdentifiers)' != ''">true + + + <_SingleProjectHostArchitecture>$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture) + <_SingleProjectHostArchitecture>$(_SingleProjectHostArchitecture.ToLower()) + win10-$(_SingleProjectHostArchitecture) + win-$(_SingleProjectHostArchitecture) + <_MauiUsingDefaultRuntimeIdentifier>true + + + + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)Microsoft.Maui.Sdk.After.targets + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RuntimePackInWorkloadVersionCurrent>9.0.6 + <_RuntimePackInWorkloadVersion8>8.0.17 + <_RuntimePackInWorkloadVersion7>7.0.20 + <_RuntimePackInWorkloadVersion6>6.0.36 + true + + false + true + + + true + true + true + + $(WasmNativeWorkload8) + + + + <_BrowserWorkloadNotSupportedForTFM Condition="$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '6.0'))">true + <_BrowserWorkloadDisabled>$(_BrowserWorkloadNotSupportedForTFM) + <_UsingBlazorOrWasmSdk Condition="'$(UsingMicrosoftNETSdkBlazorWebAssembly)' == 'true' or '$(UsingMicrosoftNETSdkWebAssembly)' == 'true'">true + + + true + $(WasmNativeWorkload9) + $(WasmNativeWorkload8) + $(WasmNativeWorkload7) + $(WasmNativeWorkload) + false + $(WasmNativeWorkloadAvailable) + + + + + + <_WasmPropertiesDifferFromRuntimePackThusNativeBuildNeeded Condition=" '$(WasmEnableSIMD)' == 'false' or '$(WasmEnableExceptionHandling)' == 'false' or '$(InvariantTimezone)' == 'true' or ('$(_UsingBlazorOrWasmSdk)' != 'true' and '$(InvariantGlobalization)' == 'true') or '$(WasmNativeStrip)' == 'false'">true + + + <_WasmNativeWorkloadNeeded Condition=" '$(_WasmPropertiesDifferFromRuntimePackThusNativeBuildNeeded)' == 'true' or '$(RunAOTCompilation)' == 'true' or '$(WasmBuildNative)' == 'true' or '$(WasmGenerateAppBundle)' == 'true' or '$(_UsingBlazorOrWasmSdk)' != 'true' or '$(EmccMaximumHeapSize)' != '' ">true + false + true + $(WasmNativeWorkloadAvailable) + + + + <_IsAndroidLibraryMode Condition="'$(RuntimeIdentifier)' == 'android-arm64' or '$(RuntimeIdentifier)' == 'android-arm' or '$(RuntimeIdentifier)' == 'android-x64' or '$(RuntimeIdentifier)' == 'android-x86'">true + <_IsAppleMobileLibraryMode Condition="'$(RuntimeIdentifier)' == 'ios-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-x64' or '$(RuntimeIdentifier)' == 'maccatalyst-arm64' or '$(RuntimeIdentifier)' == 'maccatalyst-x64' or '$(RuntimeIdentifier)' == 'tvos-arm64'">true + <_IsiOSLibraryMode Condition="'$(RuntimeIdentifier)' == 'ios-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-x64'">true + <_IsMacCatalystLibraryMode Condition="'$(RuntimeIdentifier)' == 'maccatalyst-arm64' or '$(RuntimeIdentifier)' == 'maccatalyst-x64'">true + <_IstvOSLibraryMode Condition="'$(RuntimeIdentifier)' == 'tvos-arm64'">true + + + true + + + false + true + + + + + + + + $(MSBuildThisFileDirectory)..\tasks\net9.0\MonoTargetsTasks.dll + $(MSBuildThisFileDirectory)..\tasks\net472\MonoTargetsTasks.dll + + + + + + + + + + + + <_MonoRuntimeComponentSharedLibExt ParameterType="Microsoft.Build.Framework.ITaskItem[]" Required="false" Output="true" /> + <_MonoRuntimeComponentStaticLibExt ParameterType="Microsoft.Build.Framework.ITaskItem[]" Required="false" Output="true" /> + <_MonoRuntimeComponentLinking ParameterType="Microsoft.Build.Framework.ITaskItem[]" Required="false" Output="true" /> + <_MonoRuntimeAvailableComponents ParameterType="Microsoft.Build.Framework.ITaskItem[]" Required="false" Output="true" /> + + + + + + + + + + <_MonoRuntimeComponentManifestJsonFilePath Condition="'$(_MonoRuntimeComponentManifestJsonFilePath)' == '' and '%(ResolvedFrameworkReference.Identity)' == 'Microsoft.NETCore.App'">$([MSBuild]::NormalizePath('%(RuntimePackPath)', 'runtimes', '$(RuntimeIdentifier)', 'build', 'RuntimeComponentManifest.json')) + + + + + + + + + + + + + + + <_MonoRuntimeComponentCurrentSharedLibExt>@(_MonoRuntimeComponentSharedLibExt->WithMetadataValue('RuntimeIdentifier', '$(RuntimeIdentifier)')) + <_MonoRuntimeComponentCurrentStaticLibExt>@(_MonoRuntimeComponentStaticLibExt->WithMetadataValue('RuntimeIdentifier', '$(RuntimeIdentifier)')) + <_MonoRuntimeComponentCurrentLinking>@(_MonoRuntimeComponentLinking->WithMetadataValue('RuntimeIdentifier', '$(RuntimeIdentifier)')) + + + + + <_MonoRuntimeComponentName Include="@(_MonoRuntimeAvailableComponents)" Condition="'%(RuntimeIdentifier)' == '$(RuntimeIdentifier)'"> + libmono-component-%(Identity)$(_MonoRuntimeComponentCurrentSharedLibExt) + + + + <_MonoRuntimeComponentName Include="@(_MonoRuntimeAvailableComponents)" Condition="'%(RuntimeIdentifier)' == '$(RuntimeIdentifier)'"> + libmono-component-%(Identity)-static$(_MonoRuntimeComponentCurrentStaticLibExt) + libmono-component-%(Identity)-stub-static$(_MonoRuntimeComponentCurrentStaticLibExt) + + + + + + + + + + + + + + + + + + + <_MonoRuntimeComponentNameForRid Include="@(_MonoRuntimeComponentName)" Condition="'%(RuntimeIdentifier)' == '$(RuntimeIdentifier)'" /> + <_MonoRuntimeSelectedComponents Include="@(_MonoRuntimeComponentNameForRid)" Condition="'@(_MonoRuntimeComponentNameForRid)' == '@(_MonoComponent)' and '%(Identity)' != ''" /> + <_MonoRuntimeUnSelectedComponents Include="@(_MonoRuntimeComponentNameForRid)" Exclude="@(_MonoComponent)" /> + <_MonoRuntimeComponentLink Include="%(_MonoRuntimeSelectedComponents.ComponentLib)"> + $(_MonoRuntimeComponentCurrentLinking) + false + %(_MonoRuntimeSelectedComponents.Identity) + + <_MonoRuntimeComponentDontLink Include="%(_MonoRuntimeUnSelectedComponents.ComponentLib)"> + $(_MonoRuntimeComponentCurrentLinking) + false + %(_MonoRuntimeUnSelectedComponents.Identity) + + + <_MonoRuntimeSelectedMissingComponents Include="@(_MonoComponent)" Exclude="@(_MonoRuntimeComponentNameForRid)" /> + + + + <_MonoRuntimeSelectedStubComponents Include="@(_MonoRuntimeComponentNameForRid)" Exclude="@(_MonoComponent)" /> + <_MonoRuntimeUnSelectedStubComponents Include="@(_MonoRuntimeComponentNameForRid)" Condition="'@(_MonoRuntimeComponentNameForRid)' == '@(_MonoComponent)' and '%(Identity)' != ''" /> + <_MonoRuntimeComponentLink Include="%(_MonoRuntimeSelectedStubComponents.ComponentStubLib)"> + $(_MonoRuntimeComponentCurrentLinking) + true + %(_MonoRuntimeSelectedStubComponents.Identity) + + <_MonoRuntimeComponentDontLink Include="%(_MonoRuntimeUnSelectedStubComponents.ComponentStubLib)"> + $(_MonoRuntimeComponentCurrentLinking) + true + %(_MonoRuntimeUnSelectedStubComponents.Identity) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersionCurrent) + <_KnownWebAssemblySdkPackVersion>$(_RuntimePackInWorkloadVersionCurrent) + + + + true + 1.0 + + + + + + + true + 1.0 + + + + + + + + %(RuntimePackRuntimeIdentifiers);wasi-wasm + $(_MonoWorkloadRuntimePackPackageVersion) + + Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** + + + $(_MonoWorkloadRuntimePackPackageVersion) + + + $(_KnownWebAssemblySdkPackVersion) + $(_KnownWebAssemblySdkPackVersion) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_WorkloadUsesBlazorWasm>$(UsingMicrosoftNETSdkBlazorWebAssembly) + <_WorkloadUsesWasmSDK>$(UsingMicrosoftNETSdkWebAssembly) + <_WorkloadUsesMonoAOT>$(RunAOTCompilation) + + <_WorkloadUsesMonoAOT Condition="'$(_WorkloadUsesMonoAOT)' == '' and '$(PublishAot)' != 'true' and ('$(TargetPlatformIdentifier)' == 'maccatalyst' or '$(TargetPlatformIdentifier)' == 'ios' or '$(TargetPlatformIdentifier)' == 'tvos')">$(_RunAotCompiler) + <_WorkloadUsesNativeAOT>$(PublishAot) + <_WorkloadUsesInterpreter>$(MonoForceInterpreter) + <_WorkloadUsesInterpreter Condition="'$(_WorkloadUsesInterpreter)' == '' and '$(UseInterpreter)' == 'true'">true + <_WorkloadUsesInterpreter Condition="'$(_WorkloadUsesInterpreter)' == '' and '$(RunAOTCompilation)' != 'true' and ('$(_WorkloadUsesBlazorWasm)' == 'true' or '$(_WorkloadUsesWasmSDK)' == 'true')">true + <_WorkloadUsesLibraryMode Condition="'$(NativeLib)' != '' and ('$(_WorkloadUsesMonoAOT)' == 'true' or '$(_WorkloadUsesNativeAOT)' == 'true')">true + <_WorkloadUsesStripILAfterAOT Condition="'$(WasmStripILAfterAOT)' == 'true' or '$(AndroidStripILAfterAOT)' == 'true'">true + + + <_WorkloadUsesOther Condition="'$([System.IO.Path]::GetFileName("%(ReferencePath.Identity)").ToLowerInvariant())' == 'avalonia.dll'">true + <_WorkloadUsesOther Condition="'$([System.IO.Path]::GetFileName("%(ReferencePath.Identity)").ToLowerInvariant())' == 'uno.dll'">true + <_WorkloadUsesMobileSDKOnly Condition="'$(RuntimeIdentifier)' != 'browser-wasm' and '$(UseMaui)' != 'true' and '$(_WorkloadUsesOther)' != 'true'">true + + + + + + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + 8.0 + 9.0 + + + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion6) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion7) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** + Microsoft.NETCore.App.Runtime.Mono.perftrace.**RID** + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion8) + + + + + %(RuntimePackRuntimeIdentifiers);wasi-wasm + $(_MonoWorkloadRuntimePackPackageVersion) + + Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> + + + + + + + + + <_UsingDefaultRuntimeIdentifier>true + win7-x64 + win7-x86 + win-x64 + win-x86 + + + + true + + + + $(PublishSelfContained) + + + + true + + + $(NETCoreSdkPortableRuntimeIdentifier) + + + $(PublishRuntimeIdentifier) + + + <_UsingDefaultPlatformTarget>true + + + + + + + x86 + + + + + x64 + + + + + arm + + + + + arm64 + + + + + AnyCPU + + + + + + + <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true + + + + true + false + <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false + <_RuntimeIdentifierUsesAppHost Condition="'$(_IsPublishing)' == 'true' and '$(PublishAot)' == 'true'">false + <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true + true + false + + + + $(NETCoreSdkRuntimeIdentifier) + win-x64 + win-x86 + win-arm + win-arm64 + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + false + + + + + + + + + + + + + + + + + true + + + + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ + + + + + + + + + + + + + + + true + true + + + + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0;7.0" /> + + + <_MinimumNonEolSupportedNetCoreTargetFramework>net6.0 + + + + + + + + + + + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true + + + + true + true + true + + + true + + + + true + + true + + .dll + + false + + + + $(PreserveCompilationContext) + + + + publish + + $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ + $(OutputPath)$(PublishDirName)\ + + + + + + <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder + <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true + <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs + + + $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) + + + $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) + + + + <_SDKImplicitReference Include="System" /> + <_SDKImplicitReference Include="System.Data" /> + <_SDKImplicitReference Include="System.Drawing" /> + <_SDKImplicitReference Include="System.Xml" /> + + + <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + + <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> + + <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> + <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> + + <_SDKImplicitReference Remove="@(Reference)" /> + + + + + + false + + + $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 + + + + <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET + $(_FrameworkIdentifierForImplicitDefine) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET + <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) + <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) + <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) + $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) + $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + + + + + <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) + <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) + + + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> + + + + + + <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + + + + + + <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + + + <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> + <_DefineConstantsWithoutTrace Remove="TRACE" /> + + + @(_DefineConstantsWithoutTrace) + + + + + + $(DefineConstants);@(_ImplicitDefineConstant) + $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') + + + + + false + true + + + $(AssemblyName).xml + $(IntermediateOutputPath)$(AssemblyName).xml + + + + + + true + true + true + + + + + + + true + + + + $(MSBuildToolsPath)\Microsoft.CSharp.targets + $(MSBuildToolsPath)\Microsoft.VisualBasic.targets + $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets + + $(MSBuildToolsPath)\Microsoft.Common.targets + + + + + + + + $(MSBuildToolsPath)\Microsoft.CSharp.CrossTargeting.targets + + + + + $(MSBuildToolsPath)\Microsoft.CSharp.CurrentVersion.targets + + + + + + + + true + + + + + + true + true + true + true + + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.CSharp.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.CSharp.targets + + + + .cs + C# + Managed + true + true + true + true + true + {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Properties + + + + + File + + + BrowseObject + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + true + + + + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + $(CoreCompileDependsOn);_ComputeNonExistentFileProperty;ResolveCodeAnalysisRuleSet + true + + + + + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + + + + + + + + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + false + + + + + + + true + + + + + + + + + + $(RoslynTargetsPath)\Microsoft.CSharp.Core.targets + + + + + + + + + + roslyn4.14 + + + + + + + + + + + + + + + + + false + + + + + + + + true + + + + + + + + <_SkipAnalyzers /> + <_ImplicitlySkipAnalyzers /> + + + + <_SkipAnalyzers>true + + + + <_ImplicitlySkipAnalyzers>true + <_SkipAnalyzers>true + run-nullable-analysis=never;$(Features) + + + + + + <_LastBuildWithSkipAnalyzers>$(IntermediateOutputPath)$(MSBuildProjectFile).BuildWithSkipAnalyzers + + + + + + + + + + + + + + <_AllDirectoriesAbove Include="@(Compile->GetPathsOfAllDirectoriesAbove())" Condition="'$(DiscoverEditorConfigFiles)' != 'false' or '$(DiscoverGlobalAnalyzerConfigFiles)' != 'false'" /> + + + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).GeneratedMSBuildEditorConfig.editorconfig + true + <_GeneratedEditorConfigHasItems Condition="'@(CompilerVisibleItemMetadata->Count())' != '0'">true + <_GeneratedEditorConfigShouldRun Condition="'$(GenerateMSBuildEditorConfigFile)' == 'true' and ('$(_GeneratedEditorConfigHasItems)' == 'true' or '@(CompilerVisibleProperty->Count())' != '0')">true + + + + + + <_GeneratedEditorConfigProperty Include="@(CompilerVisibleProperty)"> + $(%(CompilerVisibleProperty.Identity)) + + + <_GeneratedEditorConfigMetadata Include="@(%(CompilerVisibleItemMetadata.Identity))" Condition="'$(_GeneratedEditorConfigHasItems)' == 'true'"> + %(Identity) + %(CompilerVisibleItemMetadata.MetadataName) + + + + + + + + + + + true + + + + + <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> + + + + + + + + + + + + true + + + + + + + <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> + $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) + $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) + + + + + @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) + + + + + + + + + + + false + + $(IntermediateOutputPath)/generated + + + + + + + + + + + + + <_MaxSupportedLangVersion Condition="('$(TargetFrameworkIdentifier)' != '.NETCoreApp' OR '$(_TargetFrameworkVersionWithoutV)' < '3.0') AND ('$(TargetFrameworkIdentifier)' != '.NETStandard' OR '$(_TargetFrameworkVersionWithoutV)' < '2.1')">7.3 + + <_MaxSupportedLangVersion Condition="(('$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' < '5.0') OR ('$(TargetFrameworkIdentifier)' == '.NETStandard' AND '$(_TargetFrameworkVersionWithoutV)' == '2.1')) AND '$(_MaxSupportedLangVersion)' == ''">8.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_MaxSupportedLangVersion)' == ''">$([MSBuild]::Add(9, $([MSBuild]::Subtract($(_TargetFrameworkVersionWithoutV.Split('.')[0]), 5)))).0 + + <_MaxAvailableLangVersion>13.0 + <_MaxSupportedLangVersion Condition="'$(_MaxSupportedLangVersion)' != '' AND '$(_MaxSupportedLangVersion)' > '$(_MaxAvailableLangVersion)'">$(_MaxAvailableLangVersion) + $(_MaxSupportedLangVersion) + $(_MaxSupportedLangVersion) + + + + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + + + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + + + + <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> + + + + + + -langversion:$(LangVersion) + $(CommandLineArgsForDesignTimeEvaluation) -checksumalgorithm:$(ChecksumAlgorithm) + $(CommandLineArgsForDesignTimeEvaluation) -define:$(DefineConstants) + + + + + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.CSharp.DesignTime.targets + + + + + + $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets + + + + + + true + true + true + true + + + + + + + 10.0 + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets + + + + + Managed + + + + .NETFramework + v4.0 + + + + Any CPU,x86,x64,Itanium + Any CPU,x86,x64 + + + + + + + + $(SDK40ToolsPath) + + + + true + + + false + + + + + true + + true + + + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) + + $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) + + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) + $(MSBuildFrameworkToolsPath) + + + Windows + 7.0 + $(TargetPlatformSdkRootOverride)\ + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + $(TargetPlatformSdkPath)Windows Metadata + $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral + $(TargetPlatformSdkMetadataLocation) + true + $(WinDir)\System32\WinMetadata + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + + <_OriginalPlatform>$(Platform) + + <_OriginalConfiguration>$(Configuration) + + <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true + + true + + + AnyCPU + $(Platform) + Debug + $(Configuration) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(TargetType) + library + exe + true + + <_DebugSymbolsProduced>false + <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false + <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false + <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false + + <_DocumentationFileProduced>true + <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false + + false + + + + + <_InvalidConfigurationMessageSeverity Condition=" '$(SkipInvalidConfigurations)' == 'true' ">Warning + <_InvalidConfigurationMessageSeverity Condition=" '$(SkipInvalidConfigurations)' != 'true' ">Error + + + + .exe + .exe + .exe + .dll + .netmodule + .winmdobj + + + + true + $(OutputPath) + + + $(OutDir)\ + $(MSBuildProjectName) + + + $(OutDir)$(ProjectName)\ + $(MSBuildProjectName) + $(RootNamespace) + $(AssemblyName) + + $(MSBuildProjectFile) + + $(MSBuildProjectExtension) + + $(TargetName).winmd + $(WinMDExpOutputWindowsMetadataFilename) + $(TargetName)$(TargetExt) + + + + + <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true + $(_DeploymentPublishableProjectDefault) + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest + + $(AssemblyName).application + + $(AssemblyName).xbap + + $(GenerateManifests) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days + <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) + <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + 100 + + + + * + $(UICulture) + + + + <_OutputPathItem Include="$(OutDir)" /> + <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> + <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> + + + + + $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) + + $(TargetDir)$(TargetFileName) + $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) + + $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) + + $(ProjectDir)$(ProjectFileName) + + + + + + + + *Undefined* + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + + + true + + true + + + true + false + + + $(MSBuildProjectFile).FileListAbsolute.txt + + false + + true + true + <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false + <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true + false + false + + + <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config + + + $(MSBuildProjectFile) + + $([MSBuild]::SubstringByAsciiChars($(MSBuildProjectFile), 0, 8)).$([MSBuild]::StableStringHash($(MSBuildProjectFile)).ToString("X8")) + $(MSBuildCopyMarkerName).Up2Date + + + + + + + + + + + + + + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> + + + $(IntermediateOutputPath)$(TargetName).pdb + <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) + + + $(IntermediateOutputPath)$(TargetName).xml + <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) + + + <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) + <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) + + + + <_SupportedArchitectures>amd64 arm64 + + + + <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> + $(TargetFileName) + + + + <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> + $(ApplicationIcon) + + + + $(_DeploymentTargetApplicationManifestFileName) + + + <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> + $(_DeploymentTargetApplicationManifestFileName) + + + + $(TargetDeployManifestFileName) + + + <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> + + + + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) + <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> + <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) + + <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> + <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> + + + + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) + <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) + + + + $(PublishDir)\ + $([MSBuild]::EnsureTrailingSlash('$(OutputPath)'))app.publish\ + + + + $(PublishDir) + $(ClickOncePublishDir)\ + + + + + $(PlatformTarget) + + msil + amd64 + ia64 + x86 + arm + + + true + + + + $(Platform) + msil + amd64 + ia64 + x86 + arm + + None + $(PROCESSOR_ARCHITECTURE) + + + + CLR2 + CLR4 + CurrentRuntime + true + false + $(PlatformTarget) + x86 + x64 + CurrentArchitecture + + + + Client + + + + false + + + + + true + true + false + + + + AssemblyFoldersEx + Software\Microsoft\$(TargetFrameworkIdentifier) + Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) + $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config + {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + + + .winmd; + .dll; + .exe + + + + .pdb; + .xml; + .pri; + .dll.config; + .exe.config + + + Full + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);$(ReferencePath) + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) + $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} + $(AssemblySearchPaths);{AssemblyFolders} + $(AssemblySearchPaths);{GAC} + $(AssemblySearchPaths);{RawFileName} + $(AssemblySearchPaths);$(OutDir) + + + + false + + + + $(NoWarn) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + + + + $(MSBuildThisFileDirectory)$(LangName)\ + + + + $(MSBuildThisFileDirectory)en-US\ + + + + + Project + + + BrowseObject + + + File + + + Invisible + + + File;BrowseObject + + + File;ProjectSubscriptionService + + + + $(DefineCommonItemSchemas) + + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + + + + + + Never + + + Never + + + Never + + + Never + + + + + + true + + + + + <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath + + + + + + <_InvalidConfigurationMessageResourceName Condition=" '$(BuildingInsideVisualStudio)' == 'true' ">CommonSdk.InvalidConfigurationTextWhenBuildingInsideVisualStudio + <_InvalidConfigurationMessageResourceName Condition=" '$(BuildingInsideVisualStudio)' != 'true' ">CommonSdk.InvalidConfigurationTextWhenBuildingOutsideVisualStudio + + + + + + + + + + + x86 + + + + + + + + + + + + + BeforeBuild; + CoreBuild; + AfterBuild + + + + + + + + + + + BuildOnlySettings; + PrepareForBuild; + PreBuildEvent; + ResolveReferences; + PrepareResources; + ResolveKeySource; + Compile; + ExportWindowsMDFile; + UnmanagedUnregistration; + GenerateSerializationAssemblies; + CreateSatelliteAssemblies; + GenerateManifests; + GetTargetPath; + PrepareForRun; + UnmanagedRegistration; + IncrementalClean; + PostBuildEvent + + + + + + + + + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build + + BeforeRebuild; + Clean; + $(_ProjectDefaultTargets); + AfterRebuild; + + + BeforeRebuild; + Clean; + Build; + AfterRebuild; + + + + + + + + + + Build + + + + + + + + + + + Build + + + + + + + + + + + Build + + + + + + + + + + + + + + + + + + + + + + + false + + + + true + + + + + + $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata + + + + + $(TargetFileName).config + + + + + + + + + + + + + @(_TargetFramework40DirectoryItem) + @(_TargetFramework35DirectoryItem) + @(_TargetFramework30DirectoryItem) + @(_TargetFramework20DirectoryItem) + + @(_TargetFramework20DirectoryItem) + @(_TargetFramework40DirectoryItem) + @(_TargetedFrameworkDirectoryItem) + @(_TargetFrameworkSDKDirectoryItem) + + + + + + + + + + + + + + + + + + $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) + $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) + + + + true + + + $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) + + + + + + + $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) + + + + + + + + + + + + + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + + + + + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + BeforeResolveReferences; + AssignProjectConfiguration; + ResolveProjectReferences; + FindInvalidProjectReferences; + ResolveNativeReferences; + ResolveAssemblyReferences; + GenerateBindingRedirects; + GenerateBindingRedirectsUpdateAppConfig; + ResolveComReferences; + AfterResolveReferences + + + + + + + + + + + + false + + + + + + + true + true + false + + false + + true + + + + + + + + + + + <_ProjectReferenceWithConfiguration> + true + true + + + true + true + + + + + + + + + + + + + <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> + + + + <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> + <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> + + + + + true + + + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> + true + + + + <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + + + + + <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> + + x86=Win32 + + + <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> + Win32=x86 + + + + + + + + + + Platform=%(ProjectsWithNearestPlatform.NearestPlatform) + + + + %(ProjectsWithNearestPlatform.UndefineProperties);Platform + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> + + + + + + + $(NuGetTargetMoniker) + $(TargetFrameworkMoniker) + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> + + true + %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework + + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> + + true + + + + + + + + + + + + + <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> + <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> + <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> + + + + + + + + + + + + + + + + + + + + + + + + TargetFramework=%(AnnotatedProjects.NearestTargetFramework) + + + + %(AnnotatedProjects.UndefineProperties);TargetFramework + + + + %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier;SelfContained + + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> + + + + + + + + + <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> + @(_TargetFrameworkInfo) + @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') + @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') + $(_AdditionalPropertiesFromProject) + true + @(_TargetFrameworkInfo->'%(IsRidAgnostic)') + + true + $(Platform) + $(Platforms) + + @(ProjectConfiguration->'%(Platform)'->Distinct()) + + + + + + <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> + $(%(AdditionalTargetFrameworkInfoProperty.Identity)) + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false + + + + + + <_TargetFrameworkInfo Include="$(TargetFramework)"> + $(TargetFramework) + $(TargetFrameworkMoniker) + $(TargetPlatformMoniker) + None + $(_AdditionalTargetFrameworkInfoProperties) + + $(IsRidAgnostic) + true + false + + + + + + + + + AssignProjectConfiguration; + _SplitProjectReferencesByFileExistence; + _GetProjectReferenceTargetFrameworkProperties; + _GetProjectReferencePlatformProperties + + + + + + + + + $(ProjectReferenceBuildTargets) + + + ProjectReference + + + + + + + + + + + + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> + + <_ResolvedProjectReferencePaths> + %(_ResolvedProjectReferencePaths.OriginalItemSpec) + + + + + <_NonExistentProjectReferenceSeverity Condition="'@(ProjectReferenceWithConfiguration)' != '' and '@(_MSBuildProjectReferenceNonexistent)' != '' and '$(ErrorOnMissingProjectReference)' != 'True'">Warning + <_NonExistentProjectReferenceSeverity Condition="'@(ProjectReferenceWithConfiguration)' != '' and '@(_MSBuildProjectReferenceNonexistent)' != '' and '$(ErrorOnMissingProjectReference)' == 'True'">Error + + + + + + + <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> + %(ReferencePath.ProjectReferenceOriginalItemSpec) + + + + + + + + + $(GetTargetPathDependsOn) + + + + + + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion.TrimStart('vV')) + $(TargetRefPath) + @(CopyUpToDateMarker) + + + + + + + + %(_ApplicationManifestFinal.FullPath) + + + + + + + + + + + + + + + + + + ResolveProjectReferences; + FindInvalidProjectReferences; + GetFrameworkPaths; + GetReferenceAssemblyPaths; + PrepareForBuild; + ResolveSDKReferences; + ExpandSDKReferences; + + + + + <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> + + + + $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache + + + + <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> + + + + <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false + true + false + Warning + $(BuildingProject) + $(BuildingProject) + $(BuildingProject) + false + + + + + + true + + + + + + + + false + + + + false + true + + + + + + + + + + + + + + + + + + + + + + + %(FullPath) + + + %(ReferencePath.Identity) + + + + + + + + + + + + + + + <_NewGenerateBindingRedirectsIntermediateAppConfig Condition="Exists('$(_GenerateBindingRedirectsIntermediateAppConfig)')">true + $(_GenerateBindingRedirectsIntermediateAppConfig) + + + true + true + + + + + + + + + + $(TargetFileName).config + + + + + + Software\Microsoft\Microsoft SDKs + $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(WindowsKitsRoot) + + true + Windows + 8.1 + + false + WindowsPhoneApp + 8.1 + + + + + + + + + + + + + + + + + GetInstalledSDKLocations + + + + Debug + Retail + Retail + $(ProcessorArchitecture) + Neutral + + + true + + + + + + + + + + + + + + + + GetReferenceTargetPlatformMonikers + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> + + + + + + + + + + + + + + ResolveSDKReferences + + + .winmd; + .dll + + + + + + + + + + + + + + + + false + false + false + $(TargetFrameworkSDKToolsDirectory) + true + + + + + + + + + + + + + + + <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> + + + + + {CandidateAssemblyFiles}; + $(ReferencePath); + {HintPathFromItem}; + {TargetFrameworkDirectory}; + {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; + {RawFileName}; + $(TargetDir) + + + + + + GetFrameworkPaths; + GetReferenceAssemblyPaths; + ResolveReferences + + + + + <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + + + $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache + + + + {CandidateAssemblyFiles}; + $(ReferencePath); + {HintPathFromItem}; + {TargetFrameworkDirectory}; + {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; + {RawFileName}; + $(OutDir) + + + + false + false + false + false + false + true + false + + + <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> + + + <_RARResolvedReferencePath Include="@(ReferencePath)" /> + + + + + + + + + + false + + + + $(IntermediateOutputPath) + + + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + false + + + + + + + + + + + + + + + + + + + + + + + + + + + $(PrepareResourcesDependsOn); + PrepareResourceNames; + ResGen; + CompileLicxFiles + + + + + + + AssignTargetPaths; + SplitResourcesByCulture; + CreateManifestResourceNames; + CreateCustomManifestResourceNames + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + + + + + + + false + false + + + + + + + <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> + + + Resx + + + Non-Resx + + + + + + + + + + + + + + + + Resx + + + Non-Resx + + + + + + + + + + + + <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> + <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> + + + + + + + + + + ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen + FindReferenceAssembliesForReferences + true + false + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + + + + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + true + + + true + + + + true + + + true + + + + + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + + + + + + + + + + + + + + ResolveReferences; + ResolveKeySource; + SetWin32ManifestProperties; + _SetPreferNativeArm64Win32ManifestProperties; + FindReferenceAssembliesForReferences; + _GenerateCompileInputs; + BeforeCompile; + _TimeStampBeforeCompile; + _GenerateCompileDependencyCache; + CoreCompile; + _TimeStampAfterCompile; + AfterCompile; + + + + + + + + + + <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> + + <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> + Resx + false + + <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + false + + + + + + + true + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + + + true + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) + + + + + + $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) + + + + + + __NonExistentSubDir__\__NonExistentFile__ + + + + + <_SGenDllName>$(TargetName).XmlSerializers.dll + <_SGenDllCreated>false + <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) + <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto + <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off + true + false + true + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + + + + $(CreateSatelliteAssembliesDependsOn); + _GenerateSatelliteAssemblyInputs; + ComputeIntermediateSatelliteAssemblies; + GenerateSatelliteAssemblies + + + + + + + + + + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> + + <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> + Resx + true + + <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + true + + + + + + + <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) + + + + + + + + + + CreateManifestResourceNames + + + + + + %(EmbeddedResource.Culture) + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + + + + + + $(Win32Manifest) + + + + + + + <_DeploymentBaseManifest>$(ApplicationManifest) + <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) + + true + + + + + $(ApplicationManifest) + $(ApplicationManifest) + + + + + + + $(_FrameworkVersion40Path)\default.win32manifest + + + + + + + + + $(_Win32Manifest) + + + + + + + SetWin32ManifestProperties; + GenerateApplicationManifest; + GenerateDeploymentManifest + + + + + + <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> + + + + + + + + + + + + + + + + + <_DeploymentCopyApplicationManifest>true + + + + + + <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) + <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) + + + + + + + + + + + + + + + + + + + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) + <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) + + + + + + + + + + + <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> + <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> + + + + + + + + + + <_DeploymentManifestType>Native + + + + + + + <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') + + + + + + + <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + + + <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> + <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> + + + <_ClickOnceSatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> + + + + <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> + true + + <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> + + + + <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_ClickOnceSatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> + + + + + <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> + + <_ClickOnceTransitiveContentItemsTemp Include="@(_TransitiveItemsToCopyToOutputDirectory->WithoutMetadataValue('CopyToPublishDirectory', 'Never')->'%(TargetPath)')" Condition="'$(PublishProtocol)' == 'ClickOnce'"> + %(Identity) + + <_ClickOnceTransitiveContentItems Include="@(_ClickOnceTransitiveContentItemsTemp->'%(SavedIdentity)')" Condition="'%(Identity)'=='@(PublishFile)' Or '%(Extension)'=='.exe' Or '%(Extension)'=='.dll'" /> + + <_ClickOnceContentItems Include="@(ContentWithTargetPath->WithoutMetadataValue('CopyToPublishDirectory', 'Never'))" /> + <_ClickOnceContentItems Include="@(_ClickOnceTransitiveContentItems)" /> + + + <_ClickOnceNoneItemsTemp Include="@(_NoneWithTargetPath->WithoutMetadataValue('CopyToPublishDirectory', 'Never')->'%(TargetPath)')" Condition="'$(PublishProtocol)'=='Clickonce' And ('%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' or '%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' or '%(_NoneWithTargetPath.CopyToOutputDirectory)'=='IfDifferent')"> + %(Identity) + + <_ClickOnceNoneItems Include="@(_ClickOnceNoneItemsTemp->'%(SavedIdentity)')" Condition="'%(Identity)'=='@(PublishFile)' Or '%(Extension)'=='.exe' Or '%(Extension)'=='.dll'" /> + <_ClickOnceFiles Include="@(_ClickOnceContentItems);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems);@(_ClickOnceNoneItems)" /> + + <_ClickOnceNoneItemsTemp Remove="@(_ClickOnceNoneItemsTemp)" /> + <_ClickOnceNoneItems Remove="@(_ClickOnceNoneItems)" /> + <_ClickOnceTransitiveContentItemsTemp Remove="@(_ClickOnceTransitiveContentItemsTemp)" /> + <_ClickOnceTransitiveContentItems Remove="@(_ClickOnceTransitiveContentItems)" /> + <_ClickOnceContentItems Remove="@(_ClickOnceContentItems)" /> + <_ClickOnceRuntimeCopyLocalItems Remove="@(_ClickOnceRuntimeCopyLocalItems)" /> + + + + <_ClickOnceFiles Include="$(PublishedSingleFilePath);@(_DeploymentManifestIconFile)" /> + <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> + + <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> + + + + + + <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> + <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> + + + + + + + + + + + + + + + + + + + <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> + + + <_DeploymentManifestType>ClickOnce + + + + <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + false + + + + + CopyFilesToOutputDirectory + + + + + + + false + false + + + + + false + false + false + + + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + false + + + + + + + + + + + + + + + + + <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence + + true + <_TargetsThatPrepareProjectReferences Condition=" '$(MSBuildCopyContentTransitively)' == 'true' "> + AssignProjectConfiguration; + _SplitProjectReferencesByFileExistence + + + AssignTargetPaths; + $(_TargetsThatPrepareProjectReferences); + _GetProjectReferenceTargetFrameworkProperties; + _PopulateCommonStateForGetCopyToOutputDirectoryItems + + + <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems + + <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject + + + + + <_GCTODIKeepDuplicates>false + <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath + + + + + + + + + + <_CopyToOutputDirectoryTransitiveItems KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_CopyToOutputDirectoryTransitiveItems KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_CopyToOutputDirectoryTransitiveItems KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='IfDifferent'" /> + + + + <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> + + + + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='IfDifferent' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='IfDifferent' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest' or '%(Compile.CopyToOutputDirectory)'=='IfDifferent') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> + + + + + + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='IfDifferent'" /> + + + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='IfDifferent' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='IfDifferent' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='IfDifferent' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest' or '%(Compile.CopyToOutputDirectory)'=='IfDifferent') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> + + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='IfDifferent'" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='IfDifferent' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_TransitiveItemsToCopyToOutputDirectoryIfDifferent KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='IfDifferent'" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ThisProjectItemsToCopyToOutputDirectoryIfDifferent KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='IfDifferent'" /> + + <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_SourceItemsToCopyToOutputDirectoryIfDifferent Include="@(_TransitiveItemsToCopyToOutputDirectoryIfDifferent);@(_ThisProjectItemsToCopyToOutputDirectoryIfDifferent)" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_TransitiveItemsToCopyToOutputDirectoryIfDifferent Remove="@(_TransitiveItemsToCopyToOutputDirectoryIfDifferent)" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> + <_ThisProjectItemsToCopyToOutputDirectoryIfDifferent Remove="@(_ThisProjectItemsToCopyToOutputDirectoryIfDifferent)" /> + + + + + + + %(CopyToOutputDirectory) + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false + + + + + + + <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false + + + + + + + + + + <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true + + + + + + + + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> + + + + + + + + + + + + + + + + + + + + + <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + + + + + + + + + + <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + + + + + BeforeClean; + UnmanagedUnregistration; + CoreClean; + CleanReferencedProjects; + CleanPublishFolder; + AfterClean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CleanPublishFolder; + $(_RecursiveTargetForContentCopying); + _DeploymentGenerateTrustInfo; + $(DeploymentComputeClickOnceManifestInfoDependsOn) + + + + + + SetGenerateManifests; + Build; + PublishOnly + + + _DeploymentUnpublishable + + + + + + + + + + + + + true + + + + + + SetGenerateManifests; + PublishBuild; + BeforePublish; + GenerateManifests; + CopyFilesToOutputDirectory; + _CopyFilesToPublishFolder; + _DeploymentGenerateBootstrapper; + ResolveKeySource; + _DeploymentSignClickOnceDeployment; + AfterPublish + + + + + + + + + + + BuildOnlySettings; + PrepareForBuild; + ResolveReferences; + PrepareResources; + ResolveKeySource; + GenerateSerializationAssemblies; + CreateSatelliteAssemblies; + + + + + + + + + + + <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) + <_DeploymentApplicationDir>$(ClickOncePublishDir)$(_DeploymentApplicationFolderName)\ + + + + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + $(TargetPath) + $(TargetFileName) + true + + + + + + true + $(TargetPath) + $(TargetFileName) + + + + + PrepareForBuild + true + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> + $(TargetDir)$(TargetFileName).config + $(TargetFileName).config + + $(AppConfig) + + + + <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> + <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="('@(NativeReference)'!='' or '@(_IsolatedComReference)'!='') And Exists('$(OutDir)$(_DeploymentTargetApplicationManifestFileName)')"> + $(_DeploymentTargetApplicationManifestFileName) + + $(OutDir)$(_DeploymentTargetApplicationManifestFileName) + + + + + + + %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) + + + + + + + + + + @(_DebugSymbolsOutputPath->'%(FullPath)') + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputPdbItem->'%(FullPath)') + @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') + + + + + + + + + + @(FinalDocFile->'%(FullPath)') + true + @(DocFileItem->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputDocItem->'%(FullPath)') + @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') + + + + + + $(SatelliteDllsProjectOutputGroupDependsOn);PrepareForBuild;PrepareResourceNames + + + + + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + %(EmbeddedResource.Culture) + + + + + + $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) + + %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) + + + + + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + $(MSBuildProjectFullPath) + $(ProjectFileName) + + + + + + + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + + + @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') + $(_SGenDllName) + + + + + + + + + + + + + + + + + + + ResolveSDKReferences;ExpandSDKReferences + + + + + + + + + + + + + $(CommonOutputGroupsDependsOn); + BuildOnlySettings; + PrepareForBuild; + AssignTargetPaths; + ResolveReferences + + + + + + + + $(BuiltProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + $(DebugSymbolsProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(SatelliteDllsProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(DocumentationProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(SGenFilesOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(ReferenceCopyLocalPathsOutputGroupDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + + + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets + + + + + + true + + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets + + + + false + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets + + true + + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets + $(MSBuildToolsPath)\NuGet.targets + + + + + + true + + NuGet.Build.Tasks.dll + + false + + true + true + + false + + WarnAndContinue + + $(BuildInParallel) + true + + <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true + + $(MSBuildInteractive) + + true + + true + + <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true + + + + + true + + low + + all + direct + + + true + false + + + + <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(RestoreUseCustomAfterTargets)' == 'true' "> + $(_GenerateRestoreGraphProjectEntryInputProperties); + NuGetRestoreTargets=$(MSBuildThisFileFullPath); + RestoreUseCustomAfterTargets=$(RestoreUseCustomAfterTargets); + CustomAfterMicrosoftCommonCrossTargetingTargets=$(MSBuildThisFileFullPath); + CustomAfterMicrosoftCommonTargets=$(MSBuildThisFileFullPath); + + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(_RestoreSolutionFileUsed)' == 'true' "> + $(_GenerateRestoreGraphProjectEntryInputProperties); + _RestoreSolutionFileUsed=true; + SolutionDir=$(SolutionDir); + SolutionName=$(SolutionName); + SolutionFileName=$(SolutionFileName); + SolutionPath=$(SolutionPath); + SolutionExt=$(SolutionExt); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(ContinueOnError) + false + + + + + + + + + + + + + + $(ContinueOnError) + false + + + + + + + + + + + + + + $(ContinueOnError) + false + + + + + + + + + + + + + <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> + + + + + + + $(ContinueOnError) + false + + + + + + + + + + + + + $(ContinueOnError) + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + exclusionlist + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vdproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> + + + + + + + + + + + + + + + + + + + + + + + + <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> + <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> + RestoreSpec + $(MSBuildProjectFullPath) + + + + + + + netcoreapp1.0 + + + + + + + + + + + + + + + + + + + <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true + + + <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true + + + + + + + <_HasPackageReferenceItems /> + + + + + + true + + + + + + <_RestoreProjectFramework /> + <_TargetFrameworkToBeUsed Condition=" '$(_TargetFrameworkOverride)' == '' ">$(TargetFrameworks) + + + + + + + <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> + + + + + + <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> + + + <_RestoreTargetFrameworkItems Include="$(_TargetFrameworkOverride)" /> + + + + + + $(SolutionDir) + + + + + + + + + + + + + + + + + + + + + + + <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> + $(RestoreAdditionalProjectSources) + $(RestoreAdditionalProjectFallbackFolders) + $(RestoreAdditionalProjectFallbackFoldersExcludes) + + + + + + + + $(MSBuildProjectExtensionsPath) + + + + + + + <_RestoreProjectName>$(MSBuildProjectName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) + + + + <_RestoreProjectVersion>1.0.0 + <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) + <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) + + + + <_RestoreCrossTargeting>true + + + + <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(_RestoreProjectVersion) + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(RestoreProjectStyle) + $(RestoreOutputAbsolutePath) + $(RuntimeIdentifiers);$(RuntimeIdentifier) + $(RuntimeSupports) + $(_RestoreCrossTargeting) + $(RestoreLegacyPackagesDirectory) + $(ValidateRuntimeIdentifierCompatibility) + $(_RestoreSkipContentFileWrite) + $(_OutputConfigFilePaths) + $(TreatWarningsAsErrors) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + $(NoWarn) + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) + $(CentralPackageFloatingVersionsEnabled) + $(CentralPackageVersionOverrideEnabled) + $(CentralPackageTransitivePinningEnabled) + $(NuGetAudit) + $(NuGetAuditLevel) + $(NuGetAuditMode) + $(SdkAnalysisLevel) + $(UsingMicrosoftNETSdk) + $(RestoreUseLegacyDependencyResolver) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(RestoreOutputAbsolutePath) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(_CurrentProjectJsonPath) + $(RestoreProjectStyle) + $(_OutputConfigFilePaths) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config + $(MSBuildProjectDirectory)\packages.config + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + $(_OutputSources) + $(SolutionDir) + $(_OutputRepositoryPath) + $(_OutputConfigFilePaths) + $(_OutputPackagesPath) + @(_RestoreTargetFrameworksOutputFiltered) + $(NuGetAudit) + $(NuGetAuditLevel) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + TargetFrameworkInformation + $(MSBuildProjectFullPath) + $(PackageTargetFallback) + $(AssetTargetFallback) + $(TargetFramework) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion) + $(TargetFrameworkMoniker) + $(TargetFrameworkProfile) + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetPlatformVersion) + $(TargetPlatformMinVersion) + $(CLRSupport) + $(RuntimeIdentifierGraphPath) + $(WindowsTargetPlatformMinVersion) + $(RestoreEnablePackagePruning) + $(NuGetAuditMode) + + + + + + + + + + + + + <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RestorePackagesPathOverride>$(RestorePackagesPath) + + + + + + <_RestorePackagesPathOverride>$(RestoreRepositoryPath) + + + + + + <_RestoreSourcesOverride>$(RestoreSources) + + + + + + <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) + + + + + + + + + + + + + <_TargetFrameworkOverride Condition=" '$(TargetFrameworks)' == '' ">$(TargetFramework) + + + + + + <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> + + + + + + + + + + $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets + + + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + $(MSBuildThisFileDirectory)\tools\net9.0\Microsoft.NET.Build.Extensions.Tasks.dll + $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll + + true + + + + + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets + + + + + + Microsoft.TestPlatform.Build.dll + $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) + False + False + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + AndroidJavaLibrary + + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + true + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + true + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + true + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + true + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + true + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + true + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + true + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + true + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + true + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + $(AndroidResgenExtraArgs.TrimEnd(' ')) --no-version-vectors + + + --no-version-vectors + + + + + + + true + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + true + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + true + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + true + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + true + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + true + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + true + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + true + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + true + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + true + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + manifestmerger.jar + + + AndroidX.Fragment.App.Fragment + + + + true + + + + + + + true + + + + + + + true + + + + + + + true + + + + + + + true + + + + + + true + + + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)Microsoft.Maui.Resizetizer.After.targets + + + + + + <_Microsoft_Extensions_OptionsAnalyzer Include="@(Analyzer)" Condition="'%(Analyzer.NuGetPackageId)' == 'Microsoft.Extensions.Options'" /> + + + + + + + + + + + + + + + + + + + <_Microsoft_Extensions_Logging_AbstractionsAnalyzer Include="@(Analyzer)" Condition="'%(Analyzer.NuGetPackageId)' == 'Microsoft.Extensions.Logging.Abstractions'" /> + + + + + + + + + + + + + + + + + + true + + + + + true + + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)Microsoft.Maui.Core.After.targets + + + + + true + + + + + <_IsHotRestartDefined>$([System.Text.RegularExpressions.Regex]::IsMatch('$(DefineConstants.Trim())', '(^|;)HOTRESTART($|;)')) + HOTRESTART;$(DefineConstants) + True + + + + + + + + + + + + Platforms\ + $([MSBuild]::EnsureTrailingSlash('$(PlatformsProjectFolder)')) + + <_KeepLaunchProfiles>true + + false + $(PlatformsProjectFolder)Android\ + $([MSBuild]::EnsureTrailingSlash('$(AndroidProjectFolder)')) + + false + $(PlatformsProjectFolder)iOS\ + $([MSBuild]::EnsureTrailingSlash('$(iOSProjectFolder)')) + + false + $(PlatformsProjectFolder)MacCatalyst\ + $([MSBuild]::EnsureTrailingSlash('$(MacCatalystProjectFolder)')) + + false + $(PlatformsProjectFolder)Windows\ + $([MSBuild]::EnsureTrailingSlash('$(WindowsProjectFolder)')) + + false + $(PlatformsProjectFolder)Tizen\ + $([MSBuild]::EnsureTrailingSlash('$(TizenProjectFolder)')) + + + + + + + + + + $(AndroidProjectFolder)AndroidManifest.xml + $(AndroidProjectFolder)Resources + $(AndroidProjectFolder)Assets + + + $(iOSProjectFolder)Resources + $(iOSProjectFolder)Entitlements.plist + <_SingleProjectiOSExcludes>$(iOSProjectFolder)/**/.*/** + + + $(MacCatalystProjectFolder)Resources + $(MacCatalystProjectFolder)Entitlements.plist + <_SingleProjectMacCatalystExcludes>$(MacCatalystProjectFolder)/**/.*/** + + + $(WindowsProjectFolder)app.manifest + $(WindowsProjectFolder)Package.appxmanifest + False + False + <_SingleProjectWindowsExcludes>$(WindowsProjectFolder)/**/.*/** + + + $(TizenProjectFolder)tizen-manifest.xml + $(TizenProjectFolder)res + $(TizenProjectFolder)shared + + + + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)Microsoft.Maui.Controls.Build.Tasks.After.targets + + + + + + $(InterceptorsPreviewNamespaces);Microsoft.Extensions.Configuration.Binder.SourceGeneration + + + + + + + + + <_Microsoft_Extensions_Configuration_Binder_Compatible_TargetFramework Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'netcoreapp2.0')) AND !$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">net6.0 + <_Microsoft_Extensions_Configuration_Binder_Compatible_TargetFramework Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net461')) AND !$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net462'))">net462 + + + + + + + + + + + + + + + + + + + + + + + + + + + @(MVVMToolkitCurrentCompilerAssemblyIdentity->'%(Version)') + + true + + + + + + + + + + true + + + + + + + roslyn4.3 + roslyn4.0 + + + + + + + + + + + true + + + + + + + + true + + + + + + + + + true + + + + <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets + <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) + + + + + 14.2 + 15.0 + 21.0 + 10.0.17763.0 + 10.0.17763.0 + + + + + + + + false + + + + + + + + + + +// <autogenerated /> +using System%3b +using System.Reflection%3b +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute("$(TargetFrameworkMoniker)", FrameworkDisplayName = "$(TargetFrameworkMonikerDisplayName)")] + + + + + true + + true + true + + $([System.Globalization.CultureInfo]::CurrentUICulture.Name) + + + + + <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" /> + + + + + + + + + + + TargetFramework + TargetFrameworks + + + true + + + + + + + + + <_MainReferenceTargetForBuild Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets + <_MainReferenceTargetForBuild Condition="'$(_MainReferenceTargetForBuild)' == ''">GetTargetPath + $(_MainReferenceTargetForBuild);GetNativeManifest;$(_RecursiveTargetForContentCopying);$(ProjectReferenceTargetsForBuild) + + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' == 'true'">GetTargetPath + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' != 'true'">$(_MainReferenceTargetForBuild) + GetTargetFrameworks;$(_MainReferenceTargetForPublish);GetNativeManifest;GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) + + $(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForPublish) + $(ProjectReferenceTargetsForRebuild);$(ProjectReferenceTargetsForPublish) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) + + + .default;$(ProjectReferenceTargetsForBuild) + + + Clean;$(ProjectReferenceTargetsForClean) + $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) + + + + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tools\ + net9.0 + net472 + $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ + $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll + + Microsoft.NETCore.App;NETStandard.Library + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + $(_IsExecutable) + + + + netcoreapp2.2 + + + false + DotnetTool + $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) + + + Preview + + + + + + + + true + + + + + + + + $(MSBuildProjectExtensionsPath)/project.assets.json + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) + + $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) + + false + + false + + true + $(IntermediateOutputPath)NuGet\ + true + $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) + $(TargetFrameworkMoniker) + true + + false + + true + + + + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) + + + + + + + + + $(ResolveAssemblyReferencesDependsOn); + ResolvePackageDependenciesForBuild; + _HandlePackageFileConflicts; + + + ResolvePackageDependenciesForBuild; + _HandlePackageFileConflicts; + $(PrepareResourcesDependsOn) + + + + + + $(RootNamespace) + + + $(AssemblyName) + + + $(MSBuildProjectDirectory) + + + $(TargetFileName) + + + $(MSBuildProjectFile) + + + + + + true + + + + + + ResolveLockFileReferences; + ResolveLockFileAnalyzers; + ResolveLockFileCopyLocalFiles; + ResolveRuntimePackAssets; + RunProduceContentAssets; + IncludeTransitiveProjectReferences + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) + roslyn$(_RoslynApiVersion) + + + + + + false + + + true + + + true + + + + true + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> + + + <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> + + <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + + + + + + + + + + + + + + true + true + true + true + + + + + $(DefaultItemExcludes);$(BaseOutputPath)/** + + $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** + + $(DefaultItemExcludes);**/*.user + $(DefaultItemExcludes);**/*.*proj + $(DefaultItemExcludes);**/*.sln + $(DefaultItemExcludes);**/*.slnx + $(DefaultItemExcludes);**/*.vssscc + $(DefaultItemExcludes);**/.DS_Store + + $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** + + + + + 1.6.1 + + 2.0.3 + + + + + + true + false + <_TargetLatestRuntimePatchIsDefault>true + + + true + + + + + all + true + + + all + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(_TargetFrameworkVersionWithoutV) + + + + + + + + https://aka.ms/sdkimplicitrefs + + + + + + + + + + + <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> + + + + false + + + + + + https://aka.ms/sdkimplicititems + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> + + + + + + + + + + + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + + + + + + + + + + + + + + + true + + + + + + + + + + + $(ResolveAssemblyReferencesDependsOn); + ResolveTargetingPackAssets; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + true + + + <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + $(RuntimeIdentifier) + $(DefaultAppHostRuntimeIdentifier) + + + + + + + + + + + true + true + false + + + + [%(_PackageToDownload.Version)] + + + + + + + + <_ImplicitPackageReference Remove="@(PackageReference)" /> + + + + + + + + + + + + + + + + + + %(ResolvedTargetingPack.PackageDirectory) + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> + %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) + + + + + %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) + + + + @(ResolvedAppHostPack->'%(Path)') + + + + %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) + + + + @(ResolvedSingleFileHostPack->'%(Path)') + + + + %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) + + + + @(ResolvedComHostPack->'%(Path)') + + + + %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) + + + + @(ResolvedIjwHostPack->'%(Path)') + + + + + + + + + + + + + + + true + false + + + + + + + + + + + + $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) + + + + + + + + + + + + + + + + + + + + + + + + + + <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> + + + + + + + + + + + + + + + + + + <_Parameter1>$(UserSecretsId.Trim()) + + + + + + + + + + $(_IsNETCoreOrNETStandard) + + + true + false + true + $(MSBuildProjectDirectory)/runtimeconfig.template.json + true + true + <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache + <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache + <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) + <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache + <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) + + + + <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true + + + false + true + + + $(BundledRuntimeIdentifierGraphFile) + + $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json + + + + + + + + + + + true + + + false + + + $(AssemblyName).deps.json + $(TargetDir)$(ProjectDepsFileName) + $(AssemblyName).runtimeconfig.json + $(TargetDir)$(ProjectRuntimeConfigFileName) + $(TargetDir)$(AssemblyName).runtimeconfig.dev.json + true + + + + + + true + true + + + + CurrentArchitecture + CurrentRuntime + + + <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so + <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe + <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) + <_DotNetAppHostExecutableNameWithoutExtension>apphost + <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) + <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost + <_DotNetComHostLibraryNameWithoutExtension>comhost + <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) + <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost + <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) + <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) + <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) + + + + + + <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> + + + + + + Microsoft.NETCore.App + + + + + <_DefaultUserProfileRuntimeStorePath>$(HOME) + <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) + <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) + $(_DefaultUserProfileRuntimeStorePath) + + + true + + + true + + + true + + + + false + true + + + + true + + + true + + + $(AvailablePlatforms),ARM32 + + + $(AvailablePlatforms),ARM64 + + + $(AvailablePlatforms),ARM64 + + + + false + + + + true + + + + + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + + <_BinaryFormatterObsoleteAsError>true + + true + false + + + + _CheckForBuildWithNoBuild; + $(CoreBuildDependsOn); + GenerateBuildDependencyFile; + GenerateBuildRuntimeConfigurationFiles + + + + + _SdkBeforeClean; + $(CoreCleanDependsOn) + + + + + _SdkBeforeRebuild; + $(RebuildDependsOn) + + + + + true + + + $(NuGetPackageRoot)\microsoft.net.sdk.compilers.toolset\$(NETCoreSdkVersion) + <_NeedToDownloadMicrosoftNetSdkCompilersToolsetPackage>true + <_MicrosoftNetSdkCompilersToolsetPackageRootEmpty Condition="'$(NuGetPackageRoot)' == ''">true + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.0.0 + + + + + + + + + + + + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> + + + + + + + + + + + + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> + + + + + + + + + + + + + <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true + LatestMinor + + + + + <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleaningWithoutRebuilding>true + false + + + + + <_CleaningWithoutRebuilding>false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(CompileDependsOn); + _CreateAppHost; + _CreateComHost; + _GetIjwHostPaths; + + + + + + <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true + <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true + <_UseSingleFileHostForPublish Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true' and '$(SingleFileHostSourcePath)' != '' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0))">true + <_DisableCetCompat Condition="'$(CetCompat)' == 'false'">true + + AppRelative + <_UpdateAppHostForPublish Condition="'$(_UseSingleFileHostForPublish)' != 'true' and ('$(AppHostRelativeDotNet)' != '' or '$(AppHostDotNetSearch)' != '')">true + + + + + + + + + + + + + @(_NativeRestoredAppHostNETCore) + + + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost_publish$(_NativeExecutableExtension)')) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) + + + + + + + + + + + + + + + + + + + + + + + + + $(AssemblyName).comhost$(_ComHostLibraryExtension) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) + + + + + + + + + + + + <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + PreserveNewest + + + + + + PreserveNewest + Never + + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + + Always + + + + + $(AssemblyName).$(_DotNetComHostLibraryName) + PreserveNewest + PreserveNewest + + + %(FileName)%(Extension) + PreserveNewest + PreserveNewest + + + + + $(_DotNetIjwHostLibraryName) + PreserveNewest + PreserveNewest + + + + + + + <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> + + <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> + <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> + <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> + + + + + + + + true + + + true + + + + + + + + + $(StartWorkingDirectory) + + + + + $(StartProgram) + $(StartArguments) + + + + + + dotnet + <_NetCoreRunArguments>exec "$(TargetPath)" + $(_NetCoreRunArguments) $(StartArguments) + $(_NetCoreRunArguments) + + + $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) + $(StartArguments) + + + + + $(TargetPath) + $(StartArguments) + + + mono + "$(TargetPath)" $(StartArguments) + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) + + + + + + + + + + + + + + + $(CreateSatelliteAssembliesDependsOn); + CoreGenerateSatelliteAssemblies + + + + + + + <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs + <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll + + + + <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) + + + + + + + true + + + <_SatelliteAssemblyReferences Remove="@(_SatelliteAssemblyReferences)" /> + <_SatelliteAssemblyReferences Include="@(ReferencePath)" Condition="'%(Filename)' == 'mscorlib' or '%(Filename)' == 'netstandard' or '%(Filename)' == 'System.Runtime' " /> + + + + + + + + + + + + + + + + + + + + + + + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + + + + + + + + + + + + + + + + + + + false + + + + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_SourceLinkSdkSubDir>build + <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting + + true + + + + + + + + local + + + + + + + + + + + + git + + + + + + + + + + + + + + + + + + + + + + + + + + $(RepositoryUrl) + $(ScmRepositoryUrl) + + + + %(SourceRoot.ScmRepositoryUrl) + + + + + + + + <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json + + + + + + + + + <_GenerateSourceLinkFileBeforeTargets>Link + <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches + + + <_GenerateSourceLinkFileBeforeTargets>CoreCompile + <_GenerateSourceLinkFileDependsOnTargets /> + + + + + + + + + + + + + + + + %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" + + + + + + + + + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\netframework\Microsoft.SourceLink.GitHub.dll + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\net\Microsoft.SourceLink.GitHub.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\netframework\Microsoft.SourceLink.GitLab.dll + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\net\Microsoft.SourceLink.GitLab.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\netframework\Microsoft.SourceLink.AzureRepos.Git.dll + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\net\Microsoft.SourceLink.AzureRepos.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\netframework\Microsoft.SourceLink.Bitbucket.Git.dll + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\net\Microsoft.SourceLink.Bitbucket.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + + + + .NET Standard $(_TargetFrameworkVersionWithoutV) + .NET Core $(_TargetFrameworkVersionWithoutV) + .NET $(_TargetFrameworkVersionWithoutV) + <_TargetFrameworkDirectories /> + + + + true + + + + + + + $(CommonOutputGroupsDependsOn); + + + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); + _GenerateDesignerDepsFile; + _GenerateDesignerRuntimeConfigFile; + GetCopyToOutputDirectoryItems; + _GatherDesignerShadowCopyFiles; + + <_DesignerDepsFileName>$(AssemblyName).designer.deps.json + <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json + <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) + <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) + + + + + + + + + + + + + + <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> + + + + + + + + + + + <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> + + <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + <_DesignerShadowCopy Remove="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' != 'true'" /> + + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) + true + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + + + + + + + <_InformationalVersionContainsPlus>false + <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true + $(InformationalVersion)+$(SourceRevisionId) + $(InformationalVersion).$(SourceRevisionId) + + + + + + <_Parameter1>$(Company) + + + <_Parameter1>$(Configuration) + + + <_Parameter1>$(Copyright) + + + <_Parameter1>$(Description) + + + <_Parameter1>$(FileVersion) + + + <_Parameter1>$(InformationalVersion) + + + <_Parameter1>$(Product) + + + <_Parameter1>$(Trademark) + + + <_Parameter1>$(AssemblyTitle) + + + <_Parameter1>$(AssemblyVersion) + + + <_Parameter1>RepositoryUrl + <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) + <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) + + + <_Parameter1>$(NeutralLanguage) + + + %(InternalsVisibleTo.PublicKey) + + + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) + + + <_Parameter1>%(AssemblyMetadata.Identity) + <_Parameter2>%(AssemblyMetadata.Value) + + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) + + + <_Parameter1>$(TargetPlatformIdentifier) + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache + + + + + + + + + + + + + + + + + + + + + + + + + + + $(AssemblyVersion) + $(Version) + + + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).GlobalUsings.g$(DefaultLanguageSourceExtension) + + + + + + + + + + + + + + + + + + + <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config + + + + + + + + + + + + + + + + + + + + + + + + + + <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> + <_AllProjects Include="$(MSBuildProjectFullPath)" /> + + + + + + + + + + %(PackageReference.Identity) + %(PackageReference.Version) + + StorePackageName=%(PackageReference.Identity); + StorePackageVersion=%(PackageReference.Version); + ComposeWorkingDir=$(ComposeWorkingDir); + PublishDir=$(PublishDir); + StoreStagingDir=$(StoreStagingDir); + TargetFramework=$(TargetFramework); + RuntimeIdentifier=$(RuntimeIdentifier); + JitPath=$(JitPath); + Crossgen=$(Crossgen); + SkipUnchangedFiles=$(SkipUnchangedFiles); + PreserveStoreLayout=$(PreserveStoreLayout); + CreateProfilingSymbols=$(CreateProfilingSymbols); + StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); + DisableImplicitFrameworkReferences=false; + + + + + + + + + + + + + + + + + + + + + + + <_StoreArtifactContent> +@(ListOfPackageReference) + +]]> + + + + + + + + + + <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> + <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> + + + + + + + + + + + + true + true + <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) + true + + + + + + $(UserProfileRuntimeStorePath) + <_ProfilingSymbolsDirectoryName>symbols + $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) + $(DefaultProfilingSymbolsDir) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) + $(ProfilingSymbolsDir)\ + $(DefaultComposeDir) + $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) + $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) + $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) + $([System.IO.Path]::GetFullPath($(ComposeDir))) + <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) + $([System.IO.Path]::GetTempPath()) + $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) + $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) + + $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) + + $(PublishDir)\ + + + + false + true + + + + + + + + $(StorePackageVersion.Replace('*','-')) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) + <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) + $(StoreWorkerWorkingDir)\ + $(BaseIntermediateOutputPath)\project.assets.json + + + $(MicrosoftNETPlatformLibrary) + true + + + + + + + + + + + + + + + + + + + + + + + <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> + + + true + + + + + + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> + + + + + + + true + true + + + + + + + + + + + + + + + + + + + + + + true + true + false + true + false + true + 1 + + + + + + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> + + + + + + + + <_CoreclrPath>@(_CoreclrResolvedPath) + @(_JitResolvedPath) + <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) + <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) + $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) + + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) + + + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) + + + + + + + + CrossgenExe=$(Crossgen); + CrossgenJit=$(JitPath); + CrossgenInputAssembly=%(_ManagedResolvedFilesToOptimize.Fullpath); + CrossgenOutputAssembly=$(_RuntimeOptimizedDir)$(DirectorySeparatorChar)%(_ManagedResolvedFilesToOptimize.FileName)%(_ManagedResolvedFilesToOptimize.Extension); + CrossgenSubOutputPath=%(_ManagedResolvedFilesToOptimize.DestinationSubPath); + _RuntimeOptimizedDir=$(_RuntimeOptimizedDir); + PublishDir=$(StoreStagingDir); + CrossgenPlatformAssembliesPath=$(_RuntimeRefDir)$(PathSeparator)$(_NetCoreRefDir); + CreateProfilingSymbols=$(CreateProfilingSymbols); + StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); + _RuntimeSymbolsDir=$(_RuntimeSymbolsDir) + + + + + + + + + + $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) + $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) + $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" + CreatePDB + CreatePerfMap + + + + + + + + + + + + <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> + + + + + + + + $([System.IO.Path]::PathSeparator) + $([System.IO.Path]::DirectorySeparatorChar) + + + + + + <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) + <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) + + + + + <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) + + + + + + <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) + + <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) + + <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) + + + <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll + $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll + + + + + + + + + + + + + + + + + + + + + + + + <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R + + + + <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> + + + + <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> + + + + + + <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> + <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> + + + <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> + <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> + + + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> + + + + + + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props + + + + + + + <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> + + <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> + + + + + + + + + true + <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true + true + + + + + true + true + <_FirstTargetFrameworkToSupportTrimming>net6.0 + <_FirstTargetFrameworkToSupportAot>net7.0 + <_FirstTargetFrameworkToSupportSingleFile>net6.0 + <_FirstTargetFrameworkVersionToSupportTrimAnalyzer>$([MSBuild]::GetTargetFrameworkVersion('$(_FirstTargetFrameworkToSupportTrimming)')) + <_FirstTargetFrameworkVersionToSupportAotAnalyzer>$([MSBuild]::GetTargetFrameworkVersion('$(_FirstTargetFrameworkToSupportAot)')) + <_FirstTargetFrameworkVersionToSupportSingleFileAnalyzer>$([MSBuild]::GetTargetFrameworkVersion('$(_FirstTargetFrameworkToSupportSingleFile)')) + + + + + + + + + + + + Always + + + + + + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false + + + + + <_MinNonEolTargetFrameworkForTrimming>$(_MinimumNonEolSupportedNetCoreTargetFramework) + <_MinNonEolTargetFrameworkForSingleFile>$(_MinimumNonEolSupportedNetCoreTargetFramework) + + <_MinNonEolTargetFrameworkForAot>$(_MinimumNonEolSupportedNetCoreTargetFramework) + <_MinNonEolTargetFrameworkForAot Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(_FirstTargetFrameworkToSupportAot)', '$(_MinimumNonEolSupportedNetCoreTargetFramework)'))">$(_FirstTargetFrameworkToSupportAot) + + + <_TargetFramework Include="$(TargetFrameworks)" /> + <_DecomposedTargetFramework Include="@(_TargetFramework)"> + $([MSBuild]::IsTargetFrameworkCompatible('%(Identity)', '$(_FirstTargetFrameworkToSupportTrimming)')) + $([MSBuild]::IsTargetFrameworkCompatible('$(_MinNonEolTargetFrameworkForTrimming)', '%(Identity)')) + $([MSBuild]::IsTargetFrameworkCompatible('%(Identity)', '$(_FirstTargetFrameworkToSupportAot)')) + $([MSBuild]::IsTargetFrameworkCompatible('$(_MinNonEolTargetFrameworkForAot)', '%(Identity)')) + $([MSBuild]::IsTargetFrameworkCompatible('%(Identity)', '$(_FirstTargetFrameworkToSupportSingleFile)')) + $([MSBuild]::IsTargetFrameworkCompatible('$(_MinNonEolTargetFrameworkForSingleFile)', '%(Identity)')) + + <_TargetFrameworkToSilenceIsTrimmableUnsupportedWarning Include="@(_DecomposedTargetFramework)" Condition="'%(SupportsTrimming)' == 'true' And '%(SupportedByMinNonEolTargetFrameworkForTrimming)' == 'true'" /> + <_TargetFrameworkToSilenceIsAotCompatibleUnsupportedWarning Include="@(_DecomposedTargetFramework->'%(Identity)')" Condition="'%(SupportsAot)' == 'true' And '%(SupportedByMinNonEolTargetFrameworkForAot)' == 'true'" /> + <_TargetFrameworkToSilenceEnableSingleFileAnalyzerUnsupportedWarning Include="@(_DecomposedTargetFramework)" Condition="'%(SupportsSingleFile)' == 'true' And '%(SupportedByMinNonEolTargetFrameworkForSingleFile)' == 'true'" /> + + + + <_SilenceIsTrimmableUnsupportedWarning Condition="'$(_SilenceIsTrimmableUnsupportedWarning)' == '' And @(_TargetFrameworkToSilenceIsTrimmableUnsupportedWarning->Count()) > 0">true + <_SilenceIsAotCompatibleUnsupportedWarning Condition="'$(_SilenceIsAotCompatibleUnsupportedWarning)' == '' And @(_TargetFrameworkToSilenceIsAotCompatibleUnsupportedWarning->Count()) > 0">true + <_SilenceEnableSingleFileAnalyzerUnsupportedWarning Condition="'$(_SilenceEnableSingleFileAnalyzerUnsupportedWarning)' == '' And @(_TargetFrameworkToSilenceEnableSingleFileAnalyzerUnsupportedWarning->Count()) > 0">true + + + + + + + + <_BeforePublishNoBuildTargets> + BuildOnlySettings; + _PreventProjectReferencesFromBuilding; + ResolveReferences; + PrepareResourceNames; + ComputeIntermediateSatelliteAssemblies; + ComputeEmbeddedApphostPaths; + + <_CorePublishTargets> + PrepareForPublish; + ComputeAndCopyFilesToPublishDirectory; + $(PublishProtocolProviderTargets); + PublishItemsOutputGroup; + + <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + $(PublishDir)\ + + + + + + + + + + + + <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> + + + + + + + + + + + + <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) + + + + + + <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt + + + + + + + + + + + + + + + + + + <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> + <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> + <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> + + + <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> + <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> + + + + + + + + true + true + false + + + + + + + + @(IntermediateAssembly->'%(Filename)%(Extension)') + PreserveNewest + + + + $(ProjectDepsFileName) + PreserveNewest + + + + $(ProjectRuntimeConfigFileName) + PreserveNewest + + + + @(AppConfigWithTargetPath->'%(TargetPath)') + PreserveNewest + + + + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + PreserveNewest + true + + + + %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) + PreserveNewest + + + + %(Filename)%(Extension) + PreserveNewest + + + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> + + + + %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) + PreserveNewest + + + + @(FinalDocFile->'%(Filename)%(Extension)') + PreserveNewest + + + + shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) + PreserveNewest + + + <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> + + + + + + + + + + + + <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> + + + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> + + + + + + + + + + + + + <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> + + + + + + <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + + + + + + + + + + + + + + %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) + Always + True + + + %(_SourceItemsToCopyToPublishDirectory.TargetPath) + PreserveNewest + True + + + + + + + + <_GCTPDIKeepDuplicates>false + <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath + + + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + <_SourceItemsToCopyToPublishDirectoryAlways Remove="$(AppHostIntermediatePath)" /> + <_SourceItemsToCopyToPublishDirectory Remove="$(AppHostIntermediatePath)" /> + + <_SourceItemsToCopyToPublishDirectoryAlways Include="$(SingleFileHostIntermediatePath)" CopyToOutputDirectory="Always" TargetPath="$(AssemblyName)$(_NativeExecutableExtension)" /> + + + + <_SourceItemsToCopyToPublishDirectoryAlways Remove="$(AppHostIntermediatePath)" /> + <_SourceItemsToCopyToPublishDirectory Remove="$(AppHostIntermediatePath)" /> + + <_SourceItemsToCopyToPublishDirectoryAlways Include="$(AppHostForPublishIntermediatePath)" CopyToOutputDirectory="Always" TargetPath="$(AssemblyName)$(_NativeExecutableExtension)" /> + + + + + + + + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + Always + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + PreserveNewest + + + + + <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies + + + + + + + <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> + + <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> + + <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> + + + + <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> + + + + + + + + + + + + + + + <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> + + + + + + <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true + <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true + + + + + + <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> + + + + $(AssemblyName)$(_NativeExecutableExtension) + $(PublishDir)$(PublishedSingleFileName) + + + + + + + + $(PublishedSingleFileName) + + + + + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> + + + + + + + + + + false + false + false + $(IncludeAllContentForSelfExtract) + false + + + + + + + + + + + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + + + + + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> + + + + + + + + + + + + + + $(PublishDir)$(ProjectDepsFileName) + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) + + + + + + <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> + + + + + $(ProjectDepsFileName) + + + + + + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + + + + $(PublishItemsOutputGroupDependsOn); + ResolveReferences; + ComputeResolvedFilesToPublishList; + _ComputeFilesToBundle; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml + true + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) + + + + <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> + <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> + <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> + + + + + + + tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) + + + %(_ResolvedFileToPublishWithPackagePath.PackagePath) + + + + + $(TargetName) + $(TargetFileName) + <_GenerateToolsSettingsFileCacheFile Condition="'$(_GenerateToolsSettingsFileCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).toolssettingsinput.cache + <_GenerateToolsSettingsFileCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateToolsSettingsFileCacheFile))) + + + + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolCommandName)" /> + + + + + + + + + + + + + + + + + + + + + + <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache + <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) + <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel + <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) + $(OutDir) + + + + + + + + + + + + + + + + + + + + + + <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> + <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> + <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> + <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + + + + + + refs + $(PreserveCompilationContext) + + + + + $(DefineConstants) + $(LangVersion) + $(PlatformTarget) + $(AllowUnsafeBlocks) + $(TreatWarningsAsErrors) + $(Optimize) + $(AssemblyOriginatorKeyFile) + $(DelaySign) + $(PublicSign) + $(DebugType) + $(OutputType) + $(GenerateDocumentationFile) + + + + + + + + + + + <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> + + <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> + + $(RefAssembliesFolderName)\%(Filename)%(Extension) + + + + + + + + + + + + + + + + + + Microsoft.CSharp|4.4.0; + Microsoft.Win32.Primitives|4.3.0; + Microsoft.Win32.Registry|4.4.0; + runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple|4.3.0; + runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + System.AppContext|4.3.0; + System.Buffers|4.4.0; + System.Collections|4.3.0; + System.Collections.Concurrent|4.3.0; + System.Collections.Immutable|1.4.0; + System.Collections.NonGeneric|4.3.0; + System.Collections.Specialized|4.3.0; + System.ComponentModel|4.3.0; + System.ComponentModel.EventBasedAsync|4.3.0; + System.ComponentModel.Primitives|4.3.0; + System.ComponentModel.TypeConverter|4.3.0; + System.Console|4.3.0; + System.Data.Common|4.3.0; + System.Diagnostics.Contracts|4.3.0; + System.Diagnostics.Debug|4.3.0; + System.Diagnostics.DiagnosticSource|4.4.0; + System.Diagnostics.FileVersionInfo|4.3.0; + System.Diagnostics.Process|4.3.0; + System.Diagnostics.StackTrace|4.3.0; + System.Diagnostics.TextWriterTraceListener|4.3.0; + System.Diagnostics.Tools|4.3.0; + System.Diagnostics.TraceSource|4.3.0; + System.Diagnostics.Tracing|4.3.0; + System.Dynamic.Runtime|4.3.0; + System.Globalization|4.3.0; + System.Globalization.Calendars|4.3.0; + System.Globalization.Extensions|4.3.0; + System.IO|4.3.0; + System.IO.Compression|4.3.0; + System.IO.Compression.ZipFile|4.3.0; + System.IO.FileSystem|4.3.0; + System.IO.FileSystem.AccessControl|4.4.0; + System.IO.FileSystem.DriveInfo|4.3.0; + System.IO.FileSystem.Primitives|4.3.0; + System.IO.FileSystem.Watcher|4.3.0; + System.IO.IsolatedStorage|4.3.0; + System.IO.MemoryMappedFiles|4.3.0; + System.IO.Pipes|4.3.0; + System.IO.UnmanagedMemoryStream|4.3.0; + System.Linq|4.3.0; + System.Linq.Expressions|4.3.0; + System.Linq.Queryable|4.3.0; + System.Net.Http|4.3.0; + System.Net.NameResolution|4.3.0; + System.Net.Primitives|4.3.0; + System.Net.Requests|4.3.0; + System.Net.Security|4.3.0; + System.Net.Sockets|4.3.0; + System.Net.WebHeaderCollection|4.3.0; + System.ObjectModel|4.3.0; + System.Private.DataContractSerialization|4.3.0; + System.Reflection|4.3.0; + System.Reflection.Emit|4.3.0; + System.Reflection.Emit.ILGeneration|4.3.0; + System.Reflection.Emit.Lightweight|4.3.0; + System.Reflection.Extensions|4.3.0; + System.Reflection.Metadata|1.5.0; + System.Reflection.Primitives|4.3.0; + System.Reflection.TypeExtensions|4.3.0; + System.Resources.ResourceManager|4.3.0; + System.Runtime|4.3.0; + System.Runtime.Extensions|4.3.0; + System.Runtime.Handles|4.3.0; + System.Runtime.InteropServices|4.3.0; + System.Runtime.InteropServices.RuntimeInformation|4.3.0; + System.Runtime.Loader|4.3.0; + System.Runtime.Numerics|4.3.0; + System.Runtime.Serialization.Formatters|4.3.0; + System.Runtime.Serialization.Json|4.3.0; + System.Runtime.Serialization.Primitives|4.3.0; + System.Security.AccessControl|4.4.0; + System.Security.Claims|4.3.0; + System.Security.Cryptography.Algorithms|4.3.0; + System.Security.Cryptography.Cng|4.4.0; + System.Security.Cryptography.Csp|4.3.0; + System.Security.Cryptography.Encoding|4.3.0; + System.Security.Cryptography.OpenSsl|4.4.0; + System.Security.Cryptography.Primitives|4.3.0; + System.Security.Cryptography.X509Certificates|4.3.0; + System.Security.Cryptography.Xml|4.4.0; + System.Security.Principal|4.3.0; + System.Security.Principal.Windows|4.4.0; + System.Text.Encoding|4.3.0; + System.Text.Encoding.Extensions|4.3.0; + System.Text.RegularExpressions|4.3.0; + System.Threading|4.3.0; + System.Threading.Overlapped|4.3.0; + System.Threading.Tasks|4.3.0; + System.Threading.Tasks.Extensions|4.3.0; + System.Threading.Tasks.Parallel|4.3.0; + System.Threading.Thread|4.3.0; + System.Threading.ThreadPool|4.3.0; + System.Threading.Timer|4.3.0; + System.ValueTuple|4.3.0; + System.Xml.ReaderWriter|4.3.0; + System.Xml.XDocument|4.3.0; + System.Xml.XmlDocument|4.3.0; + System.Xml.XmlSerializer|4.3.0; + System.Xml.XPath|4.3.0; + System.Xml.XPath.XDocument|4.3.0; + + + + + Microsoft.Win32.Primitives|4.3.0; + System.AppContext|4.3.0; + System.Collections|4.3.0; + System.Collections.Concurrent|4.3.0; + System.Collections.Immutable|1.4.0; + System.Collections.NonGeneric|4.3.0; + System.Collections.Specialized|4.3.0; + System.ComponentModel|4.3.0; + System.ComponentModel.EventBasedAsync|4.3.0; + System.ComponentModel.Primitives|4.3.0; + System.ComponentModel.TypeConverter|4.3.0; + System.Console|4.3.0; + System.Data.Common|4.3.0; + System.Diagnostics.Contracts|4.3.0; + System.Diagnostics.Debug|4.3.0; + System.Diagnostics.FileVersionInfo|4.3.0; + System.Diagnostics.Process|4.3.0; + System.Diagnostics.StackTrace|4.3.0; + System.Diagnostics.TextWriterTraceListener|4.3.0; + System.Diagnostics.Tools|4.3.0; + System.Diagnostics.TraceSource|4.3.0; + System.Diagnostics.Tracing|4.3.0; + System.Dynamic.Runtime|4.3.0; + System.Globalization|4.3.0; + System.Globalization.Calendars|4.3.0; + System.Globalization.Extensions|4.3.0; + System.IO|4.3.0; + System.IO.Compression|4.3.0; + System.IO.Compression.ZipFile|4.3.0; + System.IO.FileSystem|4.3.0; + System.IO.FileSystem.DriveInfo|4.3.0; + System.IO.FileSystem.Primitives|4.3.0; + System.IO.FileSystem.Watcher|4.3.0; + System.IO.IsolatedStorage|4.3.0; + System.IO.MemoryMappedFiles|4.3.0; + System.IO.Pipes|4.3.0; + System.IO.UnmanagedMemoryStream|4.3.0; + System.Linq|4.3.0; + System.Linq.Expressions|4.3.0; + System.Linq.Queryable|4.3.0; + System.Net.Http|4.3.0; + System.Net.NameResolution|4.3.0; + System.Net.Primitives|4.3.0; + System.Net.Requests|4.3.0; + System.Net.Security|4.3.0; + System.Net.Sockets|4.3.0; + System.Net.WebHeaderCollection|4.3.0; + System.ObjectModel|4.3.0; + System.Private.DataContractSerialization|4.3.0; + System.Reflection|4.3.0; + System.Reflection.Emit|4.3.0; + System.Reflection.Emit.ILGeneration|4.3.0; + System.Reflection.Emit.Lightweight|4.3.0; + System.Reflection.Extensions|4.3.0; + System.Reflection.Primitives|4.3.0; + System.Reflection.TypeExtensions|4.3.0; + System.Resources.ResourceManager|4.3.0; + System.Runtime|4.3.0; + System.Runtime.Extensions|4.3.0; + System.Runtime.Handles|4.3.0; + System.Runtime.InteropServices|4.3.0; + System.Runtime.InteropServices.RuntimeInformation|4.3.0; + System.Runtime.Loader|4.3.0; + System.Runtime.Numerics|4.3.0; + System.Runtime.Serialization.Formatters|4.3.0; + System.Runtime.Serialization.Json|4.3.0; + System.Runtime.Serialization.Primitives|4.3.0; + System.Security.AccessControl|4.4.0; + System.Security.Claims|4.3.0; + System.Security.Cryptography.Algorithms|4.3.0; + System.Security.Cryptography.Csp|4.3.0; + System.Security.Cryptography.Encoding|4.3.0; + System.Security.Cryptography.Primitives|4.3.0; + System.Security.Cryptography.X509Certificates|4.3.0; + System.Security.Cryptography.Xml|4.4.0; + System.Security.Principal|4.3.0; + System.Security.Principal.Windows|4.4.0; + System.Text.Encoding|4.3.0; + System.Text.Encoding.Extensions|4.3.0; + System.Text.RegularExpressions|4.3.0; + System.Threading|4.3.0; + System.Threading.Overlapped|4.3.0; + System.Threading.Tasks|4.3.0; + System.Threading.Tasks.Extensions|4.3.0; + System.Threading.Tasks.Parallel|4.3.0; + System.Threading.Thread|4.3.0; + System.Threading.ThreadPool|4.3.0; + System.Threading.Timer|4.3.0; + System.ValueTuple|4.3.0; + System.Xml.ReaderWriter|4.3.0; + System.Xml.XDocument|4.3.0; + System.Xml.XmlDocument|4.3.0; + System.Xml.XmlSerializer|4.3.0; + System.Xml.XPath|4.3.0; + System.Xml.XPath.XDocument|4.3.0; + + + + + + + + + + + <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> + + + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> + + + + + + + + + + + + + + + Properties + + + $(Configuration.ToUpperInvariant()) + + $(ImplicitConfigurationDefine.Replace('-', '_')) + $(ImplicitConfigurationDefine.Replace('.', '_')) + $(ImplicitConfigurationDefine.Replace(' ', '_')) + $(DefineConstants);$(ImplicitConfigurationDefine) + + + $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) + + + + + + + + $(WarningsAsErrors);SYSLIB0011 + + + + + + + + + + $(IntermediateOutputPath)linked\ + $(IntermediateLinkDir)\ + + <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore + + + + <_Parameter1>IsTrimmable + <_Parameter2>True + + + + + false + false + false + false + false + false + + false + false + false + false + + <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(EnableCppCLIHostActivation)' == 'true'">true + <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false + true + false + + <_UseManagedNtlm Condition="'$(_UseManagedNtlm)' == '' and $(RuntimeIdentifier.StartsWith('linux-bionic'))">true + + <_UseManagedNtlm Condition="'$(_UseManagedNtlm)' == '' and $(RuntimeIdentifier.StartsWith('linux'))">false + <_ComObjectDescriptorSupport Condition="'$(_ComObjectDescriptorSupport)' == ''">false + <_DesignerHostSupport Condition="'$(_DesignerHostSupport)' == ''">false + <_DefaultValueAttributeSupport Condition="'$(_DefaultValueAttributeSupport)' == ''">false + true + false + + + + true + + false + + + + <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --notrimwarn + false + + + + $(NoWarn);IL2121 + + + + + + <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> + + + + + + + <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + + + + + + + + + + + + + + <_DotNetHostDirectory>$(NetCoreRoot) + <_DotNetHostFileName>dotnet + <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe + + + + + + + + + + + + + + + + 5 + 0 + + + + + <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --link-attributes "@(_ILLinkSuppressions->'%(Identity)', '" --link-attributes "')" + + + + full + + + $(TreatWarningsAsErrors) + true + + + + + true + false + + + + <_TrimmerKeepMetadata Include="all" Condition=" '$(DebuggerSupport)' != 'false' " /> + + + <_TrimmerPreserveSymbolPaths Condition=" '$(_TrimmerPreserveSymbolPaths)' == '' and '$(DeterministicSourcePaths)' == 'true' ">true + <_TrimmerPreserveSymbolPaths Condition=" '$(_TrimmerPreserveSymbolPaths)' == '' ">false + + + + + true + + + + + + + + + + + + + + + + + + <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> + <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> + + <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> + <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> + + <_SingleWarnIntermediateAssembly> + false + + + + + + + false + + + + <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> + + + + + + + + + + + + <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> + <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> + + + <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + + + + + + + + + <_NoneAnalysisLevel>4.0 + + <_LatestAnalysisLevel>9.0 + <_PreviewAnalysisLevel>10.0 + latest + $(_TargetFrameworkVersionWithoutV) + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '$(AnalysisLevelPrefix)-', '')) + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + $(AnalysisLevelPrefix) + $(AnalysisLevel) + + + + 9999 + + 4 + + $(_TargetFrameworkVersionWithoutV.Substring(0, 1)) + + + + + true + + true + + true + + true + + false + + + + false + false + false + false + false + + + + + + + + <_NETAnalyzersSDKAssemblyVersion>9.0.0 + + + + CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311;CA1401;CA1416;CA1417;CA1418;CA1419;CA1420;CA1421;CA1422;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1510;CA1511;CA1512;CA1513;CA1514;CA1515;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA1850;CA1851;CA1852;CA1853;CA1854;CA1855;CA1856;CA1857;CA1858;CA1859;CA1860;CA1861;CA1862;CA1863;CA1864;CA1865;CA1866;CA1867;CA1868;CA1869;CA1870;CA1871;CA1872;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2019;CA2020;CA2021;CA2022;CA2100;CA2101;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2259;CA2260;CA2261;CA2262;CA2263;CA2264;CA2265;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 + $(CodeAnalysisTreatWarningsAsErrors) + $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) + + + + + + + + $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevel), '(.0)*$', '')) + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers>$(AnalysisLevelSuffix) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers)' == ''">$(AnalysisMode) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers)' == ''">Default + + + $(CodeAnalysisTreatWarningsAsErrors) + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(MicrosoftCodeAnalysisNetAnalyzersRulesVersion)' != ''">AnalysisLevel_$(MicrosoftCodeAnalysisNetAnalyzersRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers_WarnAsErrorSuffix).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers.ToLowerInvariant()) + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzers)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzers)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers) + + + + + + + + + + $(AnalysisLevel) + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelDesign), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelDesign), '$(AnalysisLevelPrefixDesign)-', '')) + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + $(AnalysisLevelPrefixDesign) + $(AnalysisLevelDesign) + + $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelDesign), '(.0)*$', '')) + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign>$(AnalysisLevelSuffixDesign) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign)' == ''">$(AnalysisModeDesign) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign)' == ''">Default + + + $(CodeAnalysisTreatWarningsAsErrors) + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDesign_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDesign Condition="'$(MicrosoftCodeAnalysisNetAnalyzersDesignRulesVersion)' != ''">AnalysisLevelDesign_$(MicrosoftCodeAnalysisNetAnalyzersDesignRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDesign_WarnAsErrorSuffix).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDesign>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDesign.ToLowerInvariant()) + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersDesign Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersDesign)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersDesign Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDesign)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersDesign)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDesign) + + + + + + + + + + $(AnalysisLevel) + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelDocumentation), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelDocumentation), '$(AnalysisLevelPrefixDocumentation)-', '')) + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + $(AnalysisLevelPrefixDocumentation) + $(AnalysisLevelDocumentation) + + $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelDocumentation), '(.0)*$', '')) + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation>$(AnalysisLevelSuffixDocumentation) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation)' == ''">$(AnalysisModeDocumentation) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation)' == ''">Default + + + $(CodeAnalysisTreatWarningsAsErrors) + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDocumentation_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDocumentation Condition="'$(MicrosoftCodeAnalysisNetAnalyzersDocumentationRulesVersion)' != ''">AnalysisLevelDocumentation_$(MicrosoftCodeAnalysisNetAnalyzersDocumentationRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDocumentation_WarnAsErrorSuffix).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDocumentation>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDocumentation.ToLowerInvariant()) + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersDocumentation Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersDocumentation)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersDocumentation Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDocumentation)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersDocumentation)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDocumentation) + + + + + + + + + + $(AnalysisLevel) + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelGlobalization), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelGlobalization), '$(AnalysisLevelPrefixGlobalization)-', '')) + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + $(AnalysisLevelPrefixGlobalization) + $(AnalysisLevelGlobalization) + + $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelGlobalization), '(.0)*$', '')) + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization>$(AnalysisLevelSuffixGlobalization) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization)' == ''">$(AnalysisModeGlobalization) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization)' == ''">Default + + + $(CodeAnalysisTreatWarningsAsErrors) + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersGlobalization_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersGlobalization Condition="'$(MicrosoftCodeAnalysisNetAnalyzersGlobalizationRulesVersion)' != ''">AnalysisLevelGlobalization_$(MicrosoftCodeAnalysisNetAnalyzersGlobalizationRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersGlobalization_WarnAsErrorSuffix).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersGlobalization>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersGlobalization.ToLowerInvariant()) + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersGlobalization Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersGlobalization)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersGlobalization Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersGlobalization)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersGlobalization)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersGlobalization) + + + + + + + + + + $(AnalysisLevel) + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelInteroperability), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelInteroperability), '$(AnalysisLevelPrefixInteroperability)-', '')) + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + $(AnalysisLevelPrefixInteroperability) + $(AnalysisLevelInteroperability) + + $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelInteroperability), '(.0)*$', '')) + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability>$(AnalysisLevelSuffixInteroperability) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability)' == ''">$(AnalysisModeInteroperability) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability)' == ''">Default + + + $(CodeAnalysisTreatWarningsAsErrors) + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersInteroperability_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersInteroperability Condition="'$(MicrosoftCodeAnalysisNetAnalyzersInteroperabilityRulesVersion)' != ''">AnalysisLevelInteroperability_$(MicrosoftCodeAnalysisNetAnalyzersInteroperabilityRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersInteroperability_WarnAsErrorSuffix).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersInteroperability>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersInteroperability.ToLowerInvariant()) + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersInteroperability Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersInteroperability)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersInteroperability Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersInteroperability)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersInteroperability)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersInteroperability) + + + + + + + + + + $(AnalysisLevel) + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelMaintainability), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelMaintainability), '$(AnalysisLevelPrefixMaintainability)-', '')) + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + $(AnalysisLevelPrefixMaintainability) + $(AnalysisLevelMaintainability) + + $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelMaintainability), '(.0)*$', '')) + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability>$(AnalysisLevelSuffixMaintainability) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability)' == ''">$(AnalysisModeMaintainability) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability)' == ''">Default + + + $(CodeAnalysisTreatWarningsAsErrors) + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersMaintainability_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersMaintainability Condition="'$(MicrosoftCodeAnalysisNetAnalyzersMaintainabilityRulesVersion)' != ''">AnalysisLevelMaintainability_$(MicrosoftCodeAnalysisNetAnalyzersMaintainabilityRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersMaintainability_WarnAsErrorSuffix).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersMaintainability>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersMaintainability.ToLowerInvariant()) + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersMaintainability Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersMaintainability)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersMaintainability Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersMaintainability)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersMaintainability)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersMaintainability) + + + + + + + + + + $(AnalysisLevel) + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelNaming), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelNaming), '$(AnalysisLevelPrefixNaming)-', '')) + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + $(AnalysisLevelPrefixNaming) + $(AnalysisLevelNaming) + + $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelNaming), '(.0)*$', '')) + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming>$(AnalysisLevelSuffixNaming) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming)' == ''">$(AnalysisModeNaming) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming)' == ''">Default + + + $(CodeAnalysisTreatWarningsAsErrors) + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersNaming_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersNaming Condition="'$(MicrosoftCodeAnalysisNetAnalyzersNamingRulesVersion)' != ''">AnalysisLevelNaming_$(MicrosoftCodeAnalysisNetAnalyzersNamingRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersNaming_WarnAsErrorSuffix).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersNaming>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersNaming.ToLowerInvariant()) + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersNaming Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersNaming)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersNaming Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersNaming)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersNaming)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersNaming) + + + + + + + + + + $(AnalysisLevel) + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelPerformance), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelPerformance), '$(AnalysisLevelPrefixPerformance)-', '')) + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + $(AnalysisLevelPrefixPerformance) + $(AnalysisLevelPerformance) + + $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelPerformance), '(.0)*$', '')) + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance>$(AnalysisLevelSuffixPerformance) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance)' == ''">$(AnalysisModePerformance) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance)' == ''">Default + + + $(CodeAnalysisTreatWarningsAsErrors) + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersPerformance_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersPerformance Condition="'$(MicrosoftCodeAnalysisNetAnalyzersPerformanceRulesVersion)' != ''">AnalysisLevelPerformance_$(MicrosoftCodeAnalysisNetAnalyzersPerformanceRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersPerformance_WarnAsErrorSuffix).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersPerformance>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersPerformance.ToLowerInvariant()) + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersPerformance Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersPerformance)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersPerformance Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersPerformance)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersPerformance)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersPerformance) + + + + + + + + + + $(AnalysisLevel) + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelReliability), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelReliability), '$(AnalysisLevelPrefixReliability)-', '')) + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + $(AnalysisLevelPrefixReliability) + $(AnalysisLevelReliability) + + $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelReliability), '(.0)*$', '')) + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability>$(AnalysisLevelSuffixReliability) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability)' == ''">$(AnalysisModeReliability) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability)' == ''">Default + + + $(CodeAnalysisTreatWarningsAsErrors) + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersReliability_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersReliability Condition="'$(MicrosoftCodeAnalysisNetAnalyzersReliabilityRulesVersion)' != ''">AnalysisLevelReliability_$(MicrosoftCodeAnalysisNetAnalyzersReliabilityRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersReliability_WarnAsErrorSuffix).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersReliability>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersReliability.ToLowerInvariant()) + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersReliability Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersReliability)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersReliability Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersReliability)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersReliability)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersReliability) + + + + + + + + + + $(AnalysisLevel) + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelSecurity), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelSecurity), '$(AnalysisLevelPrefixSecurity)-', '')) + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + $(AnalysisLevelPrefixSecurity) + $(AnalysisLevelSecurity) + + $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelSecurity), '(.0)*$', '')) + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity>$(AnalysisLevelSuffixSecurity) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity)' == ''">$(AnalysisModeSecurity) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity)' == ''">Default + + + $(CodeAnalysisTreatWarningsAsErrors) + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersSecurity_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersSecurity Condition="'$(MicrosoftCodeAnalysisNetAnalyzersSecurityRulesVersion)' != ''">AnalysisLevelSecurity_$(MicrosoftCodeAnalysisNetAnalyzersSecurityRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersSecurity_WarnAsErrorSuffix).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersSecurity>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersSecurity.ToLowerInvariant()) + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersSecurity Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersSecurity)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersSecurity Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersSecurity)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersSecurity)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersSecurity) + + + + + + + + + + $(AnalysisLevel) + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelUsage), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelUsage), '$(AnalysisLevelPrefixUsage)-', '')) + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + $(AnalysisLevelPrefixUsage) + $(AnalysisLevelUsage) + + $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelUsage), '(.0)*$', '')) + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage>$(AnalysisLevelSuffixUsage) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage)' == ''">$(AnalysisModeUsage) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage)' == ''">Default + + + $(CodeAnalysisTreatWarningsAsErrors) + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersUsage_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersUsage Condition="'$(MicrosoftCodeAnalysisNetAnalyzersUsageRulesVersion)' != ''">AnalysisLevelUsage_$(MicrosoftCodeAnalysisNetAnalyzersUsageRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersUsage_WarnAsErrorSuffix).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersUsage>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersUsage.ToLowerInvariant()) + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersUsage Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersUsage)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersUsage Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersUsage)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersUsage)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersUsage) + + + + + + + + + + + + + + + + + + <_SupportedPlatformList>@(SupportedPlatform, ',') + + + + + + + + + $(CodeAnalysisTreatWarningsAsErrors) + $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) + + + + + + + + + $(AnalysisLevel) + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelStyle), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelStyle), '$(AnalysisLevelPrefixStyle)-', '')) + + $(AnalysisLevelSuffix) + + $(AnalysisMode) + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + $(AnalysisLevelPrefixStyle) + $(AnalysisLevelStyle) + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle>$(AnalysisModeStyle) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle)' == ''">$(AnalysisLevelSuffixStyle) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle)' == ''">Default + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisCSharpCodeStyle>AnalysisLevelStyle_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisCSharpCodeStyle>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisCSharpCodeStyle.ToLowerInvariant()) + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisCSharpCodeStyle Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisCSharpCodeStyle)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisCSharpCodeStyle Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisCSharpCodeStyle)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisCSharpCodeStyle)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisCSharpCodeStyle) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + true + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets + + + + + + + + + + 0.0 + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + $(TargetPlatformVersion) + + + + + $(EnableDefaultItems) + + + + + + <_AndroidBuildDependsOn> + _ValidateLinkMode; + _CheckNonIdealConfigurations; + _SetupMSBuildAllProjects; + _SetupDesignTimeBuildForBuild; + AndroidPrepareForBuild; + _BuildAndroidGradleProjects; + _CategorizeAndroidLibraries; + _CreatePropertiesCache; + _CleanIntermediateIfNeeded; + _CheckProjectItems; + _CheckForContent; + _CheckForObsoleteFrameworkAssemblies; + _ValidateAndroidPackageProperties; + AddLibraryJarsToBind; + _CollectJavaSourceForBinding; + _CompileBindingJava; + + + + + $(_AndroidBuildDependsOn); + $(BuildDependsOn); + _CompileDex; + $(_AfterCompileDex); + + + + $(BuildDependsOn); + _CopyPackage; + _Sign; + _CreateUniversalApkFromBundle; + + + _PrepareAssemblies; + _CompileDex; + $(_AfterCompileDex); + _AddFilesToFileWrites; + $(IncrementalCleanDependsOn); + + <_PackageForAndroidDependsOn> + Build; + _CopyPackage; + + <_PrepareBuildApkDependsOnTargets> + _SetLatestTargetFrameworkVersion; + _GetLibraryImports; + _RemoveRegisterAttribute; + _ResolveAssemblies; + _ResolveSatellitePaths; + _CreatePackageWorkspace; + _LinkAssemblies; + _GenerateJavaStubs; + _ManifestMerger; + _ConvertCustomView; + $(_AfterConvertCustomView); + $(AfterGenerateAndroidManifest); + _GenerateEnvironmentFiles; + _CompileJava; + _CreateApplicationSharedLibraries; + _CompileDex; + $(_AfterCompileDex); + _CreateBaseApk; + _PrepareAssemblies; + _ResolveSatellitePaths; + _CheckApkPerAbiFlag; + _LintChecks; + _IncludeNativeSystemLibraries; + _CheckGoogleSdkRequirements; + BuildAndroidAssetPacks; + + + + + $(_AndroidBuildDependsOn); + $(BuildDependsOn); + _CalculateAssetsWithAssetPackMetaData; + _CreateAar; + + + _AddFilesToFileWrites; + $(IncrementalCleanDependsOn); + + + + + _CreatePropertiesCache; + _SeparateAppExtensionReferences; + $(ResolveReferencesDependsOn); + _AddAndroidCustomMetaData; + _ResolveAars; + + + $(CoreResolveReferencesDependsOn); + UpdateAndroidResources; + _BuildResourceDesigner; + UpdateAndroidInterfaceProxies; + _CheckForInvalidDesignerConfig; + + + $(DesignTimeResolveAssemblyReferencesDependsOn); + _BuildResourceDesigner; + + <_UpdateAndroidResourcesDependsOn> + $(CoreResolveReferencesDependsOn); + _CreatePropertiesCache; + _CheckForDeletedResourceFile; + _ComputeAndroidResourcePaths; + _UpdateAndroidResgen; + _CreateAar; + _BuildResourceDesigner; + + + _SetupMSBuildAllProjects; + _SetupDesignTimeBuildForCompile; + AndroidPrepareForBuild; + _IncludeLayoutBindingSources; + AddLibraryJarsToBind; + _CollectLibrariesToBind; + _SetAndroidGenerateManagedBindings; + ExportJarToXml; + GenerateBindings; + _CollectGeneratedManagedBindingFiles; + _ClearGeneratedManagedBindings; + AddBindingsToCompile; + _BuildResourceDesigner; + _AddResourceDesignerFiles; + $(CompileDependsOn); + _CheckAndroidHttpClientHandlerType; + + + UpdateGeneratedFiles; + $(CoreCompileDependsOn); + + + $(DeferredBuildDependsOn); + UpdateAndroidResources; + + + $(PrepareForRunDependsOn); + _CollectMonoAndroidOutputs; + + + $(CleanDependsOn); + _CleanMonoAndroidIntermediateDir; + _CleanAndroidBuildPropertiesCache; + _CleanAarCache; + CleanBindingsOutput; + CleanLibraryProjectIntermediaries; + CleanNativeLibraryIntermediaries; + _CleanAndroidGradleProjects; + + + _ResolveMonoAndroidSdks; + _ExtractLibraryProjectImports; + _GetLibraryImports; + _ExtractAar; + _CollectJavaSourceForBinding; + _ExportJarToXml; + + + _BeforeGetAndroidDependencies; + _SetLatestTargetFrameworkVersion; + _ResolveSdks; + _ResolveAndroidTooling; + $(GetAndroidDependenciesDependsOn); + + <_ResolveLibraryProjectsDependsOn> + _ExtractAar; + + <_CompileBindingJavaDependsOnTargets> + _AdjustJavacVersionArguments; + _GetLibraryImports; + _DetermineBindingJavaLibrariesToCompile; + _GetJavaPlatformJar; + + <_IncludeAarInNuGetPackageDependsOn> + _BuildAndroidGradleProjects; + _CategorizeAndroidLibraries; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), 'Xamarin.Android.Sdk.props'))\Xamarin.Android.Sdk.props + + + + + + + 35.0.0 + 12.0 + 34.0.5 + + android-35 + 26.1.10909125 + 17.0.14 + + + + + 35.0.0 + 34.0.5 + android-35 + 12.0 + + 26.3.11579264 + 17.0.14 + 17.0 + + + <_JavaInteropReferences>Java.Interop;System.Runtime + Xamarin + true + false + true + true + 21.0.99 + {abi}{versionCode:D5} + UpdateGeneratedFiles + True + True + LowercaseCrc64 + False + 1.17.0 + <_XamarinAndroidMSBuildDirectory>$(MSBuildThisFileDirectory) + 1.8 + 1.8 + + true + + + + 21 + + + 21 + + + 21 + + + 21 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Designer + MSBuild:UpdateGeneratedFiles + + + true + true + + + true + + + true + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + _SetLatestTargetFrameworkVersion; + $(ResolveNuGetPackageAssetsDependsOn) + + + _SetLatestTargetFrameworkVersion; + $(GetReferenceAssemblyPathsDependsOn) + + + + + <_XAMajorVersionNumber>1 + <_XASupportsFastDev Condition=" Exists ('$(MSBuildThisFileDirectory)Xamarin.Android.Common.Debugging.targets') ">True + <_XASupportsFastDev Condition=" '$(_XASupportsFastDev)' == '' ">False + $(UseInterpreter) + False + false + False + True + False + MonoAndroid + v$(_XAMajorVersionNumber).0 + True + False + True + True + False + False + False + False + Android.App.Fragment + True + False + <_AndroidCheckedBuild Condition=" '$(_AndroidCheckedBuild)' == '' " /> + + False + True + + True + Interpreter + Normal + None + True + False + False + True + True + False + False + False + + + + + + + False + False + + true + + True + False + + Off + RSA + 10950 + pkcs12 + + None + <_AndroidLayoutBindingsDependencyCache>$(IntermediateOutputPath)layout-binding-deps.cache + <_AndroidProguardInputJarFilter>(!META-INF/MANIFEST.MF) + <_AndroidAapt2VersionFile>$(IntermediateOutputPath)aapt2.version + <_AndroidLibraryFlatArchivesDirectory>$(IntermediateOutputPath)flata\ + <_AndroidLibraryFlatFilesDirectory>$(IntermediateOutputPath)flat\ + <_AndroidStampDirectory>$(IntermediateOutputPath)stamp\ + <_AndroidBuildIdFile>$(IntermediateOutputPath)buildid.txt + <_AndroidApplicationSharedLibraryPath>$(IntermediateOutputPath)app_shared_libraries\ + <_ResolvedUserAssembliesHashFile>$(IntermediateOutputPath)resolvedassemblies.hash + d8 + <_AndroidXA1027 Condition=" '$(EnableProguard)' == 'true' And '$(AndroidEnableProguard)' == '' And '$(AndroidDexTool)' == 'd8' And $(AndroidLinkTool) == '' ">true + <_AndroidXA1028 Condition=" '$(AndroidEnableProguard)' == 'true' And '$(AndroidDexTool)' == 'd8' And $(AndroidLinkTool) == '' ">true + + $(EnableProguard) + True + False + d8 + d8 + + proguard + r8 + True + True + False + True + True + True + + aab + <_AndroidAdditionalPackageFormats Condition=" $(AndroidPackageFormats.Contains('apk')) And '$(AndroidPackageFormat)' == 'aab' ">apk + apk + True + False + False + SHA256withRSA + SHA-256 + manifestmerger.jar + + 1G + <_AndroidMainDexListFile>$(IntermediateOutputPath)multidex.keep + + <_PackagedResources>$(IntermediateOutputPath)android\bin\packaged_resources + <_Android32bitArchitectures>armeabi-v7a;x86;mips + <_Android64bitArchitectures>arm64-v8a;x86_64;mips64 + <_AndroidSequencePointsMode Condition=" '$(MonoSymbolArchive)' == 'True' And '$(AndroidUseDebugRuntime)' == 'False' And '$(AotAssemblies)' == 'True' And '$(DebugSymbols)' == 'True' And ('$(DebugType)' == 'PdbOnly' Or '$(DebugType)' == 'Portable')">Offline + <_AndroidSequencePointsMode Condition=" '$(MonoSymbolArchive)' == 'True' And '$(AndroidUseDebugRuntime)' == 'False' And '$(_AndroidSequencePointsMode)' == ''">Normal + <_AndroidSequencePointsMode Condition=" '$(_AndroidSequencePointsMode)' == ''">None + <_AndroidBuildPropertiesCache>$(IntermediateOutputPath)build.props + <_AdbPropertiesCache>$(IntermediateOutputPath)adb.props + False + False + + <_AndroidEnablePreloadAssembliesDefault>False + $(_AndroidEnablePreloadAssembliesDefault) + <_NativeAssemblySourceDir>$(IntermediateOutputPath)android\ + <_AndroidUseNewTypemaps>True + <_SkipJniAddNativeMethodRegistrationAttributeScan Condition=" '$(_SkipJniAddNativeMethodRegistrationAttributeScan)' == '' ">False + <_AndroidFastDeployEnvironmentFiles Condition=" '$(_AndroidFastDeployEnvironmentFiles)' == '' And '$(EmbedAssembliesIntoApk)' == 'False' ">True + <_AndroidFastDeployEnvironmentFiles Condition=" '$(_AndroidFastDeployEnvironmentFiles)' == '' ">False + + + + + True + + + + + True + + + + + True + + + + + False + + + + + <_AndroidAotStripLibraries Condition=" '$(_AndroidAotStripLibraries)' == '' And '$(AndroidIncludeDebugSymbols)' != 'true' ">True + false + true + True + False + False + <_AndroidUseMarshalMethods Condition=" '$(AndroidIncludeDebugSymbols)' == 'True' ">False + <_AndroidUseMarshalMethods Condition=" '$(AndroidIncludeDebugSymbols)' != 'True' ">$(AndroidEnableMarshalMethods) + + + + + {HintPathFromItem}; + {TargetFrameworkDirectory}; + {RawFileName}; + + + .dll; + + + .pdb; + .xml; + .dll.config; + + + + + + + + + + + + + <_UseR8 Condition=" ('$(AndroidLinkTool)' == 'r8' And '$(_ProguardProjectConfiguration)' != '') Or '$(AndroidEnableMultiDex)' == 'True' ">True + <_UseR8 Condition=" '$(_UseR8)' == '' ">False + + <_R8EnableShrinking Condition=" '$(AndroidLinkTool)' == 'r8' ">True + <_R8EnableShrinking Condition=" '$(_R8EnableShrinking)' == '' ">False + + + + + <_DexesToDelete Include="$(_AndroidIntermediateDexOutputDirectory)*.dex" /> + + + + + <_AndroidD8MapDiagnostics Condition=" '$(AndroidD8IgnoreWarnings)' == 'true' " Include="warning" To="info" /> + <_AndroidR8MapDiagnostics Condition=" '$(AndroidR8IgnoreWarnings)' == 'true' " Include="warning" To="info" /> + + + + + + + + + + + + + + + + 0 + <_Aapt2DaemonKeepInDomain Condition=" '$(_Aapt2DaemonKeepInDomain)' == '' ">false + + + + <_SetLatestTargetFrameworkVersionDependsOnTargets> + $(_SetLatestTargetFrameworkVersionDependsOnTargets); + _CreateAapt2VersionCache; + + <_PrepareUpdateAndroidResgenDependsOnTargets> + _CompileResources; + _Aapt2UpdateAndroidResgenInputs; + $(_PrepareUpdateAndroidResgenDependsOnTargets); + + <_AfterConvertCustomView> + $(_AfterConvertCustomView); + _FixupCustomViewsForAapt2; + + + + + + + + + + + + + <_CompiledFlataArchive Include="$(_AndroidLibrayProjectIntermediatePath)**\*.flata" /> + <_CompiledFlataArchive Include="$(_AndroidLibrayProjectIntermediatePath)**\*.flat" /> + <_CompiledFlataArchive Include="$(_AndroidLibraryFlatFilesDirectory)*.flat" /> + <_CompiledFlataArchive Include="$(_AndroidLibraryFlatArchivesDirectory)\*.flata" /> + <_CompiledFlataStamp Include="$(_AndroidLibrayProjectIntermediatePath)**\compiled.stamp" /> + + + + + + + + + + + + + + + + + + + + + + + <_CompileResourcesInputs Include="@(_AndroidResourceDest)"> + %(Identity) + + <_CompiledFlatFiles Include="@(_CompileResourcesInputs->'%(_ArchiveDirectory)%(_FlatFile)')" /> + + + + + + + + <_UpdateAndroidResgenInputs> + $(_UpdateAndroidResgenInputs); + @(_CompiledFlatFiles); + @(_LibraryResourceDirectoryStamps); + + <_CreateBaseApkInputs> + $(_CreateBaseApkInputs); + @(_CompiledFlatFiles); + @(_LibraryResourceDirectoryStamps); + + + + + + --no-version-vectors $(AndroidAapt2LinkExtraArgs) + + + + + + + + + <_ItemsToFixup Include="@(_CompileResourcesInputs)" Condition=" '@(_ProcessedCustomViews->'%(Identity)')' == '%(Identity)' " /> + + + + + + + + + <_ProtobufFormat Condition=" '$(AndroidPackageFormat)' == 'aab' ">True + <_ProtobufFormat Condition=" '$(_ProtobufFormat)' == '' ">False + <_Aapt2ProguardRules Condition=" '$(AndroidLinkTool)' != '' ">$(IntermediateOutputPath)aapt_rules.txt + <_OutputFileDir>$([System.IO.Path]::GetDirectoryName ('$(_PackagedResources)')) + + + + + + + + + + + + + + + + + + + + $(IntermediateOutputPath)assets\ + $(IntermediateOutputPath)assetpacks + Assets + true + + + + UpdateAndroidAssets + ;_CalculateAssetsWithAssetPackMetaData + ;_CalculateAssetPacks + ;$(BeforeBuildAndroidAssetPacks) + ;_CreateAssetPackManifests + + + + + + + + + + + + + <_AssetDirectories Include="$(MonoAndroidAssetsDirIntermediate)" /> + <_AssetDirectories Include="@(_AssetPacks->'%(AssetPackDirectory)')" /> + + + + + + + + + + + + <_AssetsWithAssetPackMetaData Include="@(AndroidAsset)" Condition=" '%(AndroidAsset.AssetPack)' != '' " /> + + + + + + + + + + <_AssetPacks Include="@(_AndroidAsset)"> + $(MonoAndroidAssetPacksDirIntermediate)\%(_AndroidAsset.AssetPack)\assets + $(MonoAndroidAssetPacksDirIntermediate)\%(_AndroidAsset.AssetPack).zip + $(MonoAndroidAssetPacksDirIntermediate)\%(_AndroidAsset.AssetPack)\AndroidManifest.xml + InstallTime + + + + + + + + + + + + + + + + + + + + + + + <_AndroidIntermediateDesignTimeBuildDirectory>$(IntermediateOutputPath)designtime\ + <_AndroidIntermediateDesignTimeStampDirectory>$(_AndroidIntermediateDesignTimeBuildDirectory)stamp\ + <_AndroidDesignTimeBuildPropertiesCache>$(_AndroidIntermediateDesignTimeBuildDirectory)build.props + <_AndroidLibraryImportsDesignTimeCache>$(_AndroidIntermediateDesignTimeBuildDirectory)libraryimports.cache + <_AndroidLibraryProjectImportsDesignTimeCache>$(_AndroidIntermediateDesignTimeBuildDirectory)libraryprojectimports.cache + <_AndroidManagedResourceDesignerFile>$(_AndroidIntermediateDesignTimeBuildDirectory)$(_AndroidResourceDesigner) + + + + <_AndroidMSBuildAllProjects Include="$(MSBuildAllProjects)" Exclude="$(MSBuildProjectFullPath).user" /> + + + + + false + + + + + + true + true + True + False + <_AndroidStampDirectory Condition=" '$(DesignTimeBuild)' == 'true' ">$(_AndroidIntermediateDesignTimeStampDirectory) + <_AndroidLibraryImportsCache Condition=" '$(DesignTimeBuild)' == 'true' And !Exists ('$(_AndroidLibraryImportsCache)') ">$(_AndroidLibraryImportsDesignTimeCache) + <_AndroidLibraryProjectImportsCache Condition=" '$(DesignTimeBuild)' == 'true' And !Exists ('$(_AndroidLibraryProjectImportsCache)') ">$(_AndroidLibraryProjectImportsDesignTimeCache) + <_AndroidBuildPropertiesCache Condition=" '$(DesignTimeBuild)' == 'true' ">$(_AndroidDesignTimeBuildPropertiesCache) + <_GeneratorStampFile Condition=" '$(DesignTimeBuild)' == 'true' And !Exists('$(_GeneratorStampFile)') ">$(_AndroidIntermediateDesignTimeStampDirectory)generator.stamp + <_AndroidResgenFlagFile Condition=" '$(DesignTimeBuild)' == 'true' And !Exists('$(_AndroidResgenFlagFile)') ">$(_AndroidIntermediateDesignTimeBuildDirectory)R.cs.flag + + + + + + + + + + + + + <_LibraryProjectImportsDirectoryName Condition=" '$(_LibraryProjectImportsDirectoryName)' == '' ">jl + <_NativeLibraryImportsDirectoryName Condition=" '$(_NativeLibraryImportsDirectoryName)' == '' ">nl + <_AndroidLibraryImportsCache>$(IntermediateOutputPath)libraryimports.cache + <_AndroidLibraryProjectImportsCache>$(IntermediateOutputPath)libraryprojectimports.cache + <_AndroidLibrayProjectIntermediatePath Condition=" '$(_AndroidLibrayProjectIntermediatePath)' == '' ">$(IntermediateOutputPath)lp\ + <_AndroidLibrayProjectAssemblyMapFile>$(_AndroidLibrayProjectIntermediatePath)map.cache + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_GetLibraryImportsDependsOnTargets Condition=" '$(_AndroidIsBindingProject)' == 'true' "> + _ExtractLibraryProjectImports; + _BuildLibraryImportsCache; + + <_GetLibraryImportsDependsOnTargets Condition=" '$(_AndroidIsBindingProject)' != 'true' "> + _ExtractLibraryProjectImports; + _AddMultiDexDependencyJars; + _BuildLibraryImportsCache; + + + + + + + + + + + + + + + + + + <_AndroidIntermediateBindingJavaClassDirectory>$(IntermediateOutputPath)binding\bin\classes\ + <_AndroidIntermediateBindingJavaSourceDirectory>$(IntermediateOutputPath)binding\src + <_AndroidIntermediateBindingClassesZip>$(IntermediateOutputPath)binding\bin\$(MSBuildProjectName).jar + <_AndroidIntermediateBindingClassesDocs>$(IntermediateOutputPath)binding\bin\$(MSBuildProjectName)-docs.xml + <_AndroidCompileJavaStampFile>$(_AndroidStampDirectory)_CompileJava.stamp + <_AndroidCompileJavaFileList>$(IntermediateOutputPath)_CompileJava.FileList.txt + <_AndroidCompileBindingJavaStampFile>$(_AndroidStampDirectory)_CompileBindingJava.stamp + <_AndroidCompileBindingJavaFileList>$(IntermediateOutputPath)_CompileBindingJava.FileList.txt + + + + + + + + + + + + + + + + + + + + <_JavaLibrariesToCompileForApp Include="@(_JavaLibrariesToCompile)" /> + + + + + <_JavaBindingSource Include="@(AndroidJavaSource)" Condition=" '%(AndroidJavaSource.Bind)' == 'True' " /> + + + + + + + + + <_JavaSource Include="@(AndroidJavaSource)" Condition=" '%(AndroidJavaSource.Bind)' != 'True' " /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + False + + + + <_DesignerAssemblyName>_Microsoft.Android.Resource.Designer + + <_DesignerIntermediateOutputPath Condition=" '$(_DesignerIntermediateOutputPath)' == '' And Exists ('$(IntermediateOutputPath)$(_DesignerAssemblyName).dll') ">$(IntermediateOutputPath) + <_DesignerIntermediateOutputPath Condition=" '$(_DesignerIntermediateOutputPath)' == '' And '$(_OuterIntermediateOutputPath)' != '' And Exists ('$(_OuterIntermediateOutputPath)$(_DesignerAssemblyName).dll') ">$(_OuterIntermediateOutputPath) + + <_DesignerIntermediateOutputPath Condition=" '$(_DesignerIntermediateOutputPath)' == '' And '$(_OuterIntermediateOutputPath)' != '' ">$(_OuterIntermediateOutputPath) + <_DesignerIntermediateOutputPath Condition=" '$(_DesignerIntermediateOutputPath)' == '' ">$(IntermediateOutputPath) + <_GenerateResourceDesignerAssemblyOutput>$(_DesignerIntermediateOutputPath)$(_DesignerAssemblyName).dll + <_GenerateResourceDesignerClassFile Condition=" '$(Language)' == 'F#' ">$(_DesignerIntermediateOutputPath)_$(_DesignerAssemblyName).fs + <_GenerateResourceDesignerClassFile Condition=" '$(_GenerateResourceDesignerClassFile)' == '' ">$(_DesignerIntermediateOutputPath)_$(_DesignerAssemblyName).cs + <_GenerateResourceCaseMapFile>$(_DesignerIntermediateOutputPath)case_map.txt + public + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_BuildResourceDesignerDependsOn> + _SetupDesignerProperties; + _GenerateResourceCaseMap; + _GenerateRtxt; + _GenerateResourceDesignerIntermediateClass; + _GenerateResourceDesignerAssembly; + _AddResourceDesignerFiles; + + + + + + PreserveNewest + + + + + + + + + + + + $(_DesignerAssemblyName).dll + PreserveNewest + true + true + + + + + + + <_ResourceDesignerFiles Include="%(ReferencePathWithRefAssemblies.Identity)" Condition="'%(ReferencePathWithRefAssemblies.OriginalPath)' == '$(_GenerateResourceDesignerAssemblyOutput)'" /> + + + + + + + + + + + + <_SetLatestTargetFrameworkVersionDependsOnTargets Condition=" '$(_AndroidIsBindingProject)' == 'True'"> + _ResolveSdks; + _ResolveAndroidTooling; + + <_SetLatestTargetFrameworkVersionDependsOnTargets Condition=" '$(_AndroidIsBindingProject)' != 'True'"> + _ResolveSdks; + _ResolveAndroidTooling; + _InjectAaptDependencies; + + + + + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) + $(TargetFrameworkMoniker) + $(IntermediateOutputPath)$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension) + + + + + + + <_ResolveSdksDependsOnTargets>ResolveTargetingPackAssets + + + + + <_AndroidApiInfo Include="$(MSBuildThisFileDirectory)..\data\*\AndroidApiInfo.xml" /> + <_AndroidApiInfoDirectories Include="@(_AndroidApiInfo->'%(RootDir)%(Directory)')" /> + <_ResolveSdksFrameworkRefAssemblyPaths Include="@(Reference->'$([System.String]::Copy('%(RootDir)%(Directory)').TrimEnd('\'))')" Condition=" '%(Reference.FrameworkReferenceName)' != '' " /> + + + <_AndroidAllowMissingSdkTooling Condition=" '$(_AndroidAllowMissingSdkTooling)' == '' ">False + <_XATargetFrameworkDirectories>@(_ResolveSdksFrameworkRefAssemblyPaths->Distinct()) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_AppExtensionReference Condition=" '%(ProjectReference.IsAppExtension)' == 'True' " Include="@(ProjectReference)" /> + + + + + + + + + + + + + <_ReferencePath Include="@(ReferencePath)" Condition="'$(AndroidApplication)' == '' Or !$(AndroidApplication)" /> + <_ReferenceDependencyPaths Include="@(ReferenceDependencyPaths)" Condition="'$(AndroidApplication)' == '' Or !$(AndroidApplication)" /> + + + + + + + + + + + + + + + + + <_AndroidRemapMembers Include="$(MonoAndroidAssetsDirIntermediate)xa-internal/xa-mam-mapping.xml" /> + + + + <_XARemapMembersFilePath>$(MonoAndroidAssetsDirIntermediate)xa-internal/xa-remap-members.xml + + + + + + + + + + + + + + + + + <_AndroidUnsupportedPackages Include="%(ResolvedCompileFileDefinitions.NuGetPackageId)" Condition=" '%(ResolvedCompileFileDefinitions.NuGetPackageId)' != '' and ( $([System.String]::Copy(%(ResolvedCompileFileDefinitions.NuGetPackageId)).StartsWith ('Xamarin.Android.Arch.')) or $([System.String]::Copy(%(ResolvedCompileFileDefinitions.NuGetPackageId)).StartsWith ('Xamarin.Android.Support.')) )" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_AndroidManifestAbs Condition=" '$(AndroidManifest)' != '' ">$(ProjectDir)$(AndroidManifest) + + + <_AndroidPackage>$(ApplicationId) + <_ApplicationLabel>$(ApplicationTitle) + <_AndroidVersionName>$(ApplicationDisplayVersion) + <_AndroidVersionCode>$(ApplicationVersion) + + + + + + + + + $(IntermediateOutputPath)android\bin\$(_AndroidPackage).apk + <_BaseZipIntermediate Condition=" '$(_BaseZipIntermediate)' == '' ">$(IntermediateOutputPath)android\bin\base.zip + <_AppBundleIntermediate>$(IntermediateOutputPath)android\bin\$(_AndroidPackage).aab + <_ApkSetIntermediate>$(IntermediateOutputPath)android\bin\$(_AndroidPackage).apks + <_UniversalApkSetIntermediate>$(IntermediateOutputPath)android\bin\$(_AndroidPackage)-Universal.apks + $(OutDir)$(_AndroidPackage).apk + $(OutDir)$(_AndroidPackage)-Signed.apk + <_AabFile>$(OutDir)$(_AndroidPackage).aab + <_AabFileSigned>$(OutDir)$(_AndroidPackage)-Signed.aab + <_MSYMDirectory>$(OutDir)$(_AndroidPackage).$(AndroidPackageFormat).mSYM + + + + + + + + + + <_OnResolveMonoAndroidSdks> + _ResolveMonoAndroidSdks + ;_ValidateAndroidPackageProperties + ;$(_AfterResolveMonoAndroidSdks) + + <_ResolveMonoAndroidSdksDependsOn> + GetReferenceAssemblyPaths; + _ResolveSdks; + _ResolveAndroidTooling; + $(_ResolveMonoAndroidSdksDependsOn); + + + + + + + + + + + + + + <_AppSettingsDirectory>$([MSBuild]::EnsureTrailingSlash($(AppSettingsDirectory))) + <_ApkDebugKeyStore Condition=" '$(_ApkDebugKeyStore)' == '' ">$(_AppSettingsDirectory)debug.keystore + <_MonoAndroidToolsDirectory>$([MSBuild]::EnsureTrailingSlash($(MonoAndroidToolsDirectory))) + <_AndroidNdkDirectory>$([MSBuild]::EnsureTrailingSlash($(_AndroidNdkDirectory))) + <_AndroidSdkDirectory>$([MSBuild]::EnsureTrailingSlash($(_AndroidSdkDirectory))) + $([MSBuild]::EnsureTrailingSlash($(AndroidSdkBuildToolsPath))) + $([MSBuild]::EnsureTrailingSlash($(AndroidSdkBuildToolsBinPath))) + <_JavaSdkDirectory>$([MSBuild]::EnsureTrailingSlash($(_JavaSdkDirectory))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(MonoAndroidBinDirectory) + <_DefaultLintToolPath>$(_AndroidSdkDirectory)\cmdline-tools\$(AndroidCommandLineToolsVersion)\bin + $(_DefaultLintToolPath) + + + + + + + $(DefineConstants);@(AndroidDefineConstants) + + + + android.support.multidex.MultiDexApplication + android.app.Application + + + + + + + <_UploadFlagFile>$(IntermediateOutputPath)uploadflags.txt + + + + + + + + + <_ContentIncludedForCheck Include="@(Content)" Condition="'%(Content.ExcludeFromContentCheck)' != 'true'" /> + + + + + + + + + + <_AndroidExcludedDuplicateJavaLibraries Include="classes.jar" /> + <_AndroidExcludedDuplicateJavaLibraries Include="r-classes.jar" /> + <_AndroidExcludedDuplicateJavaLibraries Include="repackaged.jar" /> + + + + + + + + + $(IntermediateOutputPath)res\ + $(IntermediateOutputPath)android\assets\ + + $(MonoAndroidIntermediateAssemblyDir) + <_JniMarshalMethodsOutputDir>$(IntermediateOutputPath)jnisrc\ + Resources + + $(IntermediateOutputPath) + $(IntermediateOutputPath)codebehind + $(IntermediateOutputPath)resourcecache + <_AndroidIntermediateJavaSourceDirectory>$(IntermediateOutputPath)android\src\ + <_AndroidIntermediateDexOutputDirectory>$(IntermediateOutputPath)android\bin\ + <_AndroidIntermediateJavaClassDirectory>$(IntermediateOutputPath)android\bin\classes\ + <_AndroidIntermediateClassesZip>$(IntermediateOutputPath)android\bin\classes.zip + <_AndroidAotBinDirectory>$(IntermediateOutputPath)aot + <_AndroidResgenFlagFile>$(IntermediateOutputPath)R.cs.flag + <_AndroidResFlagFile>$(IntermediateOutputPath)res.flag + <_AndroidLinkFlag>$(IntermediateOutputPath)link.flag + <_AndroidApkPerAbiFlagFile>$(IntermediateOutputPath)android\bin\apk_per_abi.flag + <_AndroidDebugKeyStoreFlag>$(IntermediateOutputPath)android_debug_keystore.flag + <_RemoveRegisterFlag>$(MonoAndroidIntermediateAssemblyDir)shrunk\shrunk.flag + <_AcwMapFile>$(IntermediateOutputPath)acw-map.txt + <_CustomViewMapFile>$(IntermediateOutputPath)customview-map.txt + $(RootNamespace) + <_AndroidLintConfigFile>$(IntermediateOutputPath)lint.xml + <_AndroidResourceDesignerFile Condition=" '$(AndroidUseIntermediateDesignerFile)' == 'True' ">$(IntermediateOutputPath)$(_AndroidResourceDesigner) + <_AndroidResourceDesignerFile Condition=" '$(AndroidUseIntermediateDesignerFile)' != 'True' ">$(AndroidResgenFile) + <_AndroidStaticResourcesFlag>$(IntermediateOutputPath)static.flag + True + + + + True + False + <_AndroidBuildPropertiesCacheExists Condition=" Exists('$(_AndroidBuildPropertiesCache)') ">True + <_NuGetAssetsFile Condition=" Exists('$(ProjectAssetsFile)') ">$(ProjectAssetsFile) + <_NuGetAssetsFile Condition=" '$(_NuGetAssetsFile)' == '' and Exists('$(ProjectLockFile)') ">$(ProjectLockFile) + <_NuGetAssetsFile Condition=" '$(_NuGetAssetsFile)' == '' and Exists('packages.config') ">packages.config + <_TypeMapKind Condition=" '$(AndroidIncludeDebugSymbols)' != 'True' ">mvid + <_TypeMapKind Condition=" '$(AndroidIncludeDebugSymbols)' == 'True' ">strings-asm + + + + + + + <_PropertyCacheItems Include="AotAssemblies=$(AotAssemblies)" /> + <_PropertyCacheItems Include="AndroidAddKeepAlives=$(AndroidAddKeepAlives)" /> + <_PropertyCacheItems Include="AndroidAotMode=$(AndroidAotMode)" /> + <_PropertyCacheItems Include="AndroidEmbedProfilers=$(AndroidEmbedProfilers)" /> + <_PropertyCacheItems Include="AndroidEnableProfiledAot=$(AndroidEnableProfiledAot)" /> + <_PropertyCacheItems Include="AndroidDexTool=$(AndroidDexTool)" /> + <_PropertyCacheItems Include="AndroidLinkTool=$(AndroidLinkTool)" /> + <_PropertyCacheItems Include="AndroidLinkResources=$(AndroidLinkResources)" /> + <_PropertyCacheItems Include="AndroidPackageFormat=$(AndroidPackageFormat)" /> + <_PropertyCacheItems Include="EmbedAssembliesIntoApk=$(EmbedAssembliesIntoApk)" /> + <_PropertyCacheItems Include="AndroidLinkMode=$(AndroidLinkMode)" /> + <_PropertyCacheItems Include="AndroidLinkSkip=$(AndroidLinkSkip)" /> + <_PropertyCacheItems Include="AndroidSdkBuildToolsVersion=$(AndroidSdkBuildToolsVersion)" /> + <_PropertyCacheItems Include="AndroidSdkPath=$(_AndroidSdkDirectory)" /> + <_PropertyCacheItems Include="AndroidNdkPath=$(_AndroidNdkDirectory)" /> + <_PropertyCacheItems Include="JavaSdkPath=$(_JavaSdkDirectory)" /> + <_PropertyCacheItems Include="AndroidSequencePointsMode=$(_AndroidSequencePointsMode)" /> + <_PropertyCacheItems Include="AndroidNETSdkVersion=$(AndroidNETSdkVersion)" /> + <_PropertyCacheItems Include="MonoSymbolArchive=$(MonoSymbolArchive)" /> + <_PropertyCacheItems Include="AndroidUseLatestPlatformSdk=$(AndroidUseLatestPlatformSdk)" /> + <_PropertyCacheItems Include="TargetFrameworkVersion=$(TargetFrameworkVersion)" /> + <_PropertyCacheItems Include="AndroidCreatePackagePerAbi=$(AndroidCreatePackagePerAbi)" /> + <_PropertyCacheItems Include="AndroidGenerateJniMarshalMethods=$(AndroidGenerateJniMarshalMethods)" /> + <_PropertyCacheItems Include="OS=$(OS)" /> + <_PropertyCacheItems Include="AndroidIncludeDebugSymbols=$(AndroidIncludeDebugSymbols)" /> + <_PropertyCacheItems Include="AndroidPackageNamingPolicy=$(AndroidPackageNamingPolicy)" /> + <_PropertyCacheItems Include="_NuGetAssetsFileHash=%(_NuGetAssetsFileHash.FileHash)" /> + <_PropertyCacheItems Include="TypeMapKind=$(_TypeMapKind)" /> + <_PropertyCacheItems Include="AndroidManifestPlaceholders=$(AndroidManifestPlaceholders)" /> + <_PropertyCacheItems Include="ProjectFullPath=$(MSBuildProjectFullPath)" /> + <_PropertyCacheItems Include="AndroidUseDesignerAssembly=$(AndroidUseDesignerAssembly)" /> + + + + + + + + + + + <_ManagedUpdateAndroidResgenInputs> + @(_AndroidMSBuildAllProjects); + @(AndroidResource); + @(AndroidBoundLayout); + @(_MonoAndroidReferencePath); + @(_LibraryResourceDirectoryStamps); + $(_AndroidBuildPropertiesCache); + $(ProjectAssetsFile); + + + + <_ManagedUpdateAndroidResgenInputs Condition="Exists ('$(_AndroidResourcePathsDesignTimeCache)')">$(_ManagedUpdateAndroidResgenInputs);$(_AndroidResourcePathsDesignTimeCache); + <_ManagedUpdateAndroidResgenInputs Condition="Exists ('$(_AndroidLibraryImportsDesignTimeCache)')">$(_ManagedUpdateAndroidResgenInputs);$(_AndroidLibraryImportsDesignTimeCache); + <_ManagedUpdateAndroidResgenInputs Condition="Exists ('$(_AndroidLibraryProjectImportsDesignTimeCache)')">$(_ManagedUpdateAndroidResgenInputs);$(_AndroidLibraryProjectImportsDesignTimeCache); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_AndroidResourceDest Include="@(_WearableApplicationDescriptionFile);@(_BundledWearApplicationApkResourceFile)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_UpdateAndroidResgenInputs> + $(_UpdateAndroidResgenInputs); + @(_ModifiedResources); + + + + + <_PrepareUpdateAndroidResgenDependsOnTargets> + _IncludeModifiedFilesInUpdateAndroidResgenInputs; + + + + + + + + + + + + + + + <_UpdateAndroidResgenDependsOnTargets> + _CheckForDeletedResourceFile; + $(_OnResolveMonoAndroidSdks); + _GetLibraryImports; + _CheckDuplicateJavaLibraries; + _GenerateAndroidResourceDir; + _IncludeLayoutBindingSources; + _DefineBuildTargetAbis; + _GenerateResourceCaseMap; + + <_UpdateAndroidResgenInputs> + @(_AndroidMSBuildAllProjects); + @(_AndroidResourceDest); + $(_AndroidBuildPropertiesCache); + $(ProjectAssetsFile); + $(_AndroidLibraryProjectImportsCache); + $(_AndroidLibraryImportsCache); + @(_ModifiedResources); + + + + + + + + + + + + $([System.IO.Path]::GetFileName ('$(_AndroidResourceDesignerFile)')) + <_UseManagedResourceGenerator Condition=" '$(AndroidUseAapt2)' == 'True' ">True + <_UseManagedResourceGenerator Condition=" '$(_UseManagedResourceGenerator)' == '' ">False + + + + + + + + + + + + + + + + + + + $(RootNamespace) + + + + + + + + + + + + + + + + + + + + + + <_RuntimeJar>$(MSBuildThisFileDirectory)\java_runtime_net6.jar + <_RuntimeDex>$(MSBuildThisFileDirectory)\java_runtime_net6.dex + + + + + <_AndroidJarAndDexDirectory>$(_XATargetFrameworkDirectories) + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_AllResolvedAssemblies Include="@(ResolvedAssemblies)" /> + + + + + + + + + + + + + + + + + <_GenerateJavaStubsDependsOnTargets> + _SetLatestTargetFrameworkVersion; + _PrepareAssemblies; + _PrepareNativeAssemblySources; + $(_AfterPrepareAssemblies); + _GetGenerateJavaStubsInputs; + + + + + <_GenerateJavaStubsInputs Include="@(_AndroidMSBuildAllProjects)" /> + <_GenerateJavaStubsInputs Include="$(_ResolvedUserAssembliesHashFile)" /> + <_GenerateJavaStubsInputs Include="@(_ResolvedUserMonoAndroidAssemblies)" /> + <_GenerateJavaStubsInputs Include="$(_AndroidManifestAbs)" /> + <_GenerateJavaStubsInputs Include="$(_AndroidBuildPropertiesCache)" /> + <_GenerateJavaStubsInputs Include="@(AndroidEnvironment);@(LibraryEnvironments)" Condition=" '$(_AndroidFastDeployEnvironmentFiles)' != 'true' " /> + <_EnvironmentFiles Include="@(AndroidEnvironment);@(LibraryEnvironments)" Condition=" '$(_AndroidFastDeployEnvironmentFiles)' != 'true' " /> + + + + + <_ManifestOutput Condition=" '$(AndroidManifestMerger)' == 'legacy' ">$(IntermediateOutputPath)android\AndroidManifest.xml + <_ManifestOutput Condition=" '$(AndroidManifestMerger)' != 'legacy' ">$(IntermediateOutputPath)AndroidManifest.xml + <_LinkingEnabled Condition=" '$(AndroidLinkMode)' != 'None'">True + <_LinkingEnabled Condition=" '$(AndroidLinkMode)' == 'None'">False + <_HaveMultipleRIDs Condition=" '$(RuntimeIdentifiers)' != '' ">True + <_HaveMultipleRIDs Condition=" '$(RuntimeIdentifiers)' == '' ">False + <_AndroidGenerateNativeAssembly Condition=" '$(_AndroidGenerateNativeAssembly)' == '' ">True + + + <_MergedManifestDocuments Condition=" '$(AndroidManifestMerger)' == 'legacy' " Include="@(ExtractedManifestDocuments)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .so;$(AndroidStoreUncompressedFileExtensions) + .dex;$(AndroidStoreUncompressedFileExtensions) + .blob;$(AndroidStoreUncompressedFileExtensions) + + + + + + + + + + + + + + + + <_GeneratedAndroidEnvironment Include="__XA_PACKAGE_NAMING_POLICY__=$(AndroidPackageNamingPolicy)" /> + <_GeneratedAndroidEnvironment Include="mono.enable_assembly_preload=0" Condition=" '$(AndroidEnablePreloadAssemblies)' != 'True' " /> + <_GeneratedAndroidEnvironment Include="DOTNET_MODIFIABLE_ASSEMBLIES=Debug" Condition=" '$(AndroidIncludeDebugSymbols)' == 'true' and '$(AndroidUseInterpreter)' == 'true' " /> + + + + + + + + + + + + + + + + + <_GenerateAndroidRemapNativeCodeDependsOn> + _ConvertAndroidMamMappingFileToXml; + _CollectAndroidRemapMembers; + _PrepareAndroidRemapNativeAssemblySources + + + + + + + + + + + + <_GeneratePackageManagerJavaDependsOn> + _GenerateJavaStubs; + _RunAotForAllRIDs; + _ManifestMerger; + _ConvertCustomView; + $(_AfterConvertCustomView); + _AddStaticResources; + $(_AfterAddStaticResources); + _PrepareAssemblies; + _PrepareEnvironmentAssemblySources; + _GenerateEnvironmentFiles; + _GenerateAndroidRemapNativeCode; + _GenerateEmptyAndroidRemapNativeCode; + _IncludeNativeSystemLibraries; + _GetGeneratePackageManagerJavaInputs; + + + + + <_GeneratePackageManagerJavaInputs Include="@(_GenerateJavaStubsInputs)" /> + + + + + + + + + + + + + <_CreateBaseApkInputs> + $(_CreateBaseApkInputs); + @(_AndroidMSBuildAllProjects); + $(IntermediateOutputPath)android\AndroidManifest.xml; + @(_ModifiedResources); + @(_AndroidAssetsDest); + $(_AcwMapFile); + $(_AndroidBuildPropertiesCache); + + + + + + + + + + + + + + + <_CreateBaseApkDependsOnTargets> + _GenerateJavaStubs; + _ManifestMerger; + _ConvertCustomView; + $(_AfterConvertCustomView); + _GenerateEnvironmentFiles; + _GetLibraryImports; + _CheckDuplicateJavaLibraries; + UpdateAndroidAssets; + _DefineBuildTargetAbis; + $(_AfterCreateBaseApkDependsOnTargets); + + + + + + + + + + + + + + + + + + + + + + <_JavaStubFiles Include="$(_AndroidIntermediateJavaSourceDirectory)**\*.java" /> + + + + + <_CompileJavaDependsOnTargets> + _AdjustJavacVersionArguments; + _GeneratePackageManagerJava; + _FindJavaStubFiles; + _AddStaticResources; + $(_AfterAddStaticResources); + _GetMonoPlatformJarPath; + $(_OnResolveMonoAndroidSdks); + _GetLibraryImports; + _CheckDuplicateJavaLibraries; + _CreateBaseApk; + _DetermineJavaLibrariesToCompile; + $(_CompileJavaDependsOnTargets) + + + + <_CompileToDalvikDependsOnTargets> + _CompileJava; + _CreateApplicationSharedLibraries; + _GetMonoPlatformJarPath; + _GetLibraryImports; + _SetProguardMappingFileProperty; + _CalculateProguardConfigurationFiles; + + <_CompileToDalvikInputs> + @(_AndroidMSBuildAllProjects) + ;@(_JavaLibrariesToCompileForApp) + ;@(AndroidExternalJavaLibrary) + ;$(_AndroidIntermediateClassesZip) + ;@(ProguardConfiguration) + ;@(MultiDexMainDexList) + ;$(_AndroidBuildPropertiesCache) + + + + <_CompileDexDependsOn> + _CompileToDalvik; + + + + + $(OutputPath)mapping.txt + + + + + + <_ProguardConfiguration Include="$(ProguardConfigFiles)" /> + + + <_ProguardConfiguration Include="$(MSBuildThisFileDirectory)proguard-android.txt" /> + <_ProguardConfiguration Include="$(IntermediateOutputPath)proguard\proguard_xamarin.cfg" Condition=" '$(AndroidLinkTool)' != '' " /> + <_ProguardConfiguration Include="$(_ProguardProjectConfiguration)" Condition=" '$(AndroidLinkTool)' != '' " /> + <_ProguardConfiguration Include="$(IntermediateOutputPath)proguard\proguard_project_primary.cfg" Condition=" '$(AndroidLinkTool)' != '' " /> + + <_ProguardConfiguration Include="@(ProguardConfiguration)" /> + + + + + <_DexFile Include="$(_AndroidIntermediateDexOutputDirectory)*.dex" /> + + + + + + + + + + + + + + + + + + + + + + + + + <_NativeAssemblyTarget Include="@(_TypeMapAssemblySource->'$([System.IO.Path]::ChangeExtension('%(Identity)', '.o'))')"> + %(_TypeMapAssemblySource.abi) + + <_NativeAssemblyTarget Include="@(_EnvironmentAssemblySource->'$([System.IO.Path]::ChangeExtension('%(Identity)', '.o'))')"> + %(_EnvironmentAssemblySource.abi) + + <_NativeAssemblyTarget Include="@(_CompressedAssembliesAssemblySource->'$([System.IO.Path]::ChangeExtension('%(Identity)', '.o'))')"> + %(_CompressedAssembliesAssemblySource.abi) + + <_CompressedNativeAssemblyTarget Include="@(_CompressedAssembliesAssemblySource->'$([System.IO.Path]::ChangeExtension('%(Identity)', '.o'))')"> + %(_CompressedAssembliesAssemblySource.abi) + + <_NativeAssemblyTarget Include="@(_MarshalMethodsAssemblySource->'$([System.IO.Path]::ChangeExtension('%(Identity)', '.o'))')"> + %(_MarshalMethodsAssemblySource.abi) + + <_NativeAssemblyTarget Include="@(_AndroidRemapAssemblySource->'$([System.IO.Path]::ChangeExtension('%(Identity)', '.o'))')"> + %(_AndroidRemapAssemblySource.abi) + + + + + + + + + + + + + + + + + + <_ApplicationSharedLibrary Include="$(_AndroidApplicationSharedLibraryPath)%(_BuildTargetAbis.Identity)\libxamarin-app.so"> + %(_BuildTargetAbis.Identity) + + + + + + + + + + + + <_BuildApkEmbedOutputs Condition=" '$(AndroidPackageFormat)' == 'aab' "> + $(_AppBundleIntermediate) + + <_BuildApkEmbedOutputs Condition=" '$(AndroidPackageFormat)' != 'aab' "> + $(ApkFileIntermediate) + + + + + + + + <_BuildApkEmbedInputs> + @(_AndroidMSBuildAllProjects) + ;$(_PackagedResources) + ;@(_ShrunkAssemblies) + ;@(AndroidNativeLibrary) + ;@(_DexFile) + ;$(_AndroidBuildPropertiesCache) + ;@(_ApplicationSharedLibrary) + + + + + + + + + + + + + + + <_BuildApkFastDevStaticInputs> + @(_AndroidMSBuildAllProjects) + ;@(_ShrunkFrameworkAssemblies) + ;@(_AndroidNativeLibraryForFastDev) + ;@(_DexFileForFastDevInput) + ;$(_AndroidBuildPropertiesCache) + ;$(_AdbPropertiesCache) + ;$(_PackagedResources) + + + + + + + + + + + + + + + <_CopyPackageInputs> + ;@(_ReferencePath) + ;@(_ReferenceDependencyPaths) + ;$(ApkFileIntermediate) + ;$(_AndroidBuildPropertiesCache) + ;@(ApkFiles) + + <_CopyPackageInputs Condition=" '$(AndroidPackageFormat)' == 'aab' "> + $(_CopyPackageInputs) + ;$(_AppBundleIntermediate) + + <_CopyPackageOutputs Condition=" '$(AndroidPackageFormat)' != 'aab' "> + $(ApkFile) + + <_CopyPackageOutputs Condition=" '$(AndroidPackageFormat)' == 'aab' "> + $(_AabFile) + + + + + + + + + + + + <_CopyPackageDependsOn> + _DefineBuildTargetAbis + ;_BuildApkEmbed + ;_BuildApkFastDev + ;_ResolveCopyPackageInputs + + + + + + + + + + + <_SymbolicateFiles Include="$(_AndroidAotBinDirectory)\%(_BuildTargetAbis.Identity)\**\*.msym" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_SignInputs> + @(_AndroidMSBuildAllProjects); + $(_AndroidBuildPropertiesCache); + $(_AppBundleIntermediate); + + <_SignOutputs> + $(_AabFileSigned) + + + + <_SignInputs> + @(_AndroidMSBuildAllProjects); + $(_AndroidBuildPropertiesCache); + $(ApkFileIntermediate); + + <_SignOutputs> + $(ApkFileSigned) + + + + + + + + + + + <_JarSignerSuffix Condition=" '$(AndroidPackageFormat)' != 'aab' ">-Signed-Unaligned + <_JarSignerSuffix Condition=" '$(AndroidPackageFormat)' == 'aab' ">-Signed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_FilestoExtract Include="universal.apk"> + $(_AndroidPackage)-Signed.apk + + + + + + + + + Build; + Package; + _Sign; + _CreateUniversalApkFromBundle; + + + + BuildOnlySettings; + _CreatePropertiesCache; + ResolveReferences; + PrepareResources; + CreateSatelliteAssemblies; + _CopyPackage; + _Sign; + _CreateUniversalApkFromBundle; + + + + + <_IntermediatePdbFile>$(IntermediateOutputPath)$(TargetName).pdb + + + + <_BuildApkDependsOnTargets> + Build + ;$(_OnResolveMonoAndroidSdks) + ;_BuildApkEmbed + ;_BuildApkFastDev + + + + + + + + + + + + + + + + + + + + + <_OutputDeploymentFiles Include="$(IntermediateOutputPath)*.deployment" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SignAndroidPackage; + _DeployApk; + _DeployAppBundle; + + + AndroidPrepareForBuild; + _Uninstall + + + + + + + + + + + + + + + + + + + + + + + + + <_AndroidAllowMissingSdkTooling>True + false + + + + + <_ProjectAndroidManifest>$(ProjectDir)$(AndroidManifest) + <_NdkRequired Condition="'$(EnableLLVM)' == 'True'">true + <_NdkRequired Condition="'$(_NdkRequired)' == ''">false + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + <_DevicePropertyCache>$(IntermediateOutputPath)devices.cache + <_UploadFlag>$(IntermediateOutputPath)upload.flag + <_ConfigurationCacheDirectory>$(BaseIntermediateOutputPath).cache\ + + + <_OnResolveMonoAndroidSdks> + $(_OnResolveMonoAndroidSdks) + ;_ResolveXamarinAndroidTools + + + + + + + + + + + + + + <_DexFileForFastDev Include="@(_DexFile)" /> + <_DexFileForFastDevInput Include="@(_DexFile)" /> + <_AndroidNativeLibraryForFastDev Include="@(AndroidNativeLibrary)" /> + + + + + + + + + + + + <_PrimaryCpuAbi Condition="$(_PrimaryCpuAbi) == ''">@(_BuildTargetAbis) + + + + $(_PrimaryRuntimeIdentifier) + + $(_PrimaryCpuAbi) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_NdkBuildNativeLibs Include="obj\local\$(_AdbTargetAbi)\lib*.so" /> + + + + + + 10000 + 10000 + False + True + <_AndroidRunForceStop Condition="'$(_AndroidRunForceStop)' == ''">True + <_AndroidAllowJavaDebugging Condition="'$(_AndroidAllowJavaDebugging)' == ''">True + + + + + + + + + + + + + + + + + + + + + + + <_ConfigurationCacheItems Include="$(Configuration)$(Platform)$(AdbTarget)" /> + + + + + + + + + + <_UploadInputs Include="$(ApkFileSigned)" /> + <_UploadInputs Include="@(_ResolvedAssemblies)" /> + <_UploadInputs Include="@(_AndroidResolvedSatellitePaths)" /> + <_UploadInputs Include="@(_ResolvedUserAssemblies)" /> + <_UploadInputs Include="@(_DexFile)" /> + <_UploadInputs Include="@(AndroidNativeLibrary)" /> + <_UploadInputs Include="@(AndroidEnvironment)" Condition=" '$(_AndroidFastDeployEnvironmentFiles)' == 'true' " /> + <_UploadInputs Include="@(LibraryEnvironments)" Condition=" '$(_AndroidFastDeployEnvironmentFiles)' == 'true' " /> + + + <_AndroidTypeMaps Include="@(_AndroidTypeMapping)" /> + + + + + <_FastDevFiles Include="@(_ResolvedAssemblies)" Condition=" '%(_ResolvedAssemblies.AndroidSkipAddToPackage)' != 'True' And '%(_ResolvedAssemblies.Abi)' == '$(_PrimaryCpuAbi)' "> + %(_ResolvedAssemblies.DestinationSubDirectory)%(Filename)%(Extension) + + <_FastDevFiles Include="@(_ResolvedUserAssemblies)" Condition=" '%(_ResolvedUserAssemblies.AndroidSkipAddToPackage)' != 'True' And '%(_ResolvedUserAssemblies.Abi)' == '$(_PrimaryCpuAbi)' "> + %(_ResolvedUserAssemblies.DestinationSubDirectory)%(Filename)%(Extension) + + <_FastDevFiles Include="@(_AndroidResolvedSatellitePaths)" Condition=" '%(_AndroidResolvedSatellitePaths.AndroidSkipAddToPackage)' != 'True' And '%(_AndroidResolvedSatellitePaths.Abi)' == '$(_PrimaryCpuAbi)' "> + %(_AndroidResolvedSatellitePaths.DestinationSubDirectory)%(Filename)%(Extension) + + <_FastDevFiles Include="@(_ResolvedSymbols)" Condition=" '%(_ResolvedSymbols.Abi)' == '$(_PrimaryCpuAbi)' "> + %(_ResolvedSymbols.DestinationSubDirectory)%(Filename)%(Extension) + + + + + <_UploadDependsOnTargets> + _PrepareAssemblies; + _GetPrimaryCpuAbi; + _DetectIfAppWasUninstalled; + _CheckForConfigurationChange; + _ReadAndroidManifest; + _GetUploadInputs; + _DeployAppBundle; + _ComputeFastDevFiles; + + + + + <_ApkToInstall Condition=" '$(AndroidPackageFormat)' != 'aab' ">$(ApkFileSigned) + <_ReInstall Condition=" '$(_ReInstall)' == '' ">False + <_AndroidIsTestOnlyPackage Condition=" '$(_AndroidIsTestOnlyPackage)' == '' ">False + <_FastDeploymentDiagnosticLogging Condition=" '$(_FastDeploymentDiagnosticLogging)' == '' ">False + + + + + + + <_EnvironmentFiles Include="@(AndroidEnvironment);@(LibraryEnvironments)" /> + + + + + + + + + + + + + + + SignAndroidPackage; + _Upload + + + + + + + + + + + + + + + + + + $(CleanDependsOn); + _CleanDebuggingCaches; + _CleanMultiDexFiles; + + + + + + + + + + + + + + + + + + + + + + + + + + + + custom.aprof + 9999 + <_BeginAotProfilingDependsOnTargets> + _SetupAotProfiling; + Build; + Install; + _SetAotProfilingPropsOnDevice; + StartAndroidActivity; + + + + + aot + + + + + + + + + + + + + + + + + + + + + LibraryImport + + + AndroidJavaLibrary + + + LibraryImport + + + + + + + + + <_ResolvedAssemblies Include="@(ResolvedAssemblies->'$(MonoAndroidIntermediateAssemblyDir)%(Filename)%(Extension)')" /> + <_ResolvedUserAssemblies Include="@(ResolvedUserAssemblies->'$(MonoAndroidIntermediateAssemblyDir)%(Filename)%(Extension)')" /> + <_ResolvedUserMonoAndroidAssembliesForDesigner Include="@(_ResolvedUserAssemblies)" Condition="'%(_ResolvedUserAssemblies.TargetFrameworkIdentifier)' == 'MonoAndroid' Or '%(_ResolvedUserAssemblies.HasMonoAndroidReference)' == 'True'" /> + + + + + <_ManifestOutput Condition=" '$(AndroidManifestMerger)' == 'legacy' ">$(IntermediateOutputPath)android\AndroidManifest.xml + <_ManifestOutput Condition=" '$(AndroidManifestMerger)' != 'legacy' ">$(IntermediateOutputPath)AndroidManifest.xml + + + <_MergedManifestDocuments Condition=" '$(AndroidManifestMerger)' == 'legacy' " Include="@(ExtractedManifestDocuments)" /> + + + + + + + + + + + + + + + + + InstallAndroidDependencies; + $(BuildDependsOn); + + 10 + + + + true + + + + + + + + + + + + + 3.0 + $(VCTargetsPath)\Application Type\Android\$(ApplicationTypeRevision)\ + $(AndroidTaskPath)Microsoft.Build.CPPTasks.Android.dll + true + false + + + + + <_NativeAndroidProjectReference Include="@(_MSBuildProjectReferenceExistent->WithMetadataValue('TargetPlatformIdentifier', 'Android'))" /> + + <_NativeAndroidProjectReferenceWithConfiguration Include="@(_NativeAndroidProjectReference->HasMetadata('SetConfiguration'))" /> + <_NativeAndroidProjectReferenceWithoutConfiguration Include="@(_NativeAndroidProjectReference)" Exclude="@(_NativeAndroidProjectReferenceWithConfiguration)" /> + + + + + + + + + + + + + + + + + + + + + $(NativeLibraryAbi) + + + PreserveNewest + + + + + + + $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), 'Xamarin.Android.Sdk.targets'))\Xamarin.Android.Sdk.targets + + + + + + + + + + + false + $(IntermediateOutputPath)generated\ + intellisense + $(IntermediateOutputPath)api.xml + class-parse.dll + generator.dll + javadoc-to-mdoc.exe + <_GeneratorStampFile>$(_AndroidStampDirectory)generator.stamp + + + $(OutputPath)$(AssemblyName).xml + $(NoWarn);CS1573;CS1591 + + + + <_LibrariesToBind Include="@(EmbeddedJar)" /> + <_LibrariesToBind Include="@(InputJar)" /> + <_LibrariesToBind Include="@(LibraryProjectZip)" /> + <_LibrariesToBind Include="@(_JavaBindingSource)" Condition=" '%(_JavaBindingSource.Bind)' == 'true' " /> + + + + + + <_AndroidGenerateManagedBindings>true + + + + + <_GeneratedManagedBindingFiles Include="$(GeneratedOutputPath)**\*.cs" /> + + + + + + + + true + + + + + + <_BindingsToolsLocation Condition=" '$(_BindingsToolsLocation)' == '' ">$(MonoAndroidToolsDirectory) + + + + + + + + <_JavadocXml Include="@(_JavaSourceJavadocXml)" /> + <_JavadocXml Condition=" Exists('$(_AndroidIntermediateBindingClassesDocs)') " Include="$(_AndroidIntermediateBindingClassesDocs)" /> + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_BindingsToolsLocation Condition=" '$(_BindingsToolsLocation)' == '' ">$(MonoAndroidToolsDirectory) + + + <_AndroidDocumentationPath Include="@(_JavaSourceJavadocXml)" /> + <_AndroidDocumentationPath Include="@(JavaDocIndex->'%(RootDir)\%(Directory)')" /> + <_AndroidDocumentationPath Include="$(JavaDocPaths)" /> + <_AndroidDocumentationPath Include="$(Java7DocPaths)" /> + <_AndroidDocumentationPath Include="$(Java8DocPaths)" /> + <_AndroidDocumentationPath Include="$(DroidDocPaths)" /> + <_AndroidDocumentationPath Include="@(JavaDocJar->'$(IntermediateOutputPath)javadocs\%(FileName)')" /> + + + + + + + + + + + + + + + + <_JavaSourceJavadocXml Include="@(_JavaSourceJarHashes->'$(IntermediateOutputPath)javadoc-%(Filename)-%(Hash).xml')" /> + + + + + + + + + + + + + + + $(LocalAppData)\dotnet-android\MavenCacheDirectory\ + $(HOME)/Library/Caches/dotnet-android/MavenCacheDirectory/ + $(HOME)/.cache/dotnet-android/MavenCacheDirectory/ + $([MSBuild]::EnsureTrailingSlash('$(MavenCacheDirectory)')) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_AGPOutDirAbs>$(IntermediateOutputPath)gradle/ + <_AGPOutDirAbs Condition=" !$([System.IO.Path]::IsPathRooted('$(_AGPOutDirAbs)')) ">$(MSBuildProjectDirectory)/$(_AGPOutDirAbs) + <_AGPInitScriptPath>$(_AGPOutDirAbs)net.android.init.gradle.kts + <_BuildAndroidGradleProjectsStamp>$(_AndroidStampDirectory)_BuildAndroidGradleProjects.stamp + + + + true + Release + + + true + true + + + + + + <_AllGradleFiles Include="%(AndroidGradleProject.RootDir)%(AndroidGradleProject.Directory)/**/*" Condition=" Exists('%(AndroidGradleProject.RootDir)%(AndroidGradleProject.Directory)') " /> + <_GradleInputs Include="@(_AllGradleFiles)" Condition=" '%(Extension)' == '.java' or '%(Extension)' == '.kt' or '%(Extension)' == '.kts' or '%(Extension)' == '.gradle' or '%(Extension)' == '.properties' or '%(Extension)' == '.xml' " /> + <_GradleInputs Include="$(MSBuildProjectFullPath)" /> + <_GradleInputs Include="@(_AndroidMSBuildAllProjects)" /> + + + + + + + + + $(_AGPOutDirAbs)%(ModuleName)%(Configuration)-$([System.String]::Copy($(_AndroidGradleProjectHash)).Substring(0, 5)) + + + $([MSBuild]::EnsureTrailingSlash('%(OutputPath)')) + + + + + + + + + + + + <_AndroidGradleProjectAppOutputs Include="%(AndroidGradleProject.OutputPath)outputs/**/*.apk" /> + <_AndroidGradleProjectLibraryOutputs Include="%(AndroidGradleProject.OutputPath)outputs/**/*.aar" Condition=" '%(CreateAndroidLibrary)' == 'true' " Bind="%(AndroidGradleProject.Bind)" Pack="%(AndroidGradleProject.Pack)" Visible="%(AndroidGradleProject.Visible)" /> + + + + + + + + + + + + + + + + + + + + + <_AarCacheFile>$(IntermediateOutputPath)$(TargetName).aar.cache + <_AarOutputPath>$(OutputPath)$(TargetName).aar + + + + <_AarSearchDirectory Include="@(_ReferencePath->'%(RootDir)%(Directory)')" /> + <_AarSearchDirectory Include="@(_ReferenceDependencyPaths->'%(RootDir)%(Directory)')" /> + <_AarDistinctDirectory Include="@(_AarSearchDirectory->Distinct())" /> + <_AarFromLibraries Include="%(_AarDistinctDirectory.Identity)*.aar" NuGetPackageId="%(_AarDistinctDirectory.NuGetPackageId)" NuGetPackageVersion="%(_AarDistinctDirectory.NuGetPackageVersion)" /> + + + + + + + + + <_CreateAarInputs Include="@(AndroidAsset)" /> + <_CreateAarInputs Include="@(_AndroidResourceDest)" /> + <_CreateAarInputs Include="@(AndroidEnvironment)" /> + <_CreateAarInputs Include="@(AndroidJavaLibrary)" /> + <_CreateAarInputs Include="$(AndroidManifest)" /> + <_CreateAarInputs Include="@(EmbeddedJar)" /> + <_CreateAarInputs Include="@(EmbeddedNativeLibrary)" /> + <_CreateAarInputs Include="@(ProguardConfiguration)" /> + + + + + + + <_CreateAarInputs Include="$(_AarCacheFile)" /> + + + + + + + + + + + $(TargetsForTfmSpecificContentInPackage);_IncludeAarInNuGetPackage + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_AndroidAotInputs Include="@(ResolvedFileToPublish)" Condition=" '%(ResolvedFileToPublish.Extension)' == '.dll' and '%(ResolvedFileToPublish.AssetType)' != 'resources' " /> + + + + + + + + + + <_AotResolvedFileToPublish Include="@(_AotCompiledAssemblies)" Condition=" '$(_AndroidUseMarshalMethods)' == 'True' " ArchiveFileName="libaot-$([System.IO.Path]::GetFileNameWithoutExtension('%(_AotCompiledAssemblies.Identity)')).so" /> + + + + + <_AotResolvedFileToPublish Remove="@(_SourceItemsToCopyToPublishDirectory)" /> + <_AotResolvedFileToPublish Condition=" '%(_AotResolvedFileToPublish.RuntimeIdentifier)' == '' " Update="@(_AotResolvedFileToPublish)" RuntimeIdentifier="$(RuntimeIdentifier)" /> + + + + + + + + + + + + + + + + <_MonoAOTAssemblies Update="@(_MonoAOTAssemblies)" ProcessArguments="$(AndroidExtraAotOptions)" /> + + + <_MonoAOTCompilerPath>@(MonoAotCrossCompiler->WithMetadataValue('RuntimeIdentifier', '$(RuntimeIdentifier)')) + <_LLVMPath Condition=" '$(EnableLLVM)' == 'true' ">$([System.IO.Path]::GetDirectoryName ('$(_MonoAOTCompilerPath)')) + + + + + + + + + + + + <_UpdateStamp Include="@(_ILStripUpdatedAssemblies)" Condition=" '$(AndroidStripILAfterAOT)' == 'true' and '%(_ILStripUpdatedAssemblies.ILStripped)' == 'true' " /> + + + + <_StampDir>$(_AndroidStampDirectory)\..\..\stamp + + + + + + + + + + + + + false + + <_RuntimeIdentifierUsesAppHost>false + dotnet + build "$(MSBuildProjectFullPath)" -target:Run --configuration "$(Configuration)" + + <_RunDependsOn Condition=" '$(_XASupportsFastDev)' == 'true' "> + Install; + _Run; + + <_RunDependsOn Condition=" '$(_XASupportsFastDev)' != 'true' "> + Install; + StartAndroidActivity; + + + + + <_RunWithLoggingDependsOn> + Install; + + <_RunLogFilePath Condition=" '$(_RunLogFilePath)' == '' ">$(IntermediateOutputPath)logcat.txt + false + + + + + + + <_MonoLog>default,assembly,timing=bare + <_MonoLog Condition=" '$(RunLogVerbose)' != 'false' ">$(_MonoLog),mono_log_level=debug,mono_log_mask=all + 1000 + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ProblematicRIDs Include="linux-arm;linux-arm64;linux-x86;linux-x64;linux-bionic-arm;linux-bionic-arm64;linux-bionic-x86;linux-bionic-x64" /> + + + + + $(_OuterOutputPath) + $(_OuterOutputPath) + $(OutputPath) + _RemoveLegacyDesigner;$(BuildDependsOn) + + + $([MSBuild]::Unescape($(CoreBuildDependsOn.Replace('IncrementalClean;', '')))) + + + AndroidPrepareForBuild; + $(CompileDependsOn); + + + + + <_RunAotMaybe Condition=" '$(_AndroidUseMarshalMethods)' != 'True' ">_AndroidAot + + + + + + + + + + + + + + + + True + PreserveNewest + false + android + + + + <_DebugSymbolsIntermediatePath Remove="@(_DebugSymbolsIntermediatePath)" /> + <_DebugSymbolsIntermediatePath Include="$([System.IO.Path]::ChangeExtension ($(_OuterIntermediateAssembly), '.pdb'))" /> + + + + + <_RIDs Include="$(RuntimeIdentifier)" Condition=" '$(RuntimeIdentifiers)' == '' " /> + <_RIDs Include="$(RuntimeIdentifiers)" Condition=" '$(RuntimeIdentifiers)' != '' " /> + + + <_AdditionalProperties> + _ComputeFilesToPublishForRuntimeIdentifiers=true + ;SelfContained=true + ;AppendRuntimeIdentifierToOutputPath=true + ;ResolveAssemblyReferencesFindRelatedSatellites=false + ;SkipCompilerExecution=true + ;_OuterIntermediateAssembly=@(IntermediateAssembly) + ;_OuterOutputPath=$(OutputPath) + ;_OuterIntermediateOutputPath=$(IntermediateOutputPath) + ;_OuterCustomViewMapFile=$(_CustomViewMapFile) + + <_AndroidBuildRuntimeIdentifiersInParallel Condition=" '$(_AndroidBuildRuntimeIdentifiersInParallel)' == '' ">true + + + <_ProjectToBuild Include="$(MSBuildProjectFile)" AdditionalProperties="RuntimeIdentifier=%(_RIDs.Identity);$(_AdditionalProperties)" /> + + + + + + + <_InnerIntermediateOutputPath Condition=" '$(RuntimeIdentifier)' == '' ">$(IntermediateOutputPath)%(_RIDs.Identity)\ + <_InnerIntermediateOutputPath Condition=" '$(RuntimeIdentifier)' != '' ">$(IntermediateOutputPath) + <_ProguardProjectConfiguration Condition=" '$(AndroidLinkTool)' != '' ">$(_InnerIntermediateOutputPath)proguard\proguard_project_references.cfg + <_AndroidLinkFlag Condition=" '$(RuntimeIdentifier)' == '' ">$(_InnerIntermediateOutputPath)link.flag + + + <_ResolvedAssemblyFiles Include="@(ResolvedFileToPublish)" Condition=" '%(ResolvedFileToPublish.Extension)' == '.dll' " /> + <_ResolvedSymbolFiles Include="@(ResolvedFileToPublish)" Condition=" '%(ResolvedFileToPublish.Extension)' == '.pdb' " /> + <_ResolvedJavaLibraries Include="@(ResolvedFileToPublish)" Condition=" '%(ResolvedFileToPublish.Extension)' == '.jar' " /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_PrepareAssembliesDependsOnTargets> + _ResolveAssemblies; + _ResolveSatellitePaths; + _CreatePackageWorkspace; + _LinkAssemblies; + + + + + <_ResolvedAssemblies Include="@(ResolvedAssemblies->'$(MonoAndroidIntermediateAssemblyDir)%(DestinationSubPath)')" Condition=" '%(DestinationSubPath)' != '' " /> + <_ResolvedUserAssemblies Include="@(ResolvedUserAssemblies->'$(MonoAndroidIntermediateAssemblyDir)%(DestinationSubPath)')" Condition=" '%(DestinationSubPath)' != '' " /> + <_ResolvedFrameworkAssemblies Include="@(ResolvedFrameworkAssemblies->'$(MonoAndroidIntermediateAssemblyDir)%(DestinationSubPath)')" Condition=" '%(DestinationSubPath)' != '' " /> + <_ResolvedSymbols Include="@(ResolvedSymbols->'$(MonoAndroidIntermediateAssemblyDir)%(DestinationSubPath)')" Condition=" '%(DestinationSubPath)' != '' " /> + <_ShrunkAssemblies Include="@(_ResolvedAssemblies)" /> + <_ShrunkUserAssemblies Include="@(_ResolvedUserAssemblies)" /> + <_ShrunkFrameworkAssemblies Include="@(_ResolvedFrameworkAssemblies)" /> + + + <_ResolvedAssemblies Include="@(ResolvedAssemblies)" /> + <_ResolvedUserAssemblies Include="@(ResolvedUserAssemblies)" /> + <_ResolvedFrameworkAssemblies Include="@(ResolvedFrameworkAssemblies)" /> + <_ResolvedSymbols Include="@(ResolvedSymbols)" /> + <_ShrunkFrameworkAssemblies Include="@(_ShrunkAssemblies)" Condition=" '%(_ShrunkAssemblies.FrameworkAssembly)' == 'true' " /> + <_ShrunkUserAssemblies Include="@(_ShrunkAssemblies)" Condition=" '%(_ShrunkAssemblies.FrameworkAssembly)' != 'true' " /> + + + <_ResolvedUserMonoAndroidAssemblies Include="@(_ResolvedUserAssemblies)" Condition=" '%(_ResolvedUserAssemblies.TargetFrameworkIdentifier)' == 'MonoAndroid' Or '%(_ResolvedUserAssemblies.HasMonoAndroidReference)' == 'True' " /> + + + + + <_AndroidIncludeSystemGlobalizationNative Condition=" '$(_AndroidIncludeSystemGlobalizationNative)' == '' ">true + <_AndroidEnableNativeStackTracing Condition=" '$(_AndroidEnableNativeStackTracing)' == ''">false + + + <_ResolvedNativeLibraries Include="@(ResolvedFileToPublish)" Condition=" '%(ResolvedFileToPublish.Extension)' == '.so' " /> + + + <_MonoComponent Condition=" '$(AndroidEnableProfiler)' == 'true' " Include="diagnostics_tracing" /> + <_MonoComponent Condition=" '$(AndroidUseInterpreter)' == 'true' " Include="hot_reload" /> + <_MonoComponent Condition=" '$(AndroidIncludeDebugSymbols)' == 'true' " Include="debugger" /> + <_MonoComponent Condition=" '$(_AndroidExcludeMarshalIlgenComponent)' != 'true' " Include="marshal-ilgen" /> + + <_ExcludedNativeLibraries Condition=" '$(_AndroidIncludeSystemGlobalizationNative)' != 'true' " Include="libSystem.Globalization.Native" /> + <_ExcludedNativeLibraries Condition=" '$(_AndroidEnableNativeStackTracing)' != 'true' " Include="libxamarin-native-tracing" /> + + + + + + + + + + + true + <_ExtraTrimmerArgs Condition=" '$(_EnableSerializationDiscovery)' != 'false' ">--enable-serialization-discovery $(_ExtraTrimmerArgs) + <_ExtraTrimmerArgs Condition=" '$(_AndroidEnableUnusedTypeChecks)' != 'true' ">--disable-opt unusedtypechecks $(_ExtraTrimmerArgs) + + <_TrimmerDumpDependencies Condition=" '$(LinkerDumpDependencies)' == 'true' ">true + <_AndroidLinkerCustomStepAssembly>$(MSBuildThisFileDirectory)..\tools\Microsoft.Android.Sdk.ILLink.dll + <_ProguardProjectConfiguration Condition=" '$(AndroidLinkTool)' != '' ">$(IntermediateOutputPath)proguard\proguard_project_references.cfg + + + + + <_TrimmerCustomData Include="AndroidHttpClientHandlerType" Value="$(AndroidHttpClientHandlerType)" /> + <_TrimmerCustomData Include="AndroidCustomViewMapFile" Value="$(_OuterCustomViewMapFile)" /> + <_TrimmerCustomData Include="XATargetFrameworkDirectories" Value="$(_XATargetFrameworkDirectories)" /> + <_TrimmerCustomData Condition=" '$(_ProguardProjectConfiguration)' != '' " Include="ProguardConfiguration" Value="$(_ProguardProjectConfiguration)" /> + + + + <_TrimmerCustomSteps Include="$(_AndroidLinkerCustomStepAssembly)" BeforeStep="MarkStep" Type="Microsoft.Android.Sdk.ILLink.SetupStep" /> + + <_TrimmerCustomSteps Include="$(_AndroidLinkerCustomStepAssembly)" Type="Microsoft.Android.Sdk.ILLink.PreserveSubStepDispatcher" /> + <_TrimmerCustomSteps Include="$(_AndroidLinkerCustomStepAssembly)" Type="MonoDroid.Tuner.MarkJavaObjects" /> + <_TrimmerCustomSteps Include="$(_AndroidLinkerCustomStepAssembly)" Type="MonoDroid.Tuner.PreserveJavaExceptions" /> + <_TrimmerCustomSteps Include="$(_AndroidLinkerCustomStepAssembly)" Type="MonoDroid.Tuner.PreserveApplications" /> + <_TrimmerCustomSteps Include="$(_AndroidLinkerCustomStepAssembly)" Type="Microsoft.Android.Sdk.ILLink.PreserveRegistrations" /> + <_TrimmerCustomSteps Include="$(_AndroidLinkerCustomStepAssembly)" Type="Microsoft.Android.Sdk.ILLink.PreserveJavaInterfaces" /> + <_TrimmerCustomSteps Include="$(_AndroidLinkerCustomStepAssembly)" Type="MonoDroid.Tuner.FixAbstractMethodsStep" /> + + <_TrimmerCustomSteps Condition=" '$(_ProguardProjectConfiguration)' != '' " Include="$(_AndroidLinkerCustomStepAssembly)" AfterStep="CleanStep" Type="Mono.Linker.Steps.GenerateProguardConfiguration" /> + <_TrimmerCustomSteps Condition=" '$(AndroidAddKeepAlives)' == 'true' " Include="$(_AndroidLinkerCustomStepAssembly)" AfterStep="CleanStep" Type="MonoDroid.Tuner.AddKeepAlivesStep" /> + + <_TrimmerCustomSteps Include="$(_AndroidLinkerCustomStepAssembly)" AfterStep="CleanStep" Type="MonoDroid.Tuner.StripEmbeddedLibraries" /> + <_TrimmerCustomSteps Condition=" '$(AndroidLinkResources)' == 'true' " Include="$(_AndroidLinkerCustomStepAssembly)" AfterStep="CleanStep" Type="MonoDroid.Tuner.RemoveResourceDesignerStep" /> + <_TrimmerCustomSteps Condition=" '$(AndroidLinkResources)' == 'true' " Include="$(_AndroidLinkerCustomStepAssembly)" AfterStep="CleanStep" Type="MonoDroid.Tuner.GetAssembliesStep" /> + <_TrimmerCustomSteps Condition=" '$(AndroidUseDesignerAssembly)' == 'true' " Include="$(_AndroidLinkerCustomStepAssembly)" BeforeStep="MarkStep" Type="MonoDroid.Tuner.FixLegacyResourceDesignerStep" /> + <_PreserveLists Include="$(MSBuildThisFileDirectory)..\PreserveLists\*.xml" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_PublishDependsOn> + Build; + PrepareForPublish; + _CalculateAndroidFilesToPublish; + CopyFilesToPublishDirectory; + + + + + + <_AllPackageFormats Include="$(AndroidPackageFormat);$(AndroidPackageFormats)" /> + <_AndroidPackageFormats Include="@(_AllPackageFormats->Distinct())" /> + <_AndroidFilesToPublish Include="$(OutputPath)*.%(_AndroidPackageFormats.Identity)" /> + <_AndroidFilesToPublish Include="$(AndroidProguardMappingFile)" Condition="Exists ('$(AndroidProguardMappingFile)')" /> + <_AndroidFilesToPublish Include="$(_GenerateResourceDesignerAssemblyOutput)" Condition="Exists('$(_GenerateResourceDesignerAssemblyOutput)')" /> + + + + + + + + + <_BinaryRuntimeConfigPath>$(IntermediateOutputPath)$(ProjectRuntimeConfigFileName).bin + + + + <_RuntimeConfigReservedProperties Include="TRUSTED_PLATFORM_ASSEMBLIES" /> + <_RuntimeConfigReservedProperties Include="APP_PATHS" /> + <_RuntimeConfigReservedProperties Include="APP_NI_PATHS" /> + <_RuntimeConfigReservedProperties Include="NATIVE_DLL_SEARCH_DIRECTORIES" /> + <_RuntimeConfigReservedProperties Include="PLATFORM_RESOURCE_ROOTS" /> + <_RuntimeConfigReservedProperties Include="PINVOKE_OVERRIDE" /> + <_RuntimeConfigReservedProperties Include="RUNTIME_IDENTIFIER" /> + <_RuntimeConfigReservedProperties Include="APP_CONTEXT_BASE_DIRECTORY" /> + + + + + + + + + + + + + + + + + + + + + + + + + <_AndroidUseJavaExeVersion Condition=" '$(_AndroidUseJavaExeVersion)' == '' ">false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Platforms\Android\AndroidManifest.xml + + + + + + + + + + + + <_ResizetizerTaskAssemblyName>$(MSBuildThisFileDirectory)\Microsoft.Maui.Resizetizer.dll + + + + + + + + + + + + + + $(CleanDependsOn); + _CleanResizetizer; + + <_ResizetizerInputsFile>$(IntermediateOutputPath)mauiimage.inputs + <_ResizetizerOutputsFile>$(IntermediateOutputPath)mauiimage.outputs + <_ResizetizerStampFile>$(IntermediateOutputPath)mauiimage.stamp + <_MauiFontInputsFile>$(IntermediateOutputPath)mauifont.inputs + <_MauiFontStampFile>$(IntermediateOutputPath)mauifont.stamp + <_MauiSplashInputsFile>$(IntermediateOutputPath)mauisplash.inputs + <_MauiSplashStampFile>$(IntermediateOutputPath)mauisplash.stamp + <_MauiManifestStampFile>$(IntermediateOutputPath)mauimanifest.stamp + <_ResizetizerIntermediateOutputRoot>$(IntermediateOutputPath)resizetizer\ + <_MauiIntermediateImages>$(_ResizetizerIntermediateOutputRoot)r\ + <_MauiIntermediateFonts>$(_ResizetizerIntermediateOutputRoot)f\ + <_MauiIntermediateSplashScreen>$(_ResizetizerIntermediateOutputRoot)sp\ + <_MauiIntermediateManifest>$(_ResizetizerIntermediateOutputRoot)m\ + <_ResizetizerPlatformIdentifier>$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) + <_ResizetizerNoTargetPlatform Condition="'$(_ResizetizerPlatformIdentifier)' == ''">True + <_ResizetizerPlatformIsAndroid Condition="'$(_ResizetizerPlatformIdentifier)' == 'android'">True + <_ResizetizerPlatformIsiOS Condition="'$(_ResizetizerPlatformIdentifier)' == 'ios'">True + <_ResizetizerPlatformIsMacCatalyst Condition="'$(_ResizetizerPlatformIdentifier)' == 'maccatalyst'">True + <_ResizetizerPlatformIsmacOS Condition="'$(_ResizetizerPlatformIdentifier)' == 'macos'">True + <_ResizetizerPlatformIstvOS Condition="'$(_ResizetizerPlatformIdentifier)' == 'tvos'">True + <_ResizetizerPlatformIsWindows Condition="$(_ResizetizerPlatformIdentifier.Contains('windows')) == 'True'">True + <_ResizetizerPlatformIsTizen Condition="'$(_ResizetizerPlatformIdentifier)' == 'tizen'">True + False + <_ResizetizerDefaultInvalidFilenamesErrorMessage>One or more invalid file names were detected. File names must be lowercase, start and end with a letter character, and contain only alphanumeric characters or underscores: + <_ResizetizerDefaultDuplicateFilenamesErrorMessage>One or more duplicate file names were detected. All image output filenames must be unique: + <_ResizetizerThrowsErrorOnInvalidFilename>true + <_ResizetizerThrowsErrorOnInvalidFilename Condition="'$(ResizetizerErrorOnInvalidFilename)' == 'false'">false + <_ResizetizerThrowsErrorOnDuplicateOutputFilename>true + <_ResizetizerThrowsErrorOnDuplicateOutputFilename Condition="'$(ResizetizerErrorOnDuplicateOutputFilename)' == 'false'">false + true + true + true + true + + + <_ResizetizerIsNetCore>True + <_ResizetizerIsAndroidApp Condition=" '$(_ResizetizerPlatformIsAndroid)' == 'True' And '$(AndroidApplication)' == 'True'">True + <_ResizetizerIsiOSApp Condition="( '$(_ResizetizerPlatformIsiOS)' == 'True' OR '$(_ResizetizerPlatformIsMacCatalyst)' == 'True' ) And ('$(OutputType)' == 'Exe' Or '$(IsAppExtension)' == 'True')">True + <_ResizetizerIsiOSSpecificApp Condition=" '$(_ResizetizerPlatformIsiOS)' == 'True' And ('$(OutputType)' == 'Exe' Or '$(IsAppExtension)' == 'True')">True + <_ResizetizerIsWPFApp Condition="'$(IsApplication)' == 'True' And '$(NuGetRuntimeIdentifier)' == 'win' And '$(_ResizetizerPlatformIsWindows)' == 'True'">True + <_ResizetizerIsWindowsAppSdk Condition="'$(MicrosoftWindowsAppSDKPackageDir)' != '' And '$(_ResizetizerPlatformIsWindows)' == 'True' And ('$(OutputType)' == 'WinExe' Or '$(OutputType)' == 'Exe')">True + <_ResizetizerIsTizenApp Condition="'$(_ResizetizerPlatformIsTizen)' == 'True' And ( '$(OutputType)' == 'Exe' )">True + + + <_ResizetizerIsCompatibleApp>True + + $(ResizetizeDependsOnTargets); + ResizetizeCollectItems; + ProcessMauiSplashScreens; + _ReadResizetizeImagesOutputs; + + + $(ProcessMauiFontsDependsOnTargets); + ResizetizeCollectItems; + ProcessMauiAssets; + ProcessMauiSplashScreens; + + + + + ios + + true + + $(CollectBundleResourcesDependsOn); + ResizetizeCollectItems; + + + $(CompileImageAssetsDependsOn); + ResizetizeCollectItems; + + + $(ResizetizeAfterTargets); + ResizetizeCollectItems; + + + ProcessMauiFonts; + ProcessMauiSplashScreens; + $(CollectAppManifestsDependsOn) + + + + + android + + $(ResizetizeCollectItemsBeforeTargets); + _ComputeAndroidResourcePaths; + + + $(ResizetizeAfterTargets); + ResizetizeCollectItems; + + + $(ProcessMauiFontsAfterTargets); + ResizetizeCollectItems; + + + + + uwp + + $(ResizetizeBeforeTargets); + AssignTargetPaths; + + + $(ProcessMauiFontsBeforeTargets); + AssignTargetPaths; + + + $(MauiGeneratePackageAppxManifestDependsOnTargets); + ResizetizeCollectItems; + + + + + wpf + + $(ResizetizeBeforeTargets); + FileClassification; + + + $(ProcessMauiFontsBeforeTargets); + FileClassification; + + + + + tizen + + $(ResizetizeBeforeTargets); + PrepareResources; + + + $(ResizetizeAfterTargets); + ResizetizeCollectItems; + + + $(ProcessMauiFontsAfterTargets); + ResizetizeCollectItems; + + + + + + + + + + + + + + + + + + + + + + + + + + <_ResizetizeCollectItemsProjectWithOIS Include="@(_ResolvedProjectReferencePaths->HasMetadata('OriginalProjectReferenceItemSpec'))" /> + + <_ResizetizeCollectItemsProjectWithItemSpec Include="@(_ResizetizeCollectItemsProjectWithOIS->'%(OriginalProjectReferenceItemSpec)')" /> + + <_ResizetizeCollectItemsProject Include="@(_ResizetizeCollectItemsProjectWithItemSpec->HasMetadata('NearestTargetFramework'))" /> + + <_ResizetizeCollectItemsProject Include="@(ProjectReference)" Exclude="@(_ResizetizeCollectItemsProject)" NearestTargetFramework="$(TargetFramework)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MauiSplashScreenWithHashes Update="@(_MauiSplashScreenWithHashes)" InputsFileHash="$(_MauiSplashInputsFileHash)" /> + + + + + + + + + + + <_MauiAssetWithLinkMetadata Include="@(MauiAsset)" Link="%(MauiAsset.LogicalName)" Condition="'%(MauiAsset.Link)' == '' And '%(MauiAsset.LogicalName)' != ''" /> + <_MauiAssetWithLinkMetadata Include="@(MauiAsset)" Condition="'%(MauiAsset.Link)' != '' Or '%(MauiAsset.LogicalName)' == ''" /> + + + + <_MauiAssetItemMetadata Condition="'$(_ResizetizerIsAndroidApp)' == 'True'">Link + <_MauiAssetItemMetadata Condition="'$(_ResizetizerIsiOSApp)' == 'True'">Link + <_MauiAssetItemMetadata Condition="'$(_ResizetizerIsWindowsAppSdk)' == 'True'">TargetPath + <_MauiAssetItemMetadata Condition="'$(_ResizetizerIsTizenApp)' == 'True'">TizenTpkFileName + + + + + + + + + + + + + + + + + + + + + <_MauiHasSplashScreens>false + <_MauiHasSplashScreens Condition="'@(MauiSplashScreen->Count())' != '0'">true + <_MauiShouldGenerateSplashScreen Condition="'$(_MauiHasSplashScreens)' == 'true'">true + <_MauiShouldGenerateSplashScreen Condition="'$(_ResizetizerIsiOSSpecificApp)' == 'True' and '$(_MauiHasSplashScreens)' != 'true' and '$(EnableBlankMauiSplashScreen)' == 'true'">true + + + + + + + <_MauiSplashAssets Include="$(_MauiIntermediateSplashScreen)**\*" /> + + $(_ResizetizerStampFile) + + + + + + <_MauiSplashScreenWithHashesInFilename Include="@(_MauiSplashScreenWithHashes->HasMetadata('Link'))" OriginalLink="%(_MauiSplashScreenWithHashes.Link)" Link="$([System.IO.Path]::GetFilenameWithoutExtension('%(_MauiSplashScreenWithHashes.Link)'))_%(InputsFileHash)$([System.IO.Path]::GetExtension('%(_MauiSplashScreenWithHashes.Link)'))" /> + <_MauiSplashScreenWithHashesInFilename Include="@(_MauiSplashScreenWithHashes)" Exclude="@(_MauiSplashScreenWithHashesInFilename)" Link="%(Filename)_%(InputsFileHash)%(Extension)" /> + + + + <_MauiIntermediateStoryboard>$(_MauiIntermediateSplashScreen)MauiSplash.storyboard + <_MauiIntermediatePList>$(_MauiIntermediateSplashScreen)MauiInfo.plist + + + + <_MauiSplashAssets Include="$(_MauiIntermediateSplashScreen)**\*" /> + <_MauiSplashStoryboard Include="$(_MauiIntermediateStoryboard)" /> + <_MauiSplashPList Include="$(_MauiIntermediatePList)" /> + <_MauiSplashImages Include="@(_MauiSplashAssets)" Exclude="@(_MauiSplashStoryboard);@(_MauiSplashPList)" /> + + + + + + + %(_MauiSplashImages.Filename)%(_MauiSplashImages.Extension) + %(_MauiSplashImages.Filename)%(_MauiSplashImages.Extension) + + + + + + <_MauiSplashAssets Include="$(_MauiIntermediateSplashScreen)**\*" /> + + %(_MauiSplashAssets.Filename)%(_MauiSplashAssets.Extension) + PreserveNewest + + + + + + <_MauiSplashAssets Include="$(_MauiIntermediateSplashScreen)**\*" /> + + <_MauiSplashScreens Include="$(_MauiIntermediateSplashScreen)splash\*" /> + + + + + + + + + + + + + + + <_MauiFontCopied Include="$(_MauiIntermediateFonts)*" /> + + + + + <_MauiFontBundleResource Include="@(_MauiFontCopied)"> + $([System.IO.Path]::GetFileName(%(_MauiFontCopied.Identity))) + $([System.IO.Path]::GetFileName(%(_MauiFontCopied.Identity))) + + + + + + + + <_MauiFontPListFiles Include="$(_MauiIntermediateFonts)MauiInfo.plist" Condition="Exists('$(_MauiIntermediateFonts)MauiInfo.plist')" /> + + + + + + + $([System.IO.Path]::GetFileName(%(_MauiFontCopied.Identity))) + + + + + + $([System.IO.Path]::GetFileName(%(_MauiFontCopied.Identity))) + PreserveNewest + + + + + + $([System.IO.Path]::GetFileName(%(_MauiFontCopied.Identity))) + $([System.IO.Path]::GetFileName(%(_MauiFontCopied.Identity))) + + + + + + + + + + + + + + + + + + + + + + <_MauiImageToProcess Include="@(MauiImage)" Condition=" '%(FileName)%(Extension)' != '.DS_Store' " /> + + + + + + + + + + <_ResizetizerCollectedImages Condition="'@(_CopiedResources->Count())' != '0'" Include="@(_CopiedResources)" /> + <_ResizetizerExistingImages Include="$(_MauiIntermediateImages)\**\*" /> + <_ResizetizerImagesToDelete Include="@(_ResizetizerExistingImages->'%(FullPath)')" /> + <_ResizetizerCollectedImages Condition="'@(_CopiedResources)' == ''" Include="@(_ResizetizerExistingImages->'%(FullPath)')" /> + <_ResizetizerImagesToDelete Remove="@(_ResizetizerCollectedImages)" /> + + + + + + + <_ResizetizerCollectedBundleResourceImages Include="@(_ResizetizerCollectedImages->'%(FullPath)')"> + %(_ResizetizerCollectedImages.Filename)%(_ResizetizerCollectedImages.Extension) + %(_ResizetizerCollectedImages.Filename)%(_ResizetizerCollectedImages.Extension) + + + + + Assets.xcassets\$([System.IO.Path]::GetFileName($([System.IO.Path]::GetDirectoryName(%(_ResizetizerCollectedBundleResourceImages.Identity)))))\%(_ResizetizerCollectedBundleResourceImages.Filename)%(_ResizetizerCollectedBundleResourceImages.Extension) + Assets.xcassets\$([System.IO.Path]::GetFileName($([System.IO.Path]::GetDirectoryName(%(_ResizetizerCollectedBundleResourceImages.Identity)))))\%(_ResizetizerCollectedBundleResourceImages.Filename)%(_ResizetizerCollectedBundleResourceImages.Extension) + Assets.xcassets\$([System.IO.Path]::GetFileName($([System.IO.Path]::GetDirectoryName(%(_ResizetizerCollectedBundleResourceImages.Identity)))))\%(_ResizetizerCollectedBundleResourceImages.Filename)%(_ResizetizerCollectedBundleResourceImages.Extension) + + + + + + + + $(_ResizetizerStampFile) + + + + + + + %(_ResizetizerCollectedImages.Filename)%(_ResizetizerCollectedImages.Extension) + PreserveNewest + + + <_MauiAppIconFile Include="@(_ResizetizerCollectedImages)" Condition="'%(Extension)' == '.ico'" /> + + + %(_MauiAppIconFile.Identity) + + + + + %(_ResizetizerCollectedImages.Filename)%(_ResizetizerCollectedImages.Extension) + %(_ResizetizerCollectedImages.Filename)%(_ResizetizerCollectedImages.Extension) + + + + + + $([System.IO.Path]::GetFullPath('$(_MauiIntermediateImages)')) + + + + + + $([MSBuild]::MakeRelative($(ResizetizerIntermediateOutputAbsolutePath), $([System.IO.Path]::GetFullPath('%(_ResizetizerCollectedImages.RelativeDir)')))) + + + + + + + + + + + + + + + + + <_MauiAppxManifest Include="@(AppxManifest)" /> + + + + + + + + <_MauiWindowsApplicationId Condition="'$(_MauiWindowsApplicationId)' == '' and '$(ApplicationIdGuid)' != ''">$(ApplicationIdGuid) + <_MauiWindowsApplicationId Condition="'$(_MauiWindowsApplicationId)' == '' and '$(ApplicationId)' != ''">$(ApplicationId) + + + + + + + + + <_MauiAppxManifest Remove="@(_MauiAppxManifest)" /> + <_MauiAppxManifest Include="$(_MauiIntermediateManifest)Package.appxmanifest" /> + + + + + + + + + + + + <_MauiAppxManifestContents>$([System.IO.File]::ReadAllText('$(_MauiIntermediateManifest)Package.appxmanifest')) + + + + + + + + + + + + + + + + <_Parameter1>Microsoft.Maui.ApplicationModel.AppInfo.PackageName + <_Parameter2>@(_MauiAppxManifestIdentity) + + + <_Parameter1>Microsoft.Maui.ApplicationModel.AppInfo.PublisherName + <_Parameter2>@(_MauiAppxManifestPublisher) + + + <_Parameter1>Microsoft.Maui.ApplicationModel.AppInfo.Name + <_Parameter2>@(_MauiAppxManifestDisplayName) + + + <_Parameter1>Microsoft.Maui.ApplicationModel.AppInfo.Version + <_Parameter2>@(_MauiAppxManifestVersion) + + + + + + + + $(_MauiIntermediateManifest)tizen-manifest.xml + + + + + + + + + + + + + + + $(MSBuildWarningsAsMessages);XA4218 + + + + + + + + + + + + + $(EnableDefaultItems) + $(EnableDefaultMauiItems) + $(EnableDefaultMauiItems) + $(EnableDefaultMauiItems) + + + + + + + + + true + True + True + + true + + false + + + + + + + + + + + <_MauiBindingInterceptorsSupport Condition=" '$(_MauiBindingInterceptorsSupport)' == '' and '$(DisableMauiAnalyzers)' != 'true' ">true + $(InterceptorsPreviewNamespaces);Microsoft.Maui.Controls.Generated + + + + + + + + + + + <_MauiTargetsImportedAgain Condition="'$(_MauiTargetsImported)'=='True'">True + <_MauiTargetsImported>True + true + false + + + + + + + + + + + + + + + + + <_MauiXamlWithResourceNames Remove="@(_MauiXamlWithResourceNames)" /> + <_MauiXamlWithTargetPath Remove="@(_MauiXamlWithTargetPath)" /> + <_MauiCssWithResourceNames Remove="@(_MauiCssWithResourceNames)" /> + <_MauiCssWithTargetPath Remove="@(_MauiCssWithTargetPath)" /> + + + + + + + + + + + + + + + + + <_MauiXamlWithResourceNames Remove="@(_MauiXamlWithResourceNames)" /> + <_MauiXamlWithTargetPath Remove="@(_MauiXamlWithTargetPath)" /> + <_MauiCssWithResourceNames Remove="@(_MauiCssWithResourceNames)" /> + <_MauiCssWithTargetPath Remove="@(_MauiCssWithTargetPath)" /> + + + + + + _MauiAddXamlEmbeddedResources; + $(PrepareResourcesDependsOn); + + + + + + + + + + + + $(CompileDependsOn); + XamlC; + + + + + <_MauiXamlCValidateOnly>$(MauiXamlCValidateOnly) + <_MauiXamlCValidateOnly Condition="'$(Configuration)' == 'Debug' AND '$(_MauiForceXamlCForDebug)' != 'True'">True + <_MauiXamlCValidateOnly Condition="'$(BuildingForLiveUnitTesting)' == 'True' ">True + true + <_MauiXamlCWarningsNotAsErrors>$(WarningsNotAsErrors) + <_MauiXamlCWarningsNotAsErrors Condition="'$(MauiStrictXamlCompilation)' != 'true'">$(_MauiXamlCWarningsNotAsErrors);XC0022;XC0023;XC0025 + <_MauiXamlCGenerateFullPaths Condition="'$(_MauiXamlCGenerateFullPaths)' == '' and '$(GenerateFullPaths)' == 'true'">true + <_MauiXamlCGenerateFullPaths Condition="'$(_MauiXamlCGenerateFullPaths)' == ''">false + <_MauiXamlCFullPathPrefix Condition="'$(_MauiXamlCFullPathPrefix)' == '' and '$(_MauiXamlCGenerateFullPaths)' == 'true'">$(MSBuildProjectDirectory) + + + + + + + + + + + + IncludeProguardForAndroid; + $(CoreCompileDependsOn); + + + ValidateTargetFrameworkVersionForMaui; + $(PrepareForBuildDependsOn); + + + + + + + + + + 10.0 + $(TargetFrameworkVersion.TrimStart('vV')) + + + + + + false + + + false + false + false + true + false + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + false + + + false + + + false + + + false + + + false + + + + + + + + + + <_MauiXamlToRemove Condition="'$(WindowsProjectFolder)' != ''" Include="$(WindowsProjectFolder)**/*.xaml" /> + + + + + + + + <_MauiOld_ResourcePrefix>$(_ResourcePrefix) + <_ResourcePrefix>Resources;$(_ResourcePrefix) + + + + + <_ResourcePrefix>$(_MauiOld_ResourcePrefix) + + + + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Maui\Maui.DesignTime.targets + + + + + + + + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net9.0\Microsoft.DotNet.ApiCompat.Task.dll + + + + + + + + + + + + + + <_UseRoslynToolsetPackage Condition="'$(ApiCompatUseRoslynToolsetPackagePath)' == 'true' and '@(PackageReference->AnyHaveMetadataValue('Identity', 'Microsoft.Net.Compilers.Toolset'))' == 'true'">true + + $([System.IO.Path]::GetDirectoryName('$(CSharpCoreTargetsPath)')) + + $(RoslynTargetsPath) + + $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', 'bincore')) + + + + $(GenerateCompatibilitySuppressionFile) + + + + + + + <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + + $(_apiCompatDefaultProjectSuppressionFile) + + + + + + + + + + + <_ApiCompatValidatePackageSemaphoreFile>$(IntermediateOutputPath)$(MSBuildThisFileName).semaphore + + CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) + + + + $(PackageId) + $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) + <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) + + + <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> + + + + + + + + + + $(TargetPlatformMoniker) + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets + true + + + + + + ..\CoreCLR\NuGet.Build.Tasks.Pack.dll + ..\Desktop\NuGet.Build.Tasks.Pack.dll + + + + + + + + + $(AssemblyName) + $(Version) + true + _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) + $(Description) + Package Description + false + true + true + tools + lib + content;contentFiles + $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) + true + symbols.nupkg + DeterminePortableBuildCapabilities + false + false + .dll; .exe; .winmd; .json; .pri; .xml + $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) + .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) + .pdb + false + + + $(GenerateNuspecDependsOn) + + + Build;$(GenerateNuspecDependsOn) + + + + + + + $(TargetFramework) + + + + $(MSBuildProjectExtensionsPath) + $(BaseOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + + + + + + + + + + + + + + + + + + + + + + + + <_ProjectFrameworks /> + + + + + + <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> + + + + + + + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> + + + + + + false + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + $(PrivateRepositoryUrl) + $(SourceRevisionId) + $(SourceBranchName) + + + + + + + $(MSBuildProjectFullPath) + + + + + + + + + + + + + + + + + <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> + $(PackageVersion) + 1.0.0 + + + + + + <_ProjectsWithTFM Include="$(MSBuildProjectFullPath)" AdditionalProperties="TargetFramework=%(_TargetFrameworks.Identity)" /> + <_ProjectsWithTFMNoBuild Include="$(MSBuildProjectFullPath)" AdditionalProperties="TargetFramework=%(_TargetFrameworks.Identity);BuildProjectReferences=false" /> + + + + + + + + + + + + + + + + + + + + + + + <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> + + + + + + $(TargetFramework) + + + + + + + + + + + + + %(TfmSpecificPackageFile.RecursiveDir) + %(TfmSpecificPackageFile.BuildAction) + + + + + + <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> + $(TargetFramework) + + + + <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> + + + + + + <_PathToPriFile Include="$(ProjectPriFullPath)"> + $(ProjectPriFullPath) + $(ProjectPriFileName) + + + + + + + <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> + + + + <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> + Content + + <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> + Compile + + <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> + None + + <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> + EmbeddedResource + + <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> + ApplicationDefinition + + <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> + Page + + <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> + Resource + + <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> + SplashScreen + + <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> + DesignData + + <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> + DesignDataWithDesignTimeCreatableTypes + + <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> + CodeAnalysisDictionary + + <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> + AndroidAsset + + <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> + AndroidResource + + <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> + BundleResource + + + + + + + <_IsNotSetContainersTargetsDir>false + <_IsNotSetContainersTargetsDir Condition=" '$(_ContainersTargetsDir)'=='' ">true + <_ContainersTargetsDir Condition="$(_IsNotSetContainersTargetsDir)">$(MSBuildThisFileDirectory)..\..\..\Containers\build\ + + + + + true + tasks + net9.0 + net472 + containerize + + $(MSBuildThisFileDirectory)..\$(ContainerTaskFolderName)\$(ContainerTaskFramework)\ + $(MSBuildThisFileDirectory)..\$(ContainerizeFolderName)\ + + $(ContainerCustomTasksFolder)$(MSBuildThisFileName).dll + + + + + + + + + + <_IsSDKContainerAllowedVersion>false + + <_IsSDKContainerAllowedVersion Condition="$([MSBuild]::VersionGreaterThan($(NetCoreSdkVersion), 7.0.100)) OR ( $([MSBuild]::VersionEquals($(NetCoreSdkVersion), 7.0.100)) AND ( $(NETCoreSdkVersion.Contains('-preview.7')) OR $(NETCoreSdkVersion.Contains('-rc')) OR $(NETCoreSdkVersion.Contains('-')) == false ) )">true + <_ContainerIsTargetingNet8TFM>false + <_ContainerIsTargetingNet8TFM Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' And $([MSBuild]::VersionGreaterThanOrEquals($(_TargetFrameworkVersionWithoutV), '8.0'))">true + <_ContainerIsSelfContained>false + <_ContainerIsSelfContained Condition="'$(SelfContained)' == 'true' or '$(PublishSelfContained)' == 'true'">true + true + + + + + + + + + + + + $(RuntimeIdentifier) + $(RuntimeIdentifiers) + linux-$(NETCoreSdkPortableRuntimeIdentifier.Split('-')[1]) + <_ContainerIsUsingMicrosoftDefaultImages Condition="'$(ContainerBaseImage)' == ''">true + <_ContainerIsUsingMicrosoftDefaultImages Condition="'$(ContainerBaseImage)' != ''">false + + + <_TargetRuntimeIdentifiers Include="$(ContainerRuntimeIdentifier)" Condition="'$(ContainerRuntimeIdentifier)' != ''" /> + <_TargetRuntimeIdentifiers Include="$(ContainerRuntimeIdentifiers)" Condition="@(_TargetRuntimeIdentifiers->Count()) == 0" /> + + + + + + <_TargetRuntimeIdentifiers Remove="$(_TargetRuntimeIdentifiers)" /> + + + + + + $(RegistryUrl) + + $(PublishImageTag) + + $([System.DateTime]::UtcNow.ToString('yyyyMMddhhmmss')) + + + + + + + + + + + $(ContainerImageName) + + $(AssemblyName) + + latest + $([System.DateTime]::UtcNow.ToString('yyyyMMddhhmmss')) + + <_ContainerIsTargetingWindows>false + <_ContainerIsTargetingWindows Condition="$(ContainerRuntimeIdentifier.StartsWith('win'))">true + + /app/ + C:\app\ + + + + + + + + + + ContainerUser + + + + + + + + + + + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + + + $(Description) + $(Authors) + $(PackageProjectUrl) + $(PackageProjectUrl) + $(PackageVersion) + $(PackageLicenseExpression) + $(Title) + + + + + + + + + + + + + + + + + + + + + + <_TrimmedRepositoryUrl Condition="'$(RepositoryType)' == 'git' and '$(PrivateRepositoryUrl)' != '' and $(PrivateRepositoryUrl.EndsWith('.git'))">$(PrivateRepositoryUrl.Substring(0, $(PrivateRepositoryUrl.LastIndexOf('.git')))) + <_TrimmedRepositoryUrl Condition="'$(_TrimmedRepositoryUrl)' == '' and '$(PrivateRepositoryUrl)' != ''">$(PrivateRepositoryUrl) + + + + + + + + + _ContainerVerifySDKVersion; + ComputeContainerConfig; + _CheckContainersPackage + + + + + + <_ContainersPackageIdentity>Microsoft.NET.Build.Containers + <_WebDefaultSdkVersion>7.0.300 + <_WorkerDefaultSdkVersion>8.0.100 + <_ConsoleDefaultSdkVersion>8.0.200 + + <_SdkCanPublishWeb>$([MSBuild]::VersionGreaterThanOrEquals('$(NETCoreSdkVersion)', '$(_WebDefaultSdkVersion)')) + <_SdkCanPublishWorker>$([MSBuild]::VersionGreaterThanOrEquals('$(NETCoreSdkVersion)', '$(_WorkerDefaultSdkVersion)')) + <_SdkCanPublishConsole>$([MSBuild]::VersionGreaterThanOrEquals('$(NETCoreSdkVersion)', '$(_ConsoleDefaultSdkVersion)')) + + <_ContainerPackageIsPresent>false + <_ContainerPackageIsPresent Condition="@(PackageReference->AnyHaveMetadataValue('Identity', '$(_ContainersPackageIdentity)'))">true + <_IsWebProject>false + <_IsWebProject Condition="@(ProjectCapability->AnyHaveMetadataValue('Identity', 'DotNetCoreWeb'))">true + <_IsWorkerProject>false + <_IsWorkerProject Condition="@(ProjectCapability->AnyHaveMetadataValue('Identity', 'DotNetCoreWorker'))">true + + + + + + $(NetCoreRoot) + dotnet + dotnet.exe + + + + + + + + + + + + + $(GeneratedContainerManifest) + $(GeneratedContainerConfiguration) + $(GeneratedContainerDigest) + $(GeneratedContainerMediaType) + + + + + + + + + <_SkipContainerPublishing>false + <_SkipContainerPublishing Condition="$(ContainerArchiveOutputPath) != '' or ( $(ContainerRegistry) == '' and ( $(LocalRegistry) == '' or $(LocalRegistry) == 'Docker' ) )">true + + <_SkipCreateImageIndex>false + <_SkipCreateImageIndex Condition="$(ContainerArchiveOutputPath) == '' and $(ContainerRegistry) == '' and $(LocalRegistry) == 'Podman'">true + + + <_SingleImageContainerFormat Condition="'$(ContainerImageFormat)' != ''">$(ContainerImageFormat) + + <_SingleImageContainerFormat Condition="$(_SkipContainerPublishing) == 'true' ">OCI + + + <_rids Include="$(ContainerRuntimeIdentifiers)" Condition="'$(ContainerRuntimeIdentifiers)' != ''" /> + <_rids Include="$(RuntimeIdentifiers)" Condition="'$(ContainerRuntimeIdentifiers)' == '' and '$(RuntimeIdentifiers)' != ''" /> + <_InnerBuild Include="$(MSBuildProjectFullPath)" AdditionalProperties=" ContainerRuntimeIdentifier=%(_rids.Identity); RuntimeIdentifier=%(_rids.Identity); ContainerBaseRegistry=$(ContainerBaseRegistry); ContainerBaseName=$(ContainerBaseName); ContainerBaseTag=$(ContainerBaseTag); ContainerBaseDigest=$(ContainerBaseDigest); ContainerRegistry=$(ContainerRegistry); _ContainerImageTags=@(ContainerImageTags, ';'); ContainerRepository=$(ContainerRepository); ContainerWorkingDirectory=$(ContainerWorkingDirectory); _ContainerEntrypoint=@(ContainerEntrypoint, ';'); _ContainerEntrypointArgs=@(ContainerEntrypointArgs, ';'); _ContainerAppCommand=@(ContainerAppCommand, ';'); _ContainerAppCommandArgs=@(ContainerAppCommandArgs, ';'); ContainerAppCommandInstruction=$(ContainerAppCommandInstruction); _ContainerDefaultArgs=@(ContainerDefaultArgs, ';'); _ContainerLabel=@(ContainerLabel->'%(Identity):%(Value)'); _ContainerPort=@(ContainerPort->'%(Identity):%(Type)'); _ContainerEnvironmentVariables=@(ContainerEnvironmentVariable->'%(Identity):%(Value)'); ContainerUser=$(ContainerUser); ContainerGenerateLabels=$(ContainerGenerateLabels); ContainerGenerateLabelsImageBaseDigest=$(ContainerGenerateLabelsImageBaseDigest); _SkipContainerPublishing=$(_SkipContainerPublishing); ContainerImageFormat=$(_SingleImageContainerFormat) " /> + <_rids Remove="$(_rids)" /> + + + + + + + + + + + + + + + + + + + <_ParsedContainerLabel Condition="'$(_ContainerLabel)' != ':'" Include="$(_ContainerLabel)" /> + + <_ParsedContainerPort Condition="'$(_ContainerPort)' != ':'" Include="$(_ContainerPort)" /> + + <_ParsedContainerEnvironmentVariables Condition="'$(_ContainerEnvironmentVariables)' != ':'" Include="$(_ContainerEnvironmentVariables)" /> + + + + + + <_IsMultiTFMBuild Condition="'$(TargetFrameworks)' != '' and '$(TargetFramework)' == ''">true + + <_HasCRIDsAndNoCRID Condition="'$(ContainerRuntimeIdentifiers)' != '' and '$(ContainerRuntimeIdentifier)' == ''">true + <_HasRIDs Condition="'$(RuntimeIdentifiers)' != ''">true + <_NoCRIDsOrCRIDorRID Condition="'$(ContainerRuntimeIdentifiers)' == '' and '$(ContainerRuntimeIdentifier)' == '' and '$(RuntimeIdentifier)' == ''">true + <_IsMultiRIDBuild Condition="'$(BuildingInsideVisualStudio)' != 'true' and ('$(_HasCRIDsAndNoCRID)' == true or ('$(_HasRIDs)' == 'true' and '$(_NoCRIDsOrCRIDorRID)' == 'true'))">true + <_IsSingleRIDBuild Condition="'$(_IsMultiRIDBuild)' == ''">true + + + + + + + + + \ No newline at end of file diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj index 6a15dc34..67efd839 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj +++ b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj @@ -1,7 +1,5 @@  - - net9.0-android $(TargetFrameworks);net9.0-ios;net9.0-maccatalyst @@ -52,16 +50,13 @@ - + - - - 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 index 6f0f31c6..9cb28f52 100644 --- a/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.targets +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.targets @@ -11,8 +11,202 @@ - - + + + + $(MSBuildThisFileDirectory)templates/Platforms/Android/MainActivity.cs.template + $(IntermediateOutputPath)Platforms/Android/MainActivity.cs + + + + + + + + <_ProcessedContent>@(_TemplateLines, '%0D%0A') + <_ProcessedContent>$(_ProcessedContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{AppId}}', '$(ApplicationId)')) + + + + + + + + $(MSBuildThisFileDirectory)templates/Platforms/Android/MainApplication.cs.template + $(IntermediateOutputPath)Platforms/Android/MainApplication.cs + + + + + + + + <_ProcessedContent>@(_TemplateLines, '%0D%0A') + <_ProcessedContent>$(_ProcessedContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{AppId}}', '$(ApplicationId)')) + + + + + + + + $(MSBuildThisFileDirectory)templates/Platforms/iOS/Program.cs.template + $(IntermediateOutputPath)Platforms/iOS/Program.cs + + + + + + + + <_ProcessedContent>@(_TemplateLines, '%0D%0A') + <_ProcessedContent>$(_ProcessedContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{AppId}}', '$(ApplicationId)')) + + + + + + + + $(MSBuildThisFileDirectory)templates/Platforms/iOS/AppDelegate.cs.template + $(IntermediateOutputPath)Platforms/iOS/AppDelegate.cs + + + + + + + + <_ProcessedContent>@(_TemplateLines, '%0D%0A') + <_ProcessedContent>$(_ProcessedContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{AppId}}', '$(ApplicationId)')) + + + + + + + + $(MSBuildThisFileDirectory)templates/Platforms/MacCatalyst/Program.cs.template + $(IntermediateOutputPath)Platforms/MacCatalyst/Program.cs + + + + + + + + <_ProcessedContent>@(_TemplateLines, '%0D%0A') + <_ProcessedContent>$(_ProcessedContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{AppId}}', '$(ApplicationId)')) + + + + + + + + $(MSBuildThisFileDirectory)templates/Platforms/MacCatalyst/AppDelegate.cs.template + $(IntermediateOutputPath)Platforms/MacCatalyst/AppDelegate.cs + + + + + + + + <_ProcessedContent>@(_TemplateLines, '%0D%0A') + <_ProcessedContent>$(_ProcessedContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{AppId}}', '$(ApplicationId)')) + + + + + + + + $(MSBuildThisFileDirectory)templates/Platforms/Windows/App.xaml.cs.template + $(IntermediateOutputPath)Platforms/Windows/App.xaml.cs + + + + + + + + <_ProcessedContent>@(_TemplateLines, '%0D%0A') + <_ProcessedContent>$(_ProcessedContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{AppId}}', '$(ApplicationId)')) + + + + + + + + $(MSBuildThisFileDirectory)templates/Windows/App.xaml + $(IntermediateOutputPath)Platforms/Windows/App.xaml + + + + + + + + <_ProcessedContent>@(_TemplateLines, '%0D%0A') + <_ProcessedContent>$(_ProcessedContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{AppId}}', '$(ApplicationId)')) + + + + + + + + $(MSBuildThisFileDirectory)templates/Windows/app.manifest + $(IntermediateOutputPath)Platforms/Windows/app.manifest + + + + + + + + <_ProcessedContent>@(_TemplateLines, '%0D%0A') + <_ProcessedContent>$(_ProcessedContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) + <_ProcessedContent>$(_ProcessedContent.Replace('{{AppId}}', '$(ApplicationId)')) + + + + + + + + $(MSBuildThisFileDirectory)templates/Windows/Package.appxmanifest + $(IntermediateOutputPath)Platforms/Windows/Package.appxmanifest + + @@ -32,70 +226,32 @@ - - - - - + + - - - - - + + - - - - - + + - - - - - - - - - - - + + From da8eb707bd98aa3df3d6238f0804c0e7c72b4398 Mon Sep 17 00:00:00 2001 From: Matthew Leibowitz Date: Thu, 26 Jun 2025 11:53:18 +0200 Subject: [PATCH 17/27] Delete preprocessed.xml --- preprocessed.xml | 26687 --------------------------------------------- 1 file changed, 26687 deletions(-) delete mode 100644 preprocessed.xml diff --git a/preprocessed.xml b/preprocessed.xml deleted file mode 100644 index 80f9f3ad..00000000 --- a/preprocessed.xml +++ /dev/null @@ -1,26687 +0,0 @@ - - - - - - <_AfterSdkPublishDependsOn Condition="'$(UsingMicrosoftNETSdkWeb)' == 'true'">AfterPublish - <_AfterSdkPublishDependsOn Condition="'$(UsingMicrosoftNETSdkWeb)' != 'true'">Publish - - - - - true - - true - $(CustomAfterDirectoryBuildProps);$(MSBuildThisFileDirectory)UseArtifactsOutputPath.props - - - $(ProjectExtensionsPathForSpecifiedProject) - - - - - - true - true - true - true - true - - - - <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props - <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) - - - - - - enable - enable - - true - - true - $(MSBuildThisFileDirectory)artifacts - - - - false - - - - - - - - - - <_DefaultArtifactsPathPropsImported>true - - - - true - true - <_ArtifactsPathLocationType>ExplicitlySpecified - - - - - $(_DirectoryBuildPropsBasePath)\artifacts - true - <_ArtifactsPathLocationType>DirectoryBuildPropsFolder - - - - $(MSBuildProjectDirectory)\artifacts - <_ArtifactsPathLocationType>ProjectFolder - - - - true - $(MSBuildProjectName) - - - $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ - $(ArtifactsPath)\obj\ - - - - <_ArtifactsPathSetEarly>true - - - - - - obj\ - $(BaseIntermediateOutputPath)\ - <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) - $(BaseIntermediateOutputPath) - - $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) - $(MSBuildProjectExtensionsPath)\ - - false - true - <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) - - - - True - NuGet - $(MSBuildThisFileDirectory)project.assets.json - /home/runner/.nuget/packages/ - /home/runner/.nuget/packages/ - PackageReference - 6.14.0 - - - - - - - - - - $(MSBuildThisFileDirectory)Microsoft.NET.ILLink.targets - - true - $(MSBuildThisFileDirectory)..\tools\net9.0\ILLink.Tasks.dll - $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll - $(MSBuildThisFileDirectory)Microsoft.NET.ILLink.Analyzers.props - - - - - - - - - - - - - - - - - - <_MauiSkipSdkAutoImport>true - - - - - - Designer - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MSBuild:Compile - $(DefaultXamlRuntime) - - - MSBuild:Compile - $(DefaultXamlRuntime) - - - MSBuild:Compile - $(DefaultXamlRuntime) - - - - - - - - - - - - /home/runner/.nuget/packages/xunit.analyzers/1.16.0 - /home/runner/.nuget/packages/microsoft.net.illink.tasks/9.0.6 - - - - - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) - - - - - true - - - $(DefaultProjectConfiguration) - $(DefaultProjectPlatform) - - - WJProject - JavaScript - - - - - - - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props - $(MSBuildToolsPath)\NuGet.props - - - - - - true - - - - <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props - <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) - $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - - - true - true - true - true - true - true - true - true - true - true - true - true - true - - - - - - - true - - - - Debug;Release - AnyCPU - Debug - AnyCPU - - - - - true - - - - Library - 512 - prompt - $(MSBuildProjectName) - $(MSBuildProjectName.Replace(" ", "_")) - true - - - - true - false - - - true - - - - - <_PlatformWithoutConfigurationInference>$(Platform) - - - x64 - - - x86 - - - ARM - - - arm64 - - - - - {CandidateAssemblyFiles} - $(AssemblySearchPaths);{HintPathFromItem} - $(AssemblySearchPaths);{TargetFrameworkDirectory} - $(AssemblySearchPaths);{RawFileName} - - - None - portable - - false - - true - true - - PackageReference - $(AssemblySearchPaths) - false - false - false - false - false - false - false - false - false - false - true - 1.0.3 - false - true - true - - - - - - $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj - - - - - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props - - - - - $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)../../')) - $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs - <_NetFrameworkHostedCompilersVersion>4.14.0-3.25262.10 - 9.0 - 9.0 - 9.0.6 - 2.1 - 2.1.0 - 9.0.6-servicing.25266.13 - $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json - 9.0.301 - 9.0.300 - linux-x64 - linux-x64 - <_NETCoreSdkIsPreview>false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> - <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> - - - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledMSBuildInformation.props - - - - - 17.12.0 - 17.14.5 - <_MSBuildVersionMajorMinor>$([System.Version]::Parse('$(MSBuildVersion)').ToString(2)) - <_IsDisjointMSBuildVersion>$([MSBuild]::VersionLessThan('$(_MSBuildVersionMajorMinor)', '17.14')) - - - - - false - - - <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildToolsPath32)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 10.0 - 17.16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - <_SourceLinkPropsImported>true - - - - - - $(MSBuildThisFileDirectory)..\tools\netframework\Microsoft.Build.Tasks.Git.dll - $(MSBuildThisFileDirectory)..\tools\net\Microsoft.Build.Tasks.Git.dll - - - - - - <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\netframework\Microsoft.SourceLink.Common.dll - <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\net\Microsoft.SourceLink.Common.dll - - - - true - - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1701;1702 - - $(WarningsAsErrors);NU1605 - - - $(DefineConstants); - $(DefineConstants)TRACE - - - - - - - - - - - - - - - - - - $(TargetsForTfmSpecificContentInPackage);PackTool - - - - - - $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation - - - - - - MSBuild:Compile - $(DefaultXamlRuntime) - Designer - - - MSBuild:Compile - $(DefaultXamlRuntime) - Designer - - - - - - - - - - - - - - - - - - <_WpfCommonNetFxReference Include="WindowsBase" /> - <_WpfCommonNetFxReference Include="PresentationCore" /> - <_WpfCommonNetFxReference Include="PresentationFramework" /> - <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> - 4.0 - - <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> - - - <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> - <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> - <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> - - - - - - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> - - <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> - - <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - <_TargetFrameworkVersionValue>0.0 - <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 - - - - - - - - net9.0-android - $(TargetFrameworks);net9.0-ios;net9.0-maccatalyst - $(TargetFrameworks);net9.0-windows10.0.19041.0 - Exe - DeviceTestingKitApp.DeviceTests - true - true - $(DefineConstants);INCLUDE_FAILING_TESTS - $(DefineConstants);MODE_NON_INTERACTIVE_VISUAL - $(DefineConstants);MODE_XHARNESS - - DeviceTestingKitApp.DeviceTests - - com.companyname.devicetestingkitapp.devicetests - - 1.0 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - - - - - - - - - - - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - - - $(_IsExecutable) - <_UsingDefaultForHasRuntimeOutput>true - - - - - 1.0.0 - $(VersionPrefix)-$(VersionSuffix) - $(VersionPrefix) - - - $(AssemblyName) - $(Authors) - $(AssemblyName) - $(AssemblyName) - - - - - Debug - AnyCPU - $(Platform) - - - - - - - true - <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) - <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties - <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ - $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) - $(_PublishProfileRootFolder)$(PublishProfileName).pubxml - $(PublishProfileFullPath) - - false - - - - - - - - - - - - - $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) - v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) - - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - - - - $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) - - - Windows - - - - <_UnsupportedTargetFrameworkError>true - - - - - - - - - - true - true - - - - - - - - - - - - - - - - - - - - v0.0 - - - _ - - - - - true - - - - - - - - - true - - - - - - - - - - <_EnableDefaultWindowsPlatform>false - false - - - 2.1 - - - - - - - - - - - - - - <_ApplicableTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and '%(SdkSupportedTargetPlatformVersion.DefineConstantsOnly)' != 'true'" RemoveMetadata="DefineConstantsOnly" /> - <_ValidTargetPlatformVersion Include="@(_ApplicableTargetPlatformVersion)" Condition="'@(_ApplicableTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> - - - @(_ValidTargetPlatformVersion->Distinct()) - - - - - true - <_ValidTargetPlatformVersions Condition="'@(_ApplicableTargetPlatformVersion)' != ''">@(_ApplicableTargetPlatformVersion, '%0a') - <_ValidTargetPlatformVersions Condition="'@(_ApplicableTargetPlatformVersion)' == ''">None - - - - - - - true - true - - - - - - - - - true - false - true - <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ - - - - - - $(MSBuildProjectName) - bin - publish - package - - - $(Configuration.ToLowerInvariant()) - - $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) - - $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) - - - - $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ - $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ - $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ - - - - $(ArtifactsPath)\$(ArtifactsBinOutputName)\ - $(ArtifactsPath)\obj\ - $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ - - - $(BaseOutputPath)$(ArtifactsPivots)\ - $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ - - $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ - - - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ - $(OutputPath)\ - - - - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(OutputPath) - - - - $(DefaultItemExcludes);$(OutputPath)/** - $(DefaultItemExcludes);$(IntermediateOutputPath)/** - - - $(DefaultItemExcludes);$(ArtifactsPath)/** - - $(DefaultItemExcludes);bin/**;obj/** - - - - $(OutputPath)$(TargetFramework.ToLowerInvariant())\ - - - $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ - - - - - - - - - - - true - - false - - - - - - - - - - - - - - true - - Android - <_XamarinAndroidBuildTasksAssembly>..\tools\Xamarin.Android.Build.Tasks.dll - true - - true - <_AndroidResourceDesigner>Resource.designer.cs - $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)Microsoft.Android.Sdk.After.targets - - - - - - - - - true - 35.0 - 21 - - - - - - - - - - - - - - - - - - - - - - - - - 35.0.78 - 35.0.78 - <_AndroidLatestStableApiLevel>35 - <_AndroidLatestUnstableApiLevel>36 - - - <_AndroidTargetingPackId Condition="$(TargetPlatformVersion.EndsWith('.0'))">$(TargetPlatformVersion.Substring(0, $(TargetPlatformVersion.LastIndexOf('.0')))) - <_AndroidTargetingPackId Condition="'$(_AndroidTargetingPackId)' == ''">$(TargetPlatformVersion) - <_AndroidErrorOnTargetPlatformVersion Condition=" '$(_AndroidTargetingPackId)' != '$(_AndroidLatestStableApiLevel)' and '$(_AndroidTargetingPackId)' != '$(_AndroidLatestUnstableApiLevel)' ">$(_AndroidTargetingPackId) - <_AndroidTargetingPackId Condition=" '$(_AndroidTargetingPackId)' != '$(_AndroidLatestStableApiLevel)' and '$(_AndroidTargetingPackId)' != '$(_AndroidLatestUnstableApiLevel)' ">$(_AndroidLatestStableApiLevel) - <_AndroidRuntimePackId Condition=" '$(_AndroidRuntimePackId)' == '' ">$(_AndroidTargetingPackId) - <_AndroidRuntimePackId Condition=" '$(_AndroidRuntimePackId)' != '$(_AndroidLatestStableApiLevel)' and '$(_AndroidRuntimePackId)' != '$(_AndroidLatestUnstableApiLevel)' ">$(_AndroidLatestStableApiLevel) - - - - - - - - - System - Resources - Assets - Resource - true - Xamarin.Android.Net.AndroidMessageHandler - true - true - false - $(AndroidGenerateResourceDesigner) - true - false - false - false - - false - - <_GetChildProjectCopyToPublishDirectoryItems>false - true - - $(AndroidMinimumSupportedApiLevel) - - $(SupportedOSPlatformVersion).0 - - - class-parse - - XAJavaInterop1 - true - true - true - <_AndroidEmitLegacyInterfaceInvokers Condition=" '$(_AndroidEmitLegacyInterfaceInvokers)' == '' ">false - true - obsolete - - $(EnableDiagnostics) - false - - 16 - - - - None - true - - - true - true - aab;apk - - - - true - false - - Library - - - false - false - false - true - true - SdkOnly - None - - full - partial - false - true - - android-arm64;android-x64 - - true - - true - true - false - <_AndroidXA1029 Condition=" '$(AotAssemblies)' != '' ">true - <_AndroidXA1030 Condition=" '$(RunAOTCompilation)' == 'true' and '$(PublishTrimmed)' == 'false' ">true - $(RunAOTCompilation) - true - - false - false - false - false - true - false - false - false - false - true - false - true - - <_DefaultValueAttributeSupport Condition="'$(_DefaultValueAttributeSupport)' == '' and '$(TrimMode)' == 'partial'">true - false - $(AvoidEmitForPerformance) - true - - false - true - true - true - - false - false - - True - - - - 1 - $(ApplicationDisplayVersion) - $(Version) - - - Properties\AndroidManifest.xml - AndroidManifest.xml - - - - - - False - arm64-v8a;armeabi-v7a;x86 - - arm64-v8a;armeabi-v7a;x86;x86_64 - 9999 - 9999 - $(ProjectDir)\gdb-symbols - True - $(XamarinAndroidVersion) - <_AndroidAllowDeltaInstall Condition=" '$(_AndroidAllowDeltaInstall)' == '' ">false - --user $(AndroidDeviceUserId) - - - <_AfterCompileDex> - $(_AfterCompileDex); - _CompileFastDevDex - - <_BeforeBuildAdditionalResourcesCache> - $(_BeforeBuildAdditionalResourcesCache); - _SetupDesignTimeBuildForIntellisense - - <_CompileJavaDependsOnTargets> - $(_CompileJavaDependsOnTargets); - - <_BeforeDefineBuildTargetAbis> - $(_BeforeDefineBuildTargetAbis); - - <_ResolveMonoAndroidSdksDependsOn> - $(_ResolveMonoAndroidSdksDependsOn); - _GetPrimaryCpuAbi - - <_AfterResolveMonoAndroidSdks> - $(_AfterResolveMonoAndroidSdks); - _ResolveMonoAndroidSdks - - <_BeforeCompileToDalvikWithDx> - $(_BeforeCompileToDalvikWithDx); - - <_BeforeAddStaticResources> - $(_BeforeAddStaticResources); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 9.0.51 - net9.0 - 9.0 - $(MauiWorkloadVersion) - - false - - true - - - - - - - - <_MauiImplicitPackageReference Include="Microsoft.Maui.Resizetizer" Version="$(MauiVersion)" PrivateAssets="all" Condition=" '$(UseMauiAssets)' == 'true' " /> - <_MauiImplicitPackageReference Include="Microsoft.Maui.Essentials" Version="$(MauiVersion)" Condition=" '$(UseMauiEssentials)' == 'true' "> - all - - <_MauiImplicitPackageReference Include="Microsoft.Maui.Core" Version="$(MauiVersion)" Condition=" '$(UseMauiCore)' == 'true' "> - all - - <_MauiImplicitPackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" Condition=" '$(UseMaui)' == 'true' "> - all - - <_MauiImplicitPackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" IsMauiImplicitOptionalPackageReference="true" Condition=" '$(UseMaui)' == 'true' and '$(UseMauiCompat)' == 'true' "> - all - - <_MauiImplicitPackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="$(MauiVersion)" Condition=" '$(UseMaui)' == 'true' and '$(UsingMicrosoftNETSdkRazor)' == 'true' "> - all - - - - - <_MauiImplicitPackageReference Remove="@(PackageReference)" /> - - <_MauiImplicitRequiredPackageReference Include="@(_MauiImplicitPackageReference->WithMetadataValue('IsMauiImplicitOptionalPackageReference',''))" /> - - - - <_MauiValidateRefsPrefix>Starting with .NET 8, setting - - <_MauiValidateRefsInfix> does not automatically include NuGet package references in your project. Update your project by including this item: <PackageReference Include=" - - <_MauiValidateRefsSuffix>" Version="$(MauiVersion)" />. You can skip this warning by setting <SkipValidateMauiImplicitPackageReferences>true</SkipValidateMauiImplicitPackageReferences> in your project file. - - - - - - - - - - - true - - - - - WinExe - - true - - true - - - - <_SingleProjectRIDRequired Condition="'$(OutputType)' == 'WinExe'">true - <_SingleProjectRIDSpecified Condition="'$(RuntimeIdentifier)' != '' or '$(RuntimeIdentifiers)' != ''">true - - - <_SingleProjectHostArchitecture>$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture) - <_SingleProjectHostArchitecture>$(_SingleProjectHostArchitecture.ToLower()) - win10-$(_SingleProjectHostArchitecture) - win-$(_SingleProjectHostArchitecture) - <_MauiUsingDefaultRuntimeIdentifier>true - - - - - - $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)Microsoft.Maui.Sdk.After.targets - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_RuntimePackInWorkloadVersionCurrent>9.0.6 - <_RuntimePackInWorkloadVersion8>8.0.17 - <_RuntimePackInWorkloadVersion7>7.0.20 - <_RuntimePackInWorkloadVersion6>6.0.36 - true - - false - true - - - true - true - true - - $(WasmNativeWorkload8) - - - - <_BrowserWorkloadNotSupportedForTFM Condition="$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '6.0'))">true - <_BrowserWorkloadDisabled>$(_BrowserWorkloadNotSupportedForTFM) - <_UsingBlazorOrWasmSdk Condition="'$(UsingMicrosoftNETSdkBlazorWebAssembly)' == 'true' or '$(UsingMicrosoftNETSdkWebAssembly)' == 'true'">true - - - true - $(WasmNativeWorkload9) - $(WasmNativeWorkload8) - $(WasmNativeWorkload7) - $(WasmNativeWorkload) - false - $(WasmNativeWorkloadAvailable) - - - - - - <_WasmPropertiesDifferFromRuntimePackThusNativeBuildNeeded Condition=" '$(WasmEnableSIMD)' == 'false' or '$(WasmEnableExceptionHandling)' == 'false' or '$(InvariantTimezone)' == 'true' or ('$(_UsingBlazorOrWasmSdk)' != 'true' and '$(InvariantGlobalization)' == 'true') or '$(WasmNativeStrip)' == 'false'">true - - - <_WasmNativeWorkloadNeeded Condition=" '$(_WasmPropertiesDifferFromRuntimePackThusNativeBuildNeeded)' == 'true' or '$(RunAOTCompilation)' == 'true' or '$(WasmBuildNative)' == 'true' or '$(WasmGenerateAppBundle)' == 'true' or '$(_UsingBlazorOrWasmSdk)' != 'true' or '$(EmccMaximumHeapSize)' != '' ">true - false - true - $(WasmNativeWorkloadAvailable) - - - - <_IsAndroidLibraryMode Condition="'$(RuntimeIdentifier)' == 'android-arm64' or '$(RuntimeIdentifier)' == 'android-arm' or '$(RuntimeIdentifier)' == 'android-x64' or '$(RuntimeIdentifier)' == 'android-x86'">true - <_IsAppleMobileLibraryMode Condition="'$(RuntimeIdentifier)' == 'ios-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-x64' or '$(RuntimeIdentifier)' == 'maccatalyst-arm64' or '$(RuntimeIdentifier)' == 'maccatalyst-x64' or '$(RuntimeIdentifier)' == 'tvos-arm64'">true - <_IsiOSLibraryMode Condition="'$(RuntimeIdentifier)' == 'ios-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-x64'">true - <_IsMacCatalystLibraryMode Condition="'$(RuntimeIdentifier)' == 'maccatalyst-arm64' or '$(RuntimeIdentifier)' == 'maccatalyst-x64'">true - <_IstvOSLibraryMode Condition="'$(RuntimeIdentifier)' == 'tvos-arm64'">true - - - true - - - false - true - - - - - - - - $(MSBuildThisFileDirectory)..\tasks\net9.0\MonoTargetsTasks.dll - $(MSBuildThisFileDirectory)..\tasks\net472\MonoTargetsTasks.dll - - - - - - - - - - - - <_MonoRuntimeComponentSharedLibExt ParameterType="Microsoft.Build.Framework.ITaskItem[]" Required="false" Output="true" /> - <_MonoRuntimeComponentStaticLibExt ParameterType="Microsoft.Build.Framework.ITaskItem[]" Required="false" Output="true" /> - <_MonoRuntimeComponentLinking ParameterType="Microsoft.Build.Framework.ITaskItem[]" Required="false" Output="true" /> - <_MonoRuntimeAvailableComponents ParameterType="Microsoft.Build.Framework.ITaskItem[]" Required="false" Output="true" /> - - - - - - - - - - <_MonoRuntimeComponentManifestJsonFilePath Condition="'$(_MonoRuntimeComponentManifestJsonFilePath)' == '' and '%(ResolvedFrameworkReference.Identity)' == 'Microsoft.NETCore.App'">$([MSBuild]::NormalizePath('%(RuntimePackPath)', 'runtimes', '$(RuntimeIdentifier)', 'build', 'RuntimeComponentManifest.json')) - - - - - - - - - - - - - - - <_MonoRuntimeComponentCurrentSharedLibExt>@(_MonoRuntimeComponentSharedLibExt->WithMetadataValue('RuntimeIdentifier', '$(RuntimeIdentifier)')) - <_MonoRuntimeComponentCurrentStaticLibExt>@(_MonoRuntimeComponentStaticLibExt->WithMetadataValue('RuntimeIdentifier', '$(RuntimeIdentifier)')) - <_MonoRuntimeComponentCurrentLinking>@(_MonoRuntimeComponentLinking->WithMetadataValue('RuntimeIdentifier', '$(RuntimeIdentifier)')) - - - - - <_MonoRuntimeComponentName Include="@(_MonoRuntimeAvailableComponents)" Condition="'%(RuntimeIdentifier)' == '$(RuntimeIdentifier)'"> - libmono-component-%(Identity)$(_MonoRuntimeComponentCurrentSharedLibExt) - - - - <_MonoRuntimeComponentName Include="@(_MonoRuntimeAvailableComponents)" Condition="'%(RuntimeIdentifier)' == '$(RuntimeIdentifier)'"> - libmono-component-%(Identity)-static$(_MonoRuntimeComponentCurrentStaticLibExt) - libmono-component-%(Identity)-stub-static$(_MonoRuntimeComponentCurrentStaticLibExt) - - - - - - - - - - - - - - - - - - - <_MonoRuntimeComponentNameForRid Include="@(_MonoRuntimeComponentName)" Condition="'%(RuntimeIdentifier)' == '$(RuntimeIdentifier)'" /> - <_MonoRuntimeSelectedComponents Include="@(_MonoRuntimeComponentNameForRid)" Condition="'@(_MonoRuntimeComponentNameForRid)' == '@(_MonoComponent)' and '%(Identity)' != ''" /> - <_MonoRuntimeUnSelectedComponents Include="@(_MonoRuntimeComponentNameForRid)" Exclude="@(_MonoComponent)" /> - <_MonoRuntimeComponentLink Include="%(_MonoRuntimeSelectedComponents.ComponentLib)"> - $(_MonoRuntimeComponentCurrentLinking) - false - %(_MonoRuntimeSelectedComponents.Identity) - - <_MonoRuntimeComponentDontLink Include="%(_MonoRuntimeUnSelectedComponents.ComponentLib)"> - $(_MonoRuntimeComponentCurrentLinking) - false - %(_MonoRuntimeUnSelectedComponents.Identity) - - - <_MonoRuntimeSelectedMissingComponents Include="@(_MonoComponent)" Exclude="@(_MonoRuntimeComponentNameForRid)" /> - - - - <_MonoRuntimeSelectedStubComponents Include="@(_MonoRuntimeComponentNameForRid)" Exclude="@(_MonoComponent)" /> - <_MonoRuntimeUnSelectedStubComponents Include="@(_MonoRuntimeComponentNameForRid)" Condition="'@(_MonoRuntimeComponentNameForRid)' == '@(_MonoComponent)' and '%(Identity)' != ''" /> - <_MonoRuntimeComponentLink Include="%(_MonoRuntimeSelectedStubComponents.ComponentStubLib)"> - $(_MonoRuntimeComponentCurrentLinking) - true - %(_MonoRuntimeSelectedStubComponents.Identity) - - <_MonoRuntimeComponentDontLink Include="%(_MonoRuntimeUnSelectedStubComponents.ComponentStubLib)"> - $(_MonoRuntimeComponentCurrentLinking) - true - %(_MonoRuntimeUnSelectedStubComponents.Identity) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_MonoWorkloadTargetsMobile>true - <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersionCurrent) - <_KnownWebAssemblySdkPackVersion>$(_RuntimePackInWorkloadVersionCurrent) - - - - true - 1.0 - - - - - - - true - 1.0 - - - - - - - - %(RuntimePackRuntimeIdentifiers);wasi-wasm - $(_MonoWorkloadRuntimePackPackageVersion) - - Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** - - - $(_MonoWorkloadRuntimePackPackageVersion) - - - $(_KnownWebAssemblySdkPackVersion) - $(_KnownWebAssemblySdkPackVersion) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_WorkloadUsesBlazorWasm>$(UsingMicrosoftNETSdkBlazorWebAssembly) - <_WorkloadUsesWasmSDK>$(UsingMicrosoftNETSdkWebAssembly) - <_WorkloadUsesMonoAOT>$(RunAOTCompilation) - - <_WorkloadUsesMonoAOT Condition="'$(_WorkloadUsesMonoAOT)' == '' and '$(PublishAot)' != 'true' and ('$(TargetPlatformIdentifier)' == 'maccatalyst' or '$(TargetPlatformIdentifier)' == 'ios' or '$(TargetPlatformIdentifier)' == 'tvos')">$(_RunAotCompiler) - <_WorkloadUsesNativeAOT>$(PublishAot) - <_WorkloadUsesInterpreter>$(MonoForceInterpreter) - <_WorkloadUsesInterpreter Condition="'$(_WorkloadUsesInterpreter)' == '' and '$(UseInterpreter)' == 'true'">true - <_WorkloadUsesInterpreter Condition="'$(_WorkloadUsesInterpreter)' == '' and '$(RunAOTCompilation)' != 'true' and ('$(_WorkloadUsesBlazorWasm)' == 'true' or '$(_WorkloadUsesWasmSDK)' == 'true')">true - <_WorkloadUsesLibraryMode Condition="'$(NativeLib)' != '' and ('$(_WorkloadUsesMonoAOT)' == 'true' or '$(_WorkloadUsesNativeAOT)' == 'true')">true - <_WorkloadUsesStripILAfterAOT Condition="'$(WasmStripILAfterAOT)' == 'true' or '$(AndroidStripILAfterAOT)' == 'true'">true - - - <_WorkloadUsesOther Condition="'$([System.IO.Path]::GetFileName("%(ReferencePath.Identity)").ToLowerInvariant())' == 'avalonia.dll'">true - <_WorkloadUsesOther Condition="'$([System.IO.Path]::GetFileName("%(ReferencePath.Identity)").ToLowerInvariant())' == 'uno.dll'">true - <_WorkloadUsesMobileSDKOnly Condition="'$(RuntimeIdentifier)' != 'browser-wasm' and '$(UseMaui)' != 'true' and '$(_WorkloadUsesOther)' != 'true'">true - - - - - - - true - - - <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true - WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ - - - true - $(WasmNativeWorkload) - - - 8.0 - 9.0 - - - false - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_MonoWorkloadTargetsMobile>true - <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion6) - - - - $(_MonoWorkloadRuntimePackPackageVersion) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_MonoWorkloadTargetsMobile>true - <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion7) - - - - $(_MonoWorkloadRuntimePackPackageVersion) - - Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** - Microsoft.NETCore.App.Runtime.Mono.perftrace.**RID** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_MonoWorkloadTargetsMobile>true - <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion8) - - - - - %(RuntimePackRuntimeIdentifiers);wasi-wasm - $(_MonoWorkloadRuntimePackPackageVersion) - - Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** - - - - - - - - - - - - - - - - - - - - - - - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> - - - - - - - - - <_UsingDefaultRuntimeIdentifier>true - win7-x64 - win7-x86 - win-x64 - win-x86 - - - - true - - - - $(PublishSelfContained) - - - - true - - - $(NETCoreSdkPortableRuntimeIdentifier) - - - $(PublishRuntimeIdentifier) - - - <_UsingDefaultPlatformTarget>true - - - - - - - x86 - - - - - x64 - - - - - arm - - - - - arm64 - - - - - AnyCPU - - - - - - - <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true - - - - true - false - <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false - <_RuntimeIdentifierUsesAppHost Condition="'$(_IsPublishing)' == 'true' and '$(PublishAot)' == 'true'">false - <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true - true - false - - - - $(NETCoreSdkRuntimeIdentifier) - win-x64 - win-x86 - win-arm - win-arm64 - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - - - - - - - - - - - - - - - - - - - - - - - - - - false - - - - - - false - - - - - - - - - - - - - - - - - true - - - - $(IntermediateOutputPath)$(RuntimeIdentifier)\ - $(OutputPath)$(RuntimeIdentifier)\ - - - - - - - - - - - - - - - true - true - - - - <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0;7.0" /> - - - <_MinimumNonEolSupportedNetCoreTargetFramework>net6.0 - - - - - - - - - - - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true - - - - true - true - true - - - true - - - - true - - true - - .dll - - false - - - - $(PreserveCompilationContext) - - - - publish - - $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ - $(OutputPath)$(PublishDirName)\ - - - - - - <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder - <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true - <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs - - - $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) - - - $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) - - - - <_SDKImplicitReference Include="System" /> - <_SDKImplicitReference Include="System.Data" /> - <_SDKImplicitReference Include="System.Drawing" /> - <_SDKImplicitReference Include="System.Xml" /> - - - <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - - <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> - - <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> - <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> - - <_SDKImplicitReference Remove="@(Reference)" /> - - - - - - false - - - $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 - - - - <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET - $(_FrameworkIdentifierForImplicitDefine) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET - <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) - <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) - <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) - $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) - $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - - - - - <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) - <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) - - - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> - - - - - - <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - - - - - - <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> - <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> - - - - - - <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> - <_DefineConstantsWithoutTrace Remove="TRACE" /> - - - @(_DefineConstantsWithoutTrace) - - - - - - $(DefineConstants);@(_ImplicitDefineConstant) - $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') - - - - - false - true - - - $(AssemblyName).xml - $(IntermediateOutputPath)$(AssemblyName).xml - - - - - - true - true - true - - - - - - - true - - - - $(MSBuildToolsPath)\Microsoft.CSharp.targets - $(MSBuildToolsPath)\Microsoft.VisualBasic.targets - $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets - - $(MSBuildToolsPath)\Microsoft.Common.targets - - - - - - - - $(MSBuildToolsPath)\Microsoft.CSharp.CrossTargeting.targets - - - - - $(MSBuildToolsPath)\Microsoft.CSharp.CurrentVersion.targets - - - - - - - - true - - - - - - true - true - true - true - - - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.CSharp.targets - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.CSharp.targets - - - - .cs - C# - Managed - true - true - true - true - true - {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - Properties - - - - - File - - - BrowseObject - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - true - - - - - - <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> - - <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> - - - $(CoreCompileDependsOn);_ComputeNonExistentFileProperty;ResolveCodeAnalysisRuleSet - true - - - - - - $(NoWarn);1701;1702 - - - - $(NoWarn);2008 - - - - - - - - - $(AppConfig) - - $(IntermediateOutputPath)$(TargetName).compile.pdb - - - - false - - - - - - - true - - - - - - - - - - $(RoslynTargetsPath)\Microsoft.CSharp.Core.targets - - - - - - - - - - roslyn4.14 - - - - - - - - - - - - - - - - - false - - - - - - - - true - - - - - - - - <_SkipAnalyzers /> - <_ImplicitlySkipAnalyzers /> - - - - <_SkipAnalyzers>true - - - - <_ImplicitlySkipAnalyzers>true - <_SkipAnalyzers>true - run-nullable-analysis=never;$(Features) - - - - - - <_LastBuildWithSkipAnalyzers>$(IntermediateOutputPath)$(MSBuildProjectFile).BuildWithSkipAnalyzers - - - - - - - - - - - - - - <_AllDirectoriesAbove Include="@(Compile->GetPathsOfAllDirectoriesAbove())" Condition="'$(DiscoverEditorConfigFiles)' != 'false' or '$(DiscoverGlobalAnalyzerConfigFiles)' != 'false'" /> - - - - - - - - - - - - $(IntermediateOutputPath)$(MSBuildProjectName).GeneratedMSBuildEditorConfig.editorconfig - true - <_GeneratedEditorConfigHasItems Condition="'@(CompilerVisibleItemMetadata->Count())' != '0'">true - <_GeneratedEditorConfigShouldRun Condition="'$(GenerateMSBuildEditorConfigFile)' == 'true' and ('$(_GeneratedEditorConfigHasItems)' == 'true' or '@(CompilerVisibleProperty->Count())' != '0')">true - - - - - - <_GeneratedEditorConfigProperty Include="@(CompilerVisibleProperty)"> - $(%(CompilerVisibleProperty.Identity)) - - - <_GeneratedEditorConfigMetadata Include="@(%(CompilerVisibleItemMetadata.Identity))" Condition="'$(_GeneratedEditorConfigHasItems)' == 'true'"> - %(Identity) - %(CompilerVisibleItemMetadata.MetadataName) - - - - - - - - - - - true - - - - - <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> - - - - - - - - - - - - true - - - - - - - <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> - $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) - $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) - - - - - @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) - - - - - - - - - - - false - - $(IntermediateOutputPath)/generated - - - - - - - - - - - - - <_MaxSupportedLangVersion Condition="('$(TargetFrameworkIdentifier)' != '.NETCoreApp' OR '$(_TargetFrameworkVersionWithoutV)' < '3.0') AND ('$(TargetFrameworkIdentifier)' != '.NETStandard' OR '$(_TargetFrameworkVersionWithoutV)' < '2.1')">7.3 - - <_MaxSupportedLangVersion Condition="(('$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' < '5.0') OR ('$(TargetFrameworkIdentifier)' == '.NETStandard' AND '$(_TargetFrameworkVersionWithoutV)' == '2.1')) AND '$(_MaxSupportedLangVersion)' == ''">8.0 - - <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_MaxSupportedLangVersion)' == ''">$([MSBuild]::Add(9, $([MSBuild]::Subtract($(_TargetFrameworkVersionWithoutV.Split('.')[0]), 5)))).0 - - <_MaxAvailableLangVersion>13.0 - <_MaxSupportedLangVersion Condition="'$(_MaxSupportedLangVersion)' != '' AND '$(_MaxSupportedLangVersion)' > '$(_MaxAvailableLangVersion)'">$(_MaxAvailableLangVersion) - $(_MaxSupportedLangVersion) - $(_MaxSupportedLangVersion) - - - - - $(NoWarn);1701;1702 - - - - $(NoWarn);2008 - - - - $(AppConfig) - - $(IntermediateOutputPath)$(TargetName).compile.pdb - - - - - - - <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> - - - - - - -langversion:$(LangVersion) - $(CommandLineArgsForDesignTimeEvaluation) -checksumalgorithm:$(ChecksumAlgorithm) - $(CommandLineArgsForDesignTimeEvaluation) -define:$(DefineConstants) - - - - - - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.CSharp.DesignTime.targets - - - - - - $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets - - - - - - true - true - true - true - - - - - - - 10.0 - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets - - - - - Managed - - - - .NETFramework - v4.0 - - - - Any CPU,x86,x64,Itanium - Any CPU,x86,x64 - - - - - - - - $(SDK40ToolsPath) - - - - true - - - false - - - - - true - - true - - - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) - - $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) - - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) - $(MSBuildFrameworkToolsPath) - - - Windows - 7.0 - $(TargetPlatformSdkRootOverride)\ - $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - $(TargetPlatformSdkPath)Windows Metadata - $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral - $(TargetPlatformSdkMetadataLocation) - true - $(WinDir)\System32\WinMetadata - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - - - - - <_OriginalPlatform>$(Platform) - - <_OriginalConfiguration>$(Configuration) - - <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true - - true - - - AnyCPU - $(Platform) - Debug - $(Configuration) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(TargetType) - library - exe - true - - <_DebugSymbolsProduced>false - <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false - <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false - <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false - - <_DocumentationFileProduced>true - <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false - - false - - - - - <_InvalidConfigurationMessageSeverity Condition=" '$(SkipInvalidConfigurations)' == 'true' ">Warning - <_InvalidConfigurationMessageSeverity Condition=" '$(SkipInvalidConfigurations)' != 'true' ">Error - - - - .exe - .exe - .exe - .dll - .netmodule - .winmdobj - - - - true - $(OutputPath) - - - $(OutDir)\ - $(MSBuildProjectName) - - - $(OutDir)$(ProjectName)\ - $(MSBuildProjectName) - $(RootNamespace) - $(AssemblyName) - - $(MSBuildProjectFile) - - $(MSBuildProjectExtension) - - $(TargetName).winmd - $(WinMDExpOutputWindowsMetadataFilename) - $(TargetName)$(TargetExt) - - - - - <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true - $(_DeploymentPublishableProjectDefault) - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest - - $(AssemblyName).application - - $(AssemblyName).xbap - - $(GenerateManifests) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days - <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) - <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - 100 - - - - * - $(UICulture) - - - - <_OutputPathItem Include="$(OutDir)" /> - <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> - <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> - - - - - $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) - - $(TargetDir)$(TargetFileName) - $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) - - $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) - - $(ProjectDir)$(ProjectFileName) - - - - - - - - *Undefined* - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - - - true - - true - - - true - false - - - $(MSBuildProjectFile).FileListAbsolute.txt - - false - - true - true - <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false - <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true - false - false - - - <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config - - - $(MSBuildProjectFile) - - $([MSBuild]::SubstringByAsciiChars($(MSBuildProjectFile), 0, 8)).$([MSBuild]::StableStringHash($(MSBuildProjectFile)).ToString("X8")) - $(MSBuildCopyMarkerName).Up2Date - - - - - - - - - - - - - - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> - - - $(IntermediateOutputPath)$(TargetName).pdb - <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) - - - $(IntermediateOutputPath)$(TargetName).xml - <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) - - - <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) - <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) - - - - <_SupportedArchitectures>amd64 arm64 - - - - <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> - $(TargetFileName) - - - - <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> - $(ApplicationIcon) - - - - $(_DeploymentTargetApplicationManifestFileName) - - - <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> - $(_DeploymentTargetApplicationManifestFileName) - - - - $(TargetDeployManifestFileName) - - - <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> - - - - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) - <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> - <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) - - <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> - <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> - - - - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) - <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) - - - - $(PublishDir)\ - $([MSBuild]::EnsureTrailingSlash('$(OutputPath)'))app.publish\ - - - - $(PublishDir) - $(ClickOncePublishDir)\ - - - - - $(PlatformTarget) - - msil - amd64 - ia64 - x86 - arm - - - true - - - - $(Platform) - msil - amd64 - ia64 - x86 - arm - - None - $(PROCESSOR_ARCHITECTURE) - - - - CLR2 - CLR4 - CurrentRuntime - true - false - $(PlatformTarget) - x86 - x64 - CurrentArchitecture - - - - Client - - - - false - - - - - true - true - false - - - - AssemblyFoldersEx - Software\Microsoft\$(TargetFrameworkIdentifier) - Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) - $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config - {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; - - - .winmd; - .dll; - .exe - - - - .pdb; - .xml; - .pri; - .dll.config; - .exe.config - - - Full - - - - {CandidateAssemblyFiles} - $(AssemblySearchPaths);$(ReferencePath) - $(AssemblySearchPaths);{HintPathFromItem} - $(AssemblySearchPaths);{TargetFrameworkDirectory} - $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) - $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} - $(AssemblySearchPaths);{AssemblyFolders} - $(AssemblySearchPaths);{GAC} - $(AssemblySearchPaths);{RawFileName} - $(AssemblySearchPaths);$(OutDir) - - - - false - - - - $(NoWarn) - $(WarningsAsErrors) - $(WarningsNotAsErrors) - - - - $(MSBuildThisFileDirectory)$(LangName)\ - - - - $(MSBuildThisFileDirectory)en-US\ - - - - - Project - - - BrowseObject - - - File - - - Invisible - - - File;BrowseObject - - - File;ProjectSubscriptionService - - - - $(DefineCommonItemSchemas) - - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - - - - - - Never - - - Never - - - Never - - - Never - - - - - - true - - - - - <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath - - - - - - <_InvalidConfigurationMessageResourceName Condition=" '$(BuildingInsideVisualStudio)' == 'true' ">CommonSdk.InvalidConfigurationTextWhenBuildingInsideVisualStudio - <_InvalidConfigurationMessageResourceName Condition=" '$(BuildingInsideVisualStudio)' != 'true' ">CommonSdk.InvalidConfigurationTextWhenBuildingOutsideVisualStudio - - - - - - - - - - - x86 - - - - - - - - - - - - - BeforeBuild; - CoreBuild; - AfterBuild - - - - - - - - - - - BuildOnlySettings; - PrepareForBuild; - PreBuildEvent; - ResolveReferences; - PrepareResources; - ResolveKeySource; - Compile; - ExportWindowsMDFile; - UnmanagedUnregistration; - GenerateSerializationAssemblies; - CreateSatelliteAssemblies; - GenerateManifests; - GetTargetPath; - PrepareForRun; - UnmanagedRegistration; - IncrementalClean; - PostBuildEvent - - - - - - - - - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build - - BeforeRebuild; - Clean; - $(_ProjectDefaultTargets); - AfterRebuild; - - - BeforeRebuild; - Clean; - Build; - AfterRebuild; - - - - - - - - - - Build - - - - - - - - - - - Build - - - - - - - - - - - Build - - - - - - - - - - - - - - - - - - - - - - - false - - - - true - - - - - - $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata - - - - - $(TargetFileName).config - - - - - - - - - - - - - @(_TargetFramework40DirectoryItem) - @(_TargetFramework35DirectoryItem) - @(_TargetFramework30DirectoryItem) - @(_TargetFramework20DirectoryItem) - - @(_TargetFramework20DirectoryItem) - @(_TargetFramework40DirectoryItem) - @(_TargetedFrameworkDirectoryItem) - @(_TargetFrameworkSDKDirectoryItem) - - - - - - - - - - - - - - - - - - $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) - $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) - - - - true - - - $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) - - - - - - - $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) - - - - - - - - - - - - - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - - - - - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - - - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - - - - - BeforeResolveReferences; - AssignProjectConfiguration; - ResolveProjectReferences; - FindInvalidProjectReferences; - ResolveNativeReferences; - ResolveAssemblyReferences; - GenerateBindingRedirects; - GenerateBindingRedirectsUpdateAppConfig; - ResolveComReferences; - AfterResolveReferences - - - - - - - - - - - - false - - - - - - - true - true - false - - false - - true - - - - - - - - - - - <_ProjectReferenceWithConfiguration> - true - true - - - true - true - - - - - - - - - - - - - <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> - - - - <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> - <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> - - - - - true - - - - - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> - true - - - - <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - - - - - <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> - - x86=Win32 - - - <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> - Win32=x86 - - - - - - - - - - Platform=%(ProjectsWithNearestPlatform.NearestPlatform) - - - - %(ProjectsWithNearestPlatform.UndefineProperties);Platform - - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> - - - - - - - $(NuGetTargetMoniker) - $(TargetFrameworkMoniker) - - - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> - - true - %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework - - - - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> - - true - - - - - - - - - - - - - <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> - <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> - <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> - - - - - - - - - - - - - - - - - - - - - - - - TargetFramework=%(AnnotatedProjects.NearestTargetFramework) - - - - %(AnnotatedProjects.UndefineProperties);TargetFramework - - - - %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier;SelfContained - - - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> - - - - - - - - - <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> - @(_TargetFrameworkInfo) - @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') - @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') - $(_AdditionalPropertiesFromProject) - true - @(_TargetFrameworkInfo->'%(IsRidAgnostic)') - - true - $(Platform) - $(Platforms) - - @(ProjectConfiguration->'%(Platform)'->Distinct()) - - - - - - <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> - $(%(AdditionalTargetFrameworkInfoProperty.Identity)) - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false - - - - - - <_TargetFrameworkInfo Include="$(TargetFramework)"> - $(TargetFramework) - $(TargetFrameworkMoniker) - $(TargetPlatformMoniker) - None - $(_AdditionalTargetFrameworkInfoProperties) - - $(IsRidAgnostic) - true - false - - - - - - - - - AssignProjectConfiguration; - _SplitProjectReferencesByFileExistence; - _GetProjectReferenceTargetFrameworkProperties; - _GetProjectReferencePlatformProperties - - - - - - - - - $(ProjectReferenceBuildTargets) - - - ProjectReference - - - - - - - - - - - - - - - - - - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> - - <_ResolvedProjectReferencePaths> - %(_ResolvedProjectReferencePaths.OriginalItemSpec) - - - - - <_NonExistentProjectReferenceSeverity Condition="'@(ProjectReferenceWithConfiguration)' != '' and '@(_MSBuildProjectReferenceNonexistent)' != '' and '$(ErrorOnMissingProjectReference)' != 'True'">Warning - <_NonExistentProjectReferenceSeverity Condition="'@(ProjectReferenceWithConfiguration)' != '' and '@(_MSBuildProjectReferenceNonexistent)' != '' and '$(ErrorOnMissingProjectReference)' == 'True'">Error - - - - - - - <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> - %(ReferencePath.ProjectReferenceOriginalItemSpec) - - - - - - - - - $(GetTargetPathDependsOn) - - - - - - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion.TrimStart('vV')) - $(TargetRefPath) - @(CopyUpToDateMarker) - - - - - - - - %(_ApplicationManifestFinal.FullPath) - - - - - - - - - - - - - - - - - - ResolveProjectReferences; - FindInvalidProjectReferences; - GetFrameworkPaths; - GetReferenceAssemblyPaths; - PrepareForBuild; - ResolveSDKReferences; - ExpandSDKReferences; - - - - - <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> - - - - $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache - - - - <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> - - - - <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false - true - false - Warning - $(BuildingProject) - $(BuildingProject) - $(BuildingProject) - false - - - - - - true - - - - - - - - false - - - - false - true - - - - - - - - - - - - - - - - - - - - - - - %(FullPath) - - - %(ReferencePath.Identity) - - - - - - - - - - - - - - - <_NewGenerateBindingRedirectsIntermediateAppConfig Condition="Exists('$(_GenerateBindingRedirectsIntermediateAppConfig)')">true - $(_GenerateBindingRedirectsIntermediateAppConfig) - - - true - true - - - - - - - - - - $(TargetFileName).config - - - - - - Software\Microsoft\Microsoft SDKs - $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs - - $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(WindowsKitsRoot) - - true - Windows - 8.1 - - false - WindowsPhoneApp - 8.1 - - - - - - - - - - - - - - - - - GetInstalledSDKLocations - - - - Debug - Retail - Retail - $(ProcessorArchitecture) - Neutral - - - true - - - - - - - - - - - - - - - - GetReferenceTargetPlatformMonikers - - - - - - - - <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> - - - - - - - - - - - - - - ResolveSDKReferences - - - .winmd; - .dll - - - - - - - - - - - - - - - - false - false - false - $(TargetFrameworkSDKToolsDirectory) - true - - - - - - - - - - - - - - - <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> - - - - - {CandidateAssemblyFiles}; - $(ReferencePath); - {HintPathFromItem}; - {TargetFrameworkDirectory}; - {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; - {RawFileName}; - $(TargetDir) - - - - - - GetFrameworkPaths; - GetReferenceAssemblyPaths; - ResolveReferences - - - - - <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - - - $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache - - - - {CandidateAssemblyFiles}; - $(ReferencePath); - {HintPathFromItem}; - {TargetFrameworkDirectory}; - {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; - {RawFileName}; - $(OutDir) - - - - false - false - false - false - false - true - false - - - <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> - - - <_RARResolvedReferencePath Include="@(ReferencePath)" /> - - - - - - - - - - false - - - - $(IntermediateOutputPath) - - - - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - false - - - - - - - - - - - - - - - - - - - - - - - - - - - $(PrepareResourcesDependsOn); - PrepareResourceNames; - ResGen; - CompileLicxFiles - - - - - - - AssignTargetPaths; - SplitResourcesByCulture; - CreateManifestResourceNames; - CreateCustomManifestResourceNames - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - - - - - - - false - false - - - - - - - <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> - - - Resx - - - Non-Resx - - - - - - - - - - - - - - - - Resx - - - Non-Resx - - - - - - - - - - - - <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> - <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> - - - - - - - - - - ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen - FindReferenceAssembliesForReferences - true - false - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - - - - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - - - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - true - - - true - - - - true - - - true - - - - - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - - - - - - - - - - - - - - - - ResolveReferences; - ResolveKeySource; - SetWin32ManifestProperties; - _SetPreferNativeArm64Win32ManifestProperties; - FindReferenceAssembliesForReferences; - _GenerateCompileInputs; - BeforeCompile; - _TimeStampBeforeCompile; - _GenerateCompileDependencyCache; - CoreCompile; - _TimeStampAfterCompile; - AfterCompile; - - - - - - - - - - <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> - - <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> - Resx - false - - <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - false - - - - - - - true - $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) - - - true - - - - - - - - - - - - - - - true - - - - - - - - - - - - - - - - - - <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) - - - - - - $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) - - - - - - __NonExistentSubDir__\__NonExistentFile__ - - - - - <_SGenDllName>$(TargetName).XmlSerializers.dll - <_SGenDllCreated>false - <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) - <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto - <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off - true - false - true - - - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - - - - - - $(CreateSatelliteAssembliesDependsOn); - _GenerateSatelliteAssemblyInputs; - ComputeIntermediateSatelliteAssemblies; - GenerateSatelliteAssemblies - - - - - - - - - - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> - - <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> - Resx - true - - <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - true - - - - - - - <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) - - - - - - - - - - CreateManifestResourceNames - - - - - - %(EmbeddedResource.Culture) - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - - - - - - $(Win32Manifest) - - - - - - - <_DeploymentBaseManifest>$(ApplicationManifest) - <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) - - true - - - - - $(ApplicationManifest) - $(ApplicationManifest) - - - - - - - $(_FrameworkVersion40Path)\default.win32manifest - - - - - - - - - $(_Win32Manifest) - - - - - - - SetWin32ManifestProperties; - GenerateApplicationManifest; - GenerateDeploymentManifest - - - - - - <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> - - - - - - - - - - - - - - - - - <_DeploymentCopyApplicationManifest>true - - - - - - <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) - <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) - - - - - - - - - - - - - - - - - - - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) - <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) - - - - - - - - - - - <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> - <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> - - - - - - - - - - <_DeploymentManifestType>Native - - - - - - - <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') - - - - - - - <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - - - <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> - <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> - - - <_ClickOnceSatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> - - - - <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> - true - - <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> - - - - <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_ClickOnceSatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> - - - - - <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> - - <_ClickOnceTransitiveContentItemsTemp Include="@(_TransitiveItemsToCopyToOutputDirectory->WithoutMetadataValue('CopyToPublishDirectory', 'Never')->'%(TargetPath)')" Condition="'$(PublishProtocol)' == 'ClickOnce'"> - %(Identity) - - <_ClickOnceTransitiveContentItems Include="@(_ClickOnceTransitiveContentItemsTemp->'%(SavedIdentity)')" Condition="'%(Identity)'=='@(PublishFile)' Or '%(Extension)'=='.exe' Or '%(Extension)'=='.dll'" /> - - <_ClickOnceContentItems Include="@(ContentWithTargetPath->WithoutMetadataValue('CopyToPublishDirectory', 'Never'))" /> - <_ClickOnceContentItems Include="@(_ClickOnceTransitiveContentItems)" /> - - - <_ClickOnceNoneItemsTemp Include="@(_NoneWithTargetPath->WithoutMetadataValue('CopyToPublishDirectory', 'Never')->'%(TargetPath)')" Condition="'$(PublishProtocol)'=='Clickonce' And ('%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' or '%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' or '%(_NoneWithTargetPath.CopyToOutputDirectory)'=='IfDifferent')"> - %(Identity) - - <_ClickOnceNoneItems Include="@(_ClickOnceNoneItemsTemp->'%(SavedIdentity)')" Condition="'%(Identity)'=='@(PublishFile)' Or '%(Extension)'=='.exe' Or '%(Extension)'=='.dll'" /> - <_ClickOnceFiles Include="@(_ClickOnceContentItems);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems);@(_ClickOnceNoneItems)" /> - - <_ClickOnceNoneItemsTemp Remove="@(_ClickOnceNoneItemsTemp)" /> - <_ClickOnceNoneItems Remove="@(_ClickOnceNoneItems)" /> - <_ClickOnceTransitiveContentItemsTemp Remove="@(_ClickOnceTransitiveContentItemsTemp)" /> - <_ClickOnceTransitiveContentItems Remove="@(_ClickOnceTransitiveContentItems)" /> - <_ClickOnceContentItems Remove="@(_ClickOnceContentItems)" /> - <_ClickOnceRuntimeCopyLocalItems Remove="@(_ClickOnceRuntimeCopyLocalItems)" /> - - - - <_ClickOnceFiles Include="$(PublishedSingleFilePath);@(_DeploymentManifestIconFile)" /> - <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> - - <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> - - - - - - <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> - <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> - - - - - - - - - - - - - - - - - - - <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> - - - <_DeploymentManifestType>ClickOnce - - - - <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - false - - - - - CopyFilesToOutputDirectory - - - - - - - false - false - - - - - false - false - false - - - true - true - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - false - - - - - - - - - - - - - - - - - <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence - - true - <_TargetsThatPrepareProjectReferences Condition=" '$(MSBuildCopyContentTransitively)' == 'true' "> - AssignProjectConfiguration; - _SplitProjectReferencesByFileExistence - - - AssignTargetPaths; - $(_TargetsThatPrepareProjectReferences); - _GetProjectReferenceTargetFrameworkProperties; - _PopulateCommonStateForGetCopyToOutputDirectoryItems - - - <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems - - <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject - - - - - <_GCTODIKeepDuplicates>false - <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath - - - - - - - - - - <_CopyToOutputDirectoryTransitiveItems KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_CopyToOutputDirectoryTransitiveItems KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - <_CopyToOutputDirectoryTransitiveItems KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='IfDifferent'" /> - - - - <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> - - - - <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='IfDifferent' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='IfDifferent' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest' or '%(Compile.CopyToOutputDirectory)'=='IfDifferent') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> - - - - - - <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='IfDifferent'" /> - - - <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='IfDifferent' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='IfDifferent' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='IfDifferent' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest' or '%(Compile.CopyToOutputDirectory)'=='IfDifferent') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> - - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='IfDifferent'" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='IfDifferent' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - <_TransitiveItemsToCopyToOutputDirectoryIfDifferent KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='IfDifferent'" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - <_ThisProjectItemsToCopyToOutputDirectoryIfDifferent KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='IfDifferent'" /> - - <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_SourceItemsToCopyToOutputDirectoryIfDifferent Include="@(_TransitiveItemsToCopyToOutputDirectoryIfDifferent);@(_ThisProjectItemsToCopyToOutputDirectoryIfDifferent)" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_TransitiveItemsToCopyToOutputDirectoryIfDifferent Remove="@(_TransitiveItemsToCopyToOutputDirectoryIfDifferent)" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> - <_ThisProjectItemsToCopyToOutputDirectoryIfDifferent Remove="@(_ThisProjectItemsToCopyToOutputDirectoryIfDifferent)" /> - - - - - - - %(CopyToOutputDirectory) - - - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false - - - - - - - <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false - - - - - - - - - - <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true - - - - - - - - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - - - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - - - - - - - <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> - - - - - - - - - - - - - - - - <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> - - - - - - - - - - - - - - - - - - - - - <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - - - - - - - - - - - - - - - - <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - - - - - - - - - - - BeforeClean; - UnmanagedUnregistration; - CoreClean; - CleanReferencedProjects; - CleanPublishFolder; - AfterClean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CleanPublishFolder; - $(_RecursiveTargetForContentCopying); - _DeploymentGenerateTrustInfo; - $(DeploymentComputeClickOnceManifestInfoDependsOn) - - - - - - SetGenerateManifests; - Build; - PublishOnly - - - _DeploymentUnpublishable - - - - - - - - - - - - - true - - - - - - SetGenerateManifests; - PublishBuild; - BeforePublish; - GenerateManifests; - CopyFilesToOutputDirectory; - _CopyFilesToPublishFolder; - _DeploymentGenerateBootstrapper; - ResolveKeySource; - _DeploymentSignClickOnceDeployment; - AfterPublish - - - - - - - - - - - BuildOnlySettings; - PrepareForBuild; - ResolveReferences; - PrepareResources; - ResolveKeySource; - GenerateSerializationAssemblies; - CreateSatelliteAssemblies; - - - - - - - - - - - <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) - <_DeploymentApplicationDir>$(ClickOncePublishDir)$(_DeploymentApplicationFolderName)\ - - - - false - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - $(TargetPath) - $(TargetFileName) - true - - - - - - true - $(TargetPath) - $(TargetFileName) - - - - - PrepareForBuild - true - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> - $(TargetDir)$(TargetFileName).config - $(TargetFileName).config - - $(AppConfig) - - - - <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> - <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="('@(NativeReference)'!='' or '@(_IsolatedComReference)'!='') And Exists('$(OutDir)$(_DeploymentTargetApplicationManifestFileName)')"> - $(_DeploymentTargetApplicationManifestFileName) - - $(OutDir)$(_DeploymentTargetApplicationManifestFileName) - - - - - - - %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) - - - - - - - - - - @(_DebugSymbolsOutputPath->'%(FullPath)') - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputPdbItem->'%(FullPath)') - @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') - - - - - - - - - - @(FinalDocFile->'%(FullPath)') - true - @(DocFileItem->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputDocItem->'%(FullPath)') - @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') - - - - - - $(SatelliteDllsProjectOutputGroupDependsOn);PrepareForBuild;PrepareResourceNames - - - - - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - %(EmbeddedResource.Culture) - - - - - - $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) - - %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) - - - - - - PrepareForBuild;AssignTargetPaths - - - - - - - - - - - - $(MSBuildProjectFullPath) - $(ProjectFileName) - - - - - - - - PrepareForBuild;AssignTargetPaths - - - - - - - - - - - - - - @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') - $(_SGenDllName) - - - - - - - - - - - - - - - - - - - ResolveSDKReferences;ExpandSDKReferences - - - - - - - - - - - - - $(CommonOutputGroupsDependsOn); - BuildOnlySettings; - PrepareForBuild; - AssignTargetPaths; - ResolveReferences - - - - - - - - $(BuiltProjectOutputGroupDependenciesDependsOn); - $(CommonOutputGroupsDependsOn) - - - - - - - - - - - $(DebugSymbolsProjectOutputGroupDependenciesDependsOn); - $(CommonOutputGroupsDependsOn) - - - - - - - - - - - - $(SatelliteDllsProjectOutputGroupDependenciesDependsOn); - $(CommonOutputGroupsDependsOn) - - - - - - - - - - - - $(DocumentationProjectOutputGroupDependenciesDependsOn); - $(CommonOutputGroupsDependsOn) - - - - - - - - - - - - $(SGenFilesOutputGroupDependenciesDependsOn); - $(CommonOutputGroupsDependsOn) - - - - - - - - - - - - $(ReferenceCopyLocalPathsOutputGroupDependsOn); - $(CommonOutputGroupsDependsOn) - - - - - - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - - - - - $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); - $(CommonOutputGroupsDependsOn) - - - - - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets - - - - - - true - - - - - - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets - - - - false - - - - - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets - - true - - - - - - - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets - $(MSBuildToolsPath)\NuGet.targets - - - - - - true - - NuGet.Build.Tasks.dll - - false - - true - true - - false - - WarnAndContinue - - $(BuildInParallel) - true - - <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true - - $(MSBuildInteractive) - - true - - true - - <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true - - - - - true - - low - - all - direct - - - true - false - - - - <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true - - <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(RestoreUseCustomAfterTargets)' == 'true' "> - $(_GenerateRestoreGraphProjectEntryInputProperties); - NuGetRestoreTargets=$(MSBuildThisFileFullPath); - RestoreUseCustomAfterTargets=$(RestoreUseCustomAfterTargets); - CustomAfterMicrosoftCommonCrossTargetingTargets=$(MSBuildThisFileFullPath); - CustomAfterMicrosoftCommonTargets=$(MSBuildThisFileFullPath); - - - <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(_RestoreSolutionFileUsed)' == 'true' "> - $(_GenerateRestoreGraphProjectEntryInputProperties); - _RestoreSolutionFileUsed=true; - SolutionDir=$(SolutionDir); - SolutionName=$(SolutionName); - SolutionFileName=$(SolutionFileName); - SolutionPath=$(SolutionPath); - SolutionExt=$(SolutionExt); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $(ContinueOnError) - false - - - - - - - - - - - - - - $(ContinueOnError) - false - - - - - - - - - - - - - - $(ContinueOnError) - false - - - - - - - - - - - - - <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> - - - - - - - $(ContinueOnError) - false - - - - - - - - - - - - - $(ContinueOnError) - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - exclusionlist - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vdproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> - - - - - - - - - - - - - - - - - - - - - - - - <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> - <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> - - - - - - - - - - - - - - - - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> - RestoreSpec - $(MSBuildProjectFullPath) - - - - - - - netcoreapp1.0 - - - - - - - - - - - - - - - - - - - <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true - - - <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true - - - - - - - <_HasPackageReferenceItems /> - - - - - - true - - - - - - <_RestoreProjectFramework /> - <_TargetFrameworkToBeUsed Condition=" '$(_TargetFrameworkOverride)' == '' ">$(TargetFrameworks) - - - - - - - <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> - - - - - - <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> - - - <_RestoreTargetFrameworkItems Include="$(_TargetFrameworkOverride)" /> - - - - - - $(SolutionDir) - - - - - - - - - - - - - - - - - - - - - - - <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> - $(RestoreAdditionalProjectSources) - $(RestoreAdditionalProjectFallbackFolders) - $(RestoreAdditionalProjectFallbackFoldersExcludes) - - - - - - - - $(MSBuildProjectExtensionsPath) - - - - - - - <_RestoreProjectName>$(MSBuildProjectName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) - - - - <_RestoreProjectVersion>1.0.0 - <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) - <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) - - - - <_RestoreCrossTargeting>true - - - - <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(_RestoreProjectVersion) - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(RestoreProjectStyle) - $(RestoreOutputAbsolutePath) - $(RuntimeIdentifiers);$(RuntimeIdentifier) - $(RuntimeSupports) - $(_RestoreCrossTargeting) - $(RestoreLegacyPackagesDirectory) - $(ValidateRuntimeIdentifierCompatibility) - $(_RestoreSkipContentFileWrite) - $(_OutputConfigFilePaths) - $(TreatWarningsAsErrors) - $(WarningsAsErrors) - $(WarningsNotAsErrors) - $(NoWarn) - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) - $(CentralPackageFloatingVersionsEnabled) - $(CentralPackageVersionOverrideEnabled) - $(CentralPackageTransitivePinningEnabled) - $(NuGetAudit) - $(NuGetAuditLevel) - $(NuGetAuditMode) - $(SdkAnalysisLevel) - $(UsingMicrosoftNETSdk) - $(RestoreUseLegacyDependencyResolver) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(RestoreOutputAbsolutePath) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(_CurrentProjectJsonPath) - $(RestoreProjectStyle) - $(_OutputConfigFilePaths) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config - $(MSBuildProjectDirectory)\packages.config - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - $(_OutputSources) - $(SolutionDir) - $(_OutputRepositoryPath) - $(_OutputConfigFilePaths) - $(_OutputPackagesPath) - @(_RestoreTargetFrameworksOutputFiltered) - $(NuGetAudit) - $(NuGetAuditLevel) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - @(_RestoreTargetFrameworksOutputFiltered) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - TargetFrameworkInformation - $(MSBuildProjectFullPath) - $(PackageTargetFallback) - $(AssetTargetFallback) - $(TargetFramework) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion) - $(TargetFrameworkMoniker) - $(TargetFrameworkProfile) - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetPlatformVersion) - $(TargetPlatformMinVersion) - $(CLRSupport) - $(RuntimeIdentifierGraphPath) - $(WindowsTargetPlatformMinVersion) - $(RestoreEnablePackagePruning) - $(NuGetAuditMode) - - - - - - - - - - - - - <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_RestorePackagesPathOverride>$(RestorePackagesPath) - - - - - - <_RestorePackagesPathOverride>$(RestoreRepositoryPath) - - - - - - <_RestoreSourcesOverride>$(RestoreSources) - - - - - - <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) - - - - - - - - - - - - - <_TargetFrameworkOverride Condition=" '$(TargetFrameworks)' == '' ">$(TargetFramework) - - - - - - <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> - - - - - - - - - - $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets - - - - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - $(MSBuildThisFileDirectory)\tools\net9.0\Microsoft.NET.Build.Extensions.Tasks.dll - $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll - - true - - - - - - - - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets - - - - - - Microsoft.TestPlatform.Build.dll - $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) - False - False - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - AndroidJavaLibrary - - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - true - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - true - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - true - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - true - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - true - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - true - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - true - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - true - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - true - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - $(AndroidResgenExtraArgs.TrimEnd(' ')) --no-version-vectors - - - --no-version-vectors - - - - - - - true - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - true - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - true - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - true - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - true - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - true - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - true - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - true - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - true - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - true - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - manifestmerger.jar - - - AndroidX.Fragment.App.Fragment - - - - true - - - - - - - true - - - - - - - true - - - - - - - true - - - - - - - true - - - - - - true - - - - - $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)Microsoft.Maui.Resizetizer.After.targets - - - - - - <_Microsoft_Extensions_OptionsAnalyzer Include="@(Analyzer)" Condition="'%(Analyzer.NuGetPackageId)' == 'Microsoft.Extensions.Options'" /> - - - - - - - - - - - - - - - - - - - <_Microsoft_Extensions_Logging_AbstractionsAnalyzer Include="@(Analyzer)" Condition="'%(Analyzer.NuGetPackageId)' == 'Microsoft.Extensions.Logging.Abstractions'" /> - - - - - - - - - - - - - - - - - - true - - - - - true - - - - $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)Microsoft.Maui.Core.After.targets - - - - - true - - - - - <_IsHotRestartDefined>$([System.Text.RegularExpressions.Regex]::IsMatch('$(DefineConstants.Trim())', '(^|;)HOTRESTART($|;)')) - HOTRESTART;$(DefineConstants) - True - - - - - - - - - - - - Platforms\ - $([MSBuild]::EnsureTrailingSlash('$(PlatformsProjectFolder)')) - - <_KeepLaunchProfiles>true - - false - $(PlatformsProjectFolder)Android\ - $([MSBuild]::EnsureTrailingSlash('$(AndroidProjectFolder)')) - - false - $(PlatformsProjectFolder)iOS\ - $([MSBuild]::EnsureTrailingSlash('$(iOSProjectFolder)')) - - false - $(PlatformsProjectFolder)MacCatalyst\ - $([MSBuild]::EnsureTrailingSlash('$(MacCatalystProjectFolder)')) - - false - $(PlatformsProjectFolder)Windows\ - $([MSBuild]::EnsureTrailingSlash('$(WindowsProjectFolder)')) - - false - $(PlatformsProjectFolder)Tizen\ - $([MSBuild]::EnsureTrailingSlash('$(TizenProjectFolder)')) - - - - - - - - - - $(AndroidProjectFolder)AndroidManifest.xml - $(AndroidProjectFolder)Resources - $(AndroidProjectFolder)Assets - - - $(iOSProjectFolder)Resources - $(iOSProjectFolder)Entitlements.plist - <_SingleProjectiOSExcludes>$(iOSProjectFolder)/**/.*/** - - - $(MacCatalystProjectFolder)Resources - $(MacCatalystProjectFolder)Entitlements.plist - <_SingleProjectMacCatalystExcludes>$(MacCatalystProjectFolder)/**/.*/** - - - $(WindowsProjectFolder)app.manifest - $(WindowsProjectFolder)Package.appxmanifest - False - False - <_SingleProjectWindowsExcludes>$(WindowsProjectFolder)/**/.*/** - - - $(TizenProjectFolder)tizen-manifest.xml - $(TizenProjectFolder)res - $(TizenProjectFolder)shared - - - - - - $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)Microsoft.Maui.Controls.Build.Tasks.After.targets - - - - - - $(InterceptorsPreviewNamespaces);Microsoft.Extensions.Configuration.Binder.SourceGeneration - - - - - - - - - <_Microsoft_Extensions_Configuration_Binder_Compatible_TargetFramework Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'netcoreapp2.0')) AND !$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">net6.0 - <_Microsoft_Extensions_Configuration_Binder_Compatible_TargetFramework Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net461')) AND !$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net462'))">net462 - - - - - - - - - - - - - - - - - - - - - - - - - - - @(MVVMToolkitCurrentCompilerAssemblyIdentity->'%(Version)') - - true - - - - - - - - - - true - - - - - - - roslyn4.3 - roslyn4.0 - - - - - - - - - - - true - - - - - - - - true - - - - - - - - - true - - - - <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets - <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) - - - - - 14.2 - 15.0 - 21.0 - 10.0.17763.0 - 10.0.17763.0 - - - - - - - - false - - - - - - - - - - -// <autogenerated /> -using System%3b -using System.Reflection%3b -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute("$(TargetFrameworkMoniker)", FrameworkDisplayName = "$(TargetFrameworkMonikerDisplayName)")] - - - - - true - - true - true - - $([System.Globalization.CultureInfo]::CurrentUICulture.Name) - - - - - <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" /> - - - - - - - - - - - TargetFramework - TargetFrameworks - - - true - - - - - - - - - <_MainReferenceTargetForBuild Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets - <_MainReferenceTargetForBuild Condition="'$(_MainReferenceTargetForBuild)' == ''">GetTargetPath - $(_MainReferenceTargetForBuild);GetNativeManifest;$(_RecursiveTargetForContentCopying);$(ProjectReferenceTargetsForBuild) - - <_MainReferenceTargetForPublish Condition="'$(NoBuild)' == 'true'">GetTargetPath - <_MainReferenceTargetForPublish Condition="'$(NoBuild)' != 'true'">$(_MainReferenceTargetForBuild) - GetTargetFrameworks;$(_MainReferenceTargetForPublish);GetNativeManifest;GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) - - $(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForPublish) - $(ProjectReferenceTargetsForRebuild);$(ProjectReferenceTargetsForPublish) - GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) - - - .default;$(ProjectReferenceTargetsForBuild) - - - Clean;$(ProjectReferenceTargetsForClean) - $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) - - - - - - - - - - - - - - - - - - - - - - - - - - $(MSBuildThisFileDirectory)..\tools\ - net9.0 - net472 - $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ - $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll - - Microsoft.NETCore.App;NETStandard.Library - - - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - $(_IsExecutable) - - - - netcoreapp2.2 - - - false - DotnetTool - $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) - - - Preview - - - - - - - - true - - - - - - - - $(MSBuildProjectExtensionsPath)/project.assets.json - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) - - $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) - - false - - false - - true - $(IntermediateOutputPath)NuGet\ - true - $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) - $(TargetFrameworkMoniker) - true - - false - - true - - - - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) - - - - - - - - - $(ResolveAssemblyReferencesDependsOn); - ResolvePackageDependenciesForBuild; - _HandlePackageFileConflicts; - - - ResolvePackageDependenciesForBuild; - _HandlePackageFileConflicts; - $(PrepareResourcesDependsOn) - - - - - - $(RootNamespace) - - - $(AssemblyName) - - - $(MSBuildProjectDirectory) - - - $(TargetFileName) - - - $(MSBuildProjectFile) - - - - - - true - - - - - - ResolveLockFileReferences; - ResolveLockFileAnalyzers; - ResolveLockFileCopyLocalFiles; - ResolveRuntimePackAssets; - RunProduceContentAssets; - IncludeTransitiveProjectReferences - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) - roslyn$(_RoslynApiVersion) - - - - - - false - - - true - - - true - - - - true - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> - - - <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> - - <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - - - - - - - - - - - - - - true - true - true - true - - - - - $(DefaultItemExcludes);$(BaseOutputPath)/** - - $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** - - $(DefaultItemExcludes);**/*.user - $(DefaultItemExcludes);**/*.*proj - $(DefaultItemExcludes);**/*.sln - $(DefaultItemExcludes);**/*.slnx - $(DefaultItemExcludes);**/*.vssscc - $(DefaultItemExcludes);**/.DS_Store - - $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** - - - - - 1.6.1 - - 2.0.3 - - - - - - true - false - <_TargetLatestRuntimePatchIsDefault>true - - - true - - - - - all - true - - - all - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $(_TargetFrameworkVersionWithoutV) - - - - - - - - https://aka.ms/sdkimplicitrefs - - - - - - - - - - - <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> - - - - false - - - - - - https://aka.ms/sdkimplicititems - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> - - - - - - - - - - - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - - - - - - - - - - - - - - - true - - - - - - - - - - - $(ResolveAssemblyReferencesDependsOn); - ResolveTargetingPackAssets; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - true - - - <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - - - - - - - $(RuntimeIdentifier) - $(DefaultAppHostRuntimeIdentifier) - - - - - - - - - - - true - true - false - - - - [%(_PackageToDownload.Version)] - - - - - - - - <_ImplicitPackageReference Remove="@(PackageReference)" /> - - - - - - - - - - - - - - - - - - %(ResolvedTargetingPack.PackageDirectory) - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> - %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) - - - - - %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) - - - - @(ResolvedAppHostPack->'%(Path)') - - - - %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) - - - - @(ResolvedSingleFileHostPack->'%(Path)') - - - - %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) - - - - @(ResolvedComHostPack->'%(Path)') - - - - %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) - - - - @(ResolvedIjwHostPack->'%(Path)') - - - - - - - - - - - - - - - true - false - - - - - - - - - - - - $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) - - - - - - - - - - - - - - - - - - - - - - - - - - <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> - - - - - - - - - - - - - - - - - - <_Parameter1>$(UserSecretsId.Trim()) - - - - - - - - - - $(_IsNETCoreOrNETStandard) - - - true - false - true - $(MSBuildProjectDirectory)/runtimeconfig.template.json - true - true - <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache - <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) - <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache - <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) - <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache - <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) - - - - <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true - - - false - true - - - $(BundledRuntimeIdentifierGraphFile) - - $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json - - - - - - - - - - - true - - - false - - - $(AssemblyName).deps.json - $(TargetDir)$(ProjectDepsFileName) - $(AssemblyName).runtimeconfig.json - $(TargetDir)$(ProjectRuntimeConfigFileName) - $(TargetDir)$(AssemblyName).runtimeconfig.dev.json - true - - - - - - true - true - - - - CurrentArchitecture - CurrentRuntime - - - <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so - <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe - <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) - <_DotNetAppHostExecutableNameWithoutExtension>apphost - <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) - <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost - <_DotNetComHostLibraryNameWithoutExtension>comhost - <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) - <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost - <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) - <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) - <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) - - - - - - <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> - - - - - - Microsoft.NETCore.App - - - - - <_DefaultUserProfileRuntimeStorePath>$(HOME) - <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) - <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) - $(_DefaultUserProfileRuntimeStorePath) - - - true - - - true - - - true - - - - false - true - - - - true - - - true - - - $(AvailablePlatforms),ARM32 - - - $(AvailablePlatforms),ARM64 - - - $(AvailablePlatforms),ARM64 - - - - false - - - - true - - - - - <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true - <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true - - <_BinaryFormatterObsoleteAsError>true - - true - false - - - - _CheckForBuildWithNoBuild; - $(CoreBuildDependsOn); - GenerateBuildDependencyFile; - GenerateBuildRuntimeConfigurationFiles - - - - - _SdkBeforeClean; - $(CoreCleanDependsOn) - - - - - _SdkBeforeRebuild; - $(RebuildDependsOn) - - - - - true - - - $(NuGetPackageRoot)\microsoft.net.sdk.compilers.toolset\$(NETCoreSdkVersion) - <_NeedToDownloadMicrosoftNetSdkCompilersToolsetPackage>true - <_MicrosoftNetSdkCompilersToolsetPackageRootEmpty Condition="'$(NuGetPackageRoot)' == ''">true - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1.0.0 - - - - - - - - - - - - - <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> - - <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> - - - - - - - - - - - - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> - - - - - - - - - - - - - <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true - LatestMinor - - - - - <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_CleaningWithoutRebuilding>true - false - - - - - <_CleaningWithoutRebuilding>false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $(CompileDependsOn); - _CreateAppHost; - _CreateComHost; - _GetIjwHostPaths; - - - - - - <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true - <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true - <_UseSingleFileHostForPublish Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true' and '$(SingleFileHostSourcePath)' != '' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0))">true - <_DisableCetCompat Condition="'$(CetCompat)' == 'false'">true - - AppRelative - <_UpdateAppHostForPublish Condition="'$(_UseSingleFileHostForPublish)' != 'true' and ('$(AppHostRelativeDotNet)' != '' or '$(AppHostDotNetSearch)' != '')">true - - - - - - - - - - - - - @(_NativeRestoredAppHostNETCore) - - - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost_publish$(_NativeExecutableExtension)')) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) - - - - - - - - - - - - - - - - - - - - - - - - - $(AssemblyName).comhost$(_ComHostLibraryExtension) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) - - - - - - - - - - - - <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest - PreserveNewest - - - - - - PreserveNewest - Never - - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest - - Always - - - - - $(AssemblyName).$(_DotNetComHostLibraryName) - PreserveNewest - PreserveNewest - - - %(FileName)%(Extension) - PreserveNewest - PreserveNewest - - - - - $(_DotNetIjwHostLibraryName) - PreserveNewest - PreserveNewest - - - - - - - <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> - - <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> - <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> - <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> - - - - - - - - true - - - true - - - - - - - - - $(StartWorkingDirectory) - - - - - $(StartProgram) - $(StartArguments) - - - - - - dotnet - <_NetCoreRunArguments>exec "$(TargetPath)" - $(_NetCoreRunArguments) $(StartArguments) - $(_NetCoreRunArguments) - - - $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) - $(StartArguments) - - - - - $(TargetPath) - $(StartArguments) - - - mono - "$(TargetPath)" $(StartArguments) - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) - - - - - - - - - - - - - - - $(CreateSatelliteAssembliesDependsOn); - CoreGenerateSatelliteAssemblies - - - - - - - <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs - <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll - - - - <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) - - - - - - - true - - - <_SatelliteAssemblyReferences Remove="@(_SatelliteAssemblyReferences)" /> - <_SatelliteAssemblyReferences Include="@(ReferencePath)" Condition="'%(Filename)' == 'mscorlib' or '%(Filename)' == 'netstandard' or '%(Filename)' == 'System.Runtime' " /> - - - - - - - - - - - - - - - - - - - - - - - - - $(TargetFrameworkIdentifier) - $(_TargetFrameworkVersionWithoutV) - - - - - - - - - - - - - - - - - - - - false - - - - false - - - - false - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_SourceLinkSdkSubDir>build - <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting - - true - - - - - - - - local - - - - - - - - - - - - git - - - - - - - - - - - - - - - - - - - - - - - - - - $(RepositoryUrl) - $(ScmRepositoryUrl) - - - - %(SourceRoot.ScmRepositoryUrl) - - - - - - - - <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json - - - - - - - - - <_GenerateSourceLinkFileBeforeTargets>Link - <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches - - - <_GenerateSourceLinkFileBeforeTargets>CoreCompile - <_GenerateSourceLinkFileDependsOnTargets /> - - - - - - - - - - - - - - - - %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" - - - - - - - - - <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\netframework\Microsoft.SourceLink.GitHub.dll - <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\net\Microsoft.SourceLink.GitHub.dll - - - - - $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl - $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation - - - - - - - - - - - - - - - <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> - - - - - - - - - - - - - - - <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\netframework\Microsoft.SourceLink.GitLab.dll - <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\net\Microsoft.SourceLink.GitLab.dll - - - - - $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl - $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation - - - - - - - - - - - - - - - <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> - - - - - - - - - - - - - - - <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\netframework\Microsoft.SourceLink.AzureRepos.Git.dll - <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\net\Microsoft.SourceLink.AzureRepos.Git.dll - - - - - $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl - $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation - - - - - - - - - - - - - - - <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> - - - - - - - - - - - - - - - <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\netframework\Microsoft.SourceLink.Bitbucket.Git.dll - <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\net\Microsoft.SourceLink.Bitbucket.Git.dll - - - - - $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl - $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation - - - - - - - - - - - - - - - <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> - - - - - - - - - - - - - - - - - - .NET Standard $(_TargetFrameworkVersionWithoutV) - .NET Core $(_TargetFrameworkVersionWithoutV) - .NET $(_TargetFrameworkVersionWithoutV) - <_TargetFrameworkDirectories /> - - - - true - - - - - - - $(CommonOutputGroupsDependsOn); - - - - - $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); - _GenerateDesignerDepsFile; - _GenerateDesignerRuntimeConfigFile; - GetCopyToOutputDirectoryItems; - _GatherDesignerShadowCopyFiles; - - <_DesignerDepsFileName>$(AssemblyName).designer.deps.json - <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json - <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) - <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) - - - - - - - - - - - - - - <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> - - - - - - - - - - - <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> - - <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> - - <_DesignerShadowCopy Remove="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' != 'true'" /> - - - - - - - - - - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) - true - - - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - - - - - - - <_InformationalVersionContainsPlus>false - <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true - $(InformationalVersion)+$(SourceRevisionId) - $(InformationalVersion).$(SourceRevisionId) - - - - - - <_Parameter1>$(Company) - - - <_Parameter1>$(Configuration) - - - <_Parameter1>$(Copyright) - - - <_Parameter1>$(Description) - - - <_Parameter1>$(FileVersion) - - - <_Parameter1>$(InformationalVersion) - - - <_Parameter1>$(Product) - - - <_Parameter1>$(Trademark) - - - <_Parameter1>$(AssemblyTitle) - - - <_Parameter1>$(AssemblyVersion) - - - <_Parameter1>RepositoryUrl - <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) - <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) - - - <_Parameter1>$(NeutralLanguage) - - - %(InternalsVisibleTo.PublicKey) - - - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) - - - <_Parameter1>%(AssemblyMetadata.Identity) - <_Parameter2>%(AssemblyMetadata.Value) - - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) - - - <_Parameter1>$(TargetPlatformIdentifier) - - - - - - - - - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache - - - - - - - - - - - - - - - - - - - - - - - - - - - $(AssemblyVersion) - $(Version) - - - - - - - - - $(IntermediateOutputPath)$(MSBuildProjectName).GlobalUsings.g$(DefaultLanguageSourceExtension) - - - - - - - - - - - - - - - - - - - <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config - - - - - - - - - - - - - - - - - - - - - - - - - - <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> - <_AllProjects Include="$(MSBuildProjectFullPath)" /> - - - - - - - - - - %(PackageReference.Identity) - %(PackageReference.Version) - - StorePackageName=%(PackageReference.Identity); - StorePackageVersion=%(PackageReference.Version); - ComposeWorkingDir=$(ComposeWorkingDir); - PublishDir=$(PublishDir); - StoreStagingDir=$(StoreStagingDir); - TargetFramework=$(TargetFramework); - RuntimeIdentifier=$(RuntimeIdentifier); - JitPath=$(JitPath); - Crossgen=$(Crossgen); - SkipUnchangedFiles=$(SkipUnchangedFiles); - PreserveStoreLayout=$(PreserveStoreLayout); - CreateProfilingSymbols=$(CreateProfilingSymbols); - StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); - DisableImplicitFrameworkReferences=false; - - - - - - - - - - - - - - - - - - - - - - - <_StoreArtifactContent> -@(ListOfPackageReference) - -]]> - - - - - - - - - - <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> - <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> - - - - - - - - - - - - true - true - <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) - true - - - - - - $(UserProfileRuntimeStorePath) - <_ProfilingSymbolsDirectoryName>symbols - $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) - $(DefaultProfilingSymbolsDir) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) - $(ProfilingSymbolsDir)\ - $(DefaultComposeDir) - $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) - $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) - $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) - $([System.IO.Path]::GetFullPath($(ComposeDir))) - <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) - $([System.IO.Path]::GetTempPath()) - $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) - $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) - - $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) - - $(PublishDir)\ - - - - false - true - - - - - - - - $(StorePackageVersion.Replace('*','-')) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) - <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) - $(StoreWorkerWorkingDir)\ - $(BaseIntermediateOutputPath)\project.assets.json - - - $(MicrosoftNETPlatformLibrary) - true - - - - - - - - - - - - - - - - - - - - - - - <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> - - - true - - - - - - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> - - - - - - - true - true - - - - - - - - - - - - - - - - - - - - - - true - true - false - true - false - true - 1 - - - - - - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> - - - - - - - - <_CoreclrPath>@(_CoreclrResolvedPath) - @(_JitResolvedPath) - <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) - <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) - $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) - - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) - - - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) - - - - - - - - CrossgenExe=$(Crossgen); - CrossgenJit=$(JitPath); - CrossgenInputAssembly=%(_ManagedResolvedFilesToOptimize.Fullpath); - CrossgenOutputAssembly=$(_RuntimeOptimizedDir)$(DirectorySeparatorChar)%(_ManagedResolvedFilesToOptimize.FileName)%(_ManagedResolvedFilesToOptimize.Extension); - CrossgenSubOutputPath=%(_ManagedResolvedFilesToOptimize.DestinationSubPath); - _RuntimeOptimizedDir=$(_RuntimeOptimizedDir); - PublishDir=$(StoreStagingDir); - CrossgenPlatformAssembliesPath=$(_RuntimeRefDir)$(PathSeparator)$(_NetCoreRefDir); - CreateProfilingSymbols=$(CreateProfilingSymbols); - StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); - _RuntimeSymbolsDir=$(_RuntimeSymbolsDir) - - - - - - - - - - $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) - $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) - $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" - CreatePDB - CreatePerfMap - - - - - - - - - - - - <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> - - - - - - - - $([System.IO.Path]::PathSeparator) - $([System.IO.Path]::DirectorySeparatorChar) - - - - - - <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) - <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) - - - - - <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) - - - - - - <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) - - <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) - - <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) - - - <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll - $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll - - - - - - - - - - - - - - - - - - - - - - - - <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R - - - - <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> - - - - <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> - - - - - - <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> - <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> - - - <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> - <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> - - - - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> - - - - - - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props - - - - - - - <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> - - <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> - - - - - - - - - true - <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true - true - - - - - true - true - <_FirstTargetFrameworkToSupportTrimming>net6.0 - <_FirstTargetFrameworkToSupportAot>net7.0 - <_FirstTargetFrameworkToSupportSingleFile>net6.0 - <_FirstTargetFrameworkVersionToSupportTrimAnalyzer>$([MSBuild]::GetTargetFrameworkVersion('$(_FirstTargetFrameworkToSupportTrimming)')) - <_FirstTargetFrameworkVersionToSupportAotAnalyzer>$([MSBuild]::GetTargetFrameworkVersion('$(_FirstTargetFrameworkToSupportAot)')) - <_FirstTargetFrameworkVersionToSupportSingleFileAnalyzer>$([MSBuild]::GetTargetFrameworkVersion('$(_FirstTargetFrameworkToSupportSingleFile)')) - - - - - - - - - - - - Always - - - - - - <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true - <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false - - - - - <_MinNonEolTargetFrameworkForTrimming>$(_MinimumNonEolSupportedNetCoreTargetFramework) - <_MinNonEolTargetFrameworkForSingleFile>$(_MinimumNonEolSupportedNetCoreTargetFramework) - - <_MinNonEolTargetFrameworkForAot>$(_MinimumNonEolSupportedNetCoreTargetFramework) - <_MinNonEolTargetFrameworkForAot Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(_FirstTargetFrameworkToSupportAot)', '$(_MinimumNonEolSupportedNetCoreTargetFramework)'))">$(_FirstTargetFrameworkToSupportAot) - - - <_TargetFramework Include="$(TargetFrameworks)" /> - <_DecomposedTargetFramework Include="@(_TargetFramework)"> - $([MSBuild]::IsTargetFrameworkCompatible('%(Identity)', '$(_FirstTargetFrameworkToSupportTrimming)')) - $([MSBuild]::IsTargetFrameworkCompatible('$(_MinNonEolTargetFrameworkForTrimming)', '%(Identity)')) - $([MSBuild]::IsTargetFrameworkCompatible('%(Identity)', '$(_FirstTargetFrameworkToSupportAot)')) - $([MSBuild]::IsTargetFrameworkCompatible('$(_MinNonEolTargetFrameworkForAot)', '%(Identity)')) - $([MSBuild]::IsTargetFrameworkCompatible('%(Identity)', '$(_FirstTargetFrameworkToSupportSingleFile)')) - $([MSBuild]::IsTargetFrameworkCompatible('$(_MinNonEolTargetFrameworkForSingleFile)', '%(Identity)')) - - <_TargetFrameworkToSilenceIsTrimmableUnsupportedWarning Include="@(_DecomposedTargetFramework)" Condition="'%(SupportsTrimming)' == 'true' And '%(SupportedByMinNonEolTargetFrameworkForTrimming)' == 'true'" /> - <_TargetFrameworkToSilenceIsAotCompatibleUnsupportedWarning Include="@(_DecomposedTargetFramework->'%(Identity)')" Condition="'%(SupportsAot)' == 'true' And '%(SupportedByMinNonEolTargetFrameworkForAot)' == 'true'" /> - <_TargetFrameworkToSilenceEnableSingleFileAnalyzerUnsupportedWarning Include="@(_DecomposedTargetFramework)" Condition="'%(SupportsSingleFile)' == 'true' And '%(SupportedByMinNonEolTargetFrameworkForSingleFile)' == 'true'" /> - - - - <_SilenceIsTrimmableUnsupportedWarning Condition="'$(_SilenceIsTrimmableUnsupportedWarning)' == '' And @(_TargetFrameworkToSilenceIsTrimmableUnsupportedWarning->Count()) > 0">true - <_SilenceIsAotCompatibleUnsupportedWarning Condition="'$(_SilenceIsAotCompatibleUnsupportedWarning)' == '' And @(_TargetFrameworkToSilenceIsAotCompatibleUnsupportedWarning->Count()) > 0">true - <_SilenceEnableSingleFileAnalyzerUnsupportedWarning Condition="'$(_SilenceEnableSingleFileAnalyzerUnsupportedWarning)' == '' And @(_TargetFrameworkToSilenceEnableSingleFileAnalyzerUnsupportedWarning->Count()) > 0">true - - - - - - - - <_BeforePublishNoBuildTargets> - BuildOnlySettings; - _PreventProjectReferencesFromBuilding; - ResolveReferences; - PrepareResourceNames; - ComputeIntermediateSatelliteAssemblies; - ComputeEmbeddedApphostPaths; - - <_CorePublishTargets> - PrepareForPublish; - ComputeAndCopyFilesToPublishDirectory; - $(PublishProtocolProviderTargets); - PublishItemsOutputGroup; - - <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) - - - - - - - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - $(PublishDir)\ - - - - - - - - - - - - <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> - - - - - - - - - - - - <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) - - - - - - <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt - - - - - - - - - - - - - - - - - - <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> - <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> - <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> - - - <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> - <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> - - - - - - - - true - true - false - - - - - - - - @(IntermediateAssembly->'%(Filename)%(Extension)') - PreserveNewest - - - - $(ProjectDepsFileName) - PreserveNewest - - - - $(ProjectRuntimeConfigFileName) - PreserveNewest - - - - @(AppConfigWithTargetPath->'%(TargetPath)') - PreserveNewest - - - - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - PreserveNewest - true - - - - %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) - PreserveNewest - - - - %(Filename)%(Extension) - PreserveNewest - - - - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> - - - - %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) - PreserveNewest - - - - @(FinalDocFile->'%(Filename)%(Extension)') - PreserveNewest - - - - shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) - PreserveNewest - - - <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> - - - - - - - - - - - - <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> - - - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> - - - - - - - - - - - - - <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> - - - - - - <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - - - - - - - - - - - - - - %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) - Always - True - - - %(_SourceItemsToCopyToPublishDirectory.TargetPath) - PreserveNewest - True - - - - - - - - <_GCTPDIKeepDuplicates>false - <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath - - - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - <_SourceItemsToCopyToPublishDirectoryAlways Remove="$(AppHostIntermediatePath)" /> - <_SourceItemsToCopyToPublishDirectory Remove="$(AppHostIntermediatePath)" /> - - <_SourceItemsToCopyToPublishDirectoryAlways Include="$(SingleFileHostIntermediatePath)" CopyToOutputDirectory="Always" TargetPath="$(AssemblyName)$(_NativeExecutableExtension)" /> - - - - <_SourceItemsToCopyToPublishDirectoryAlways Remove="$(AppHostIntermediatePath)" /> - <_SourceItemsToCopyToPublishDirectory Remove="$(AppHostIntermediatePath)" /> - - <_SourceItemsToCopyToPublishDirectoryAlways Include="$(AppHostForPublishIntermediatePath)" CopyToOutputDirectory="Always" TargetPath="$(AssemblyName)$(_NativeExecutableExtension)" /> - - - - - - - - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - Always - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - PreserveNewest - - - - - <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies - - - - - - - <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> - - <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> - - <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> - - - - <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> - - - - - - - - - - - - - - - <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> - - - - - - <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true - <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true - - - - - - <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> - - - - $(AssemblyName)$(_NativeExecutableExtension) - $(PublishDir)$(PublishedSingleFileName) - - - - - - - - $(PublishedSingleFileName) - - - - - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> - - - - - - - - - - false - false - false - $(IncludeAllContentForSelfExtract) - false - - - - - - - - - - - - - - $(PublishDepsFilePath) - $(IntermediateOutputPath)$(ProjectDepsFileName) - - - - - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> - - - - - - - - - - - - - - $(PublishDir)$(ProjectDepsFileName) - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) - - - - - - <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> - - - - - $(ProjectDepsFileName) - - - - - - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - - - - - - - - - - $(PublishItemsOutputGroupDependsOn); - ResolveReferences; - ComputeResolvedFilesToPublishList; - _ComputeFilesToBundle; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml - true - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) - - - - <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> - <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> - <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> - - - - - - - tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) - - - %(_ResolvedFileToPublishWithPackagePath.PackagePath) - - - - - $(TargetName) - $(TargetFileName) - <_GenerateToolsSettingsFileCacheFile Condition="'$(_GenerateToolsSettingsFileCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).toolssettingsinput.cache - <_GenerateToolsSettingsFileCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateToolsSettingsFileCacheFile))) - - - - <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolEntryPoint)" /> - <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolCommandName)" /> - - - - - - - - - - - - - - - - - - - - - - <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache - <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) - <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel - <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) - $(OutDir) - - - - - - - - - - - - - - - - - - - - - - <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> - <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> - <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> - <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - - - - - - - - - - - - refs - $(PreserveCompilationContext) - - - - - $(DefineConstants) - $(LangVersion) - $(PlatformTarget) - $(AllowUnsafeBlocks) - $(TreatWarningsAsErrors) - $(Optimize) - $(AssemblyOriginatorKeyFile) - $(DelaySign) - $(PublicSign) - $(DebugType) - $(OutputType) - $(GenerateDocumentationFile) - - - - - - - - - - - <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> - - <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> - - $(RefAssembliesFolderName)\%(Filename)%(Extension) - - - - - - - - - - - - - - - - - - Microsoft.CSharp|4.4.0; - Microsoft.Win32.Primitives|4.3.0; - Microsoft.Win32.Registry|4.4.0; - runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; - runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; - runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; - runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; - runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; - runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple|4.3.0; - runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; - runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; - runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; - runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; - runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; - System.AppContext|4.3.0; - System.Buffers|4.4.0; - System.Collections|4.3.0; - System.Collections.Concurrent|4.3.0; - System.Collections.Immutable|1.4.0; - System.Collections.NonGeneric|4.3.0; - System.Collections.Specialized|4.3.0; - System.ComponentModel|4.3.0; - System.ComponentModel.EventBasedAsync|4.3.0; - System.ComponentModel.Primitives|4.3.0; - System.ComponentModel.TypeConverter|4.3.0; - System.Console|4.3.0; - System.Data.Common|4.3.0; - System.Diagnostics.Contracts|4.3.0; - System.Diagnostics.Debug|4.3.0; - System.Diagnostics.DiagnosticSource|4.4.0; - System.Diagnostics.FileVersionInfo|4.3.0; - System.Diagnostics.Process|4.3.0; - System.Diagnostics.StackTrace|4.3.0; - System.Diagnostics.TextWriterTraceListener|4.3.0; - System.Diagnostics.Tools|4.3.0; - System.Diagnostics.TraceSource|4.3.0; - System.Diagnostics.Tracing|4.3.0; - System.Dynamic.Runtime|4.3.0; - System.Globalization|4.3.0; - System.Globalization.Calendars|4.3.0; - System.Globalization.Extensions|4.3.0; - System.IO|4.3.0; - System.IO.Compression|4.3.0; - System.IO.Compression.ZipFile|4.3.0; - System.IO.FileSystem|4.3.0; - System.IO.FileSystem.AccessControl|4.4.0; - System.IO.FileSystem.DriveInfo|4.3.0; - System.IO.FileSystem.Primitives|4.3.0; - System.IO.FileSystem.Watcher|4.3.0; - System.IO.IsolatedStorage|4.3.0; - System.IO.MemoryMappedFiles|4.3.0; - System.IO.Pipes|4.3.0; - System.IO.UnmanagedMemoryStream|4.3.0; - System.Linq|4.3.0; - System.Linq.Expressions|4.3.0; - System.Linq.Queryable|4.3.0; - System.Net.Http|4.3.0; - System.Net.NameResolution|4.3.0; - System.Net.Primitives|4.3.0; - System.Net.Requests|4.3.0; - System.Net.Security|4.3.0; - System.Net.Sockets|4.3.0; - System.Net.WebHeaderCollection|4.3.0; - System.ObjectModel|4.3.0; - System.Private.DataContractSerialization|4.3.0; - System.Reflection|4.3.0; - System.Reflection.Emit|4.3.0; - System.Reflection.Emit.ILGeneration|4.3.0; - System.Reflection.Emit.Lightweight|4.3.0; - System.Reflection.Extensions|4.3.0; - System.Reflection.Metadata|1.5.0; - System.Reflection.Primitives|4.3.0; - System.Reflection.TypeExtensions|4.3.0; - System.Resources.ResourceManager|4.3.0; - System.Runtime|4.3.0; - System.Runtime.Extensions|4.3.0; - System.Runtime.Handles|4.3.0; - System.Runtime.InteropServices|4.3.0; - System.Runtime.InteropServices.RuntimeInformation|4.3.0; - System.Runtime.Loader|4.3.0; - System.Runtime.Numerics|4.3.0; - System.Runtime.Serialization.Formatters|4.3.0; - System.Runtime.Serialization.Json|4.3.0; - System.Runtime.Serialization.Primitives|4.3.0; - System.Security.AccessControl|4.4.0; - System.Security.Claims|4.3.0; - System.Security.Cryptography.Algorithms|4.3.0; - System.Security.Cryptography.Cng|4.4.0; - System.Security.Cryptography.Csp|4.3.0; - System.Security.Cryptography.Encoding|4.3.0; - System.Security.Cryptography.OpenSsl|4.4.0; - System.Security.Cryptography.Primitives|4.3.0; - System.Security.Cryptography.X509Certificates|4.3.0; - System.Security.Cryptography.Xml|4.4.0; - System.Security.Principal|4.3.0; - System.Security.Principal.Windows|4.4.0; - System.Text.Encoding|4.3.0; - System.Text.Encoding.Extensions|4.3.0; - System.Text.RegularExpressions|4.3.0; - System.Threading|4.3.0; - System.Threading.Overlapped|4.3.0; - System.Threading.Tasks|4.3.0; - System.Threading.Tasks.Extensions|4.3.0; - System.Threading.Tasks.Parallel|4.3.0; - System.Threading.Thread|4.3.0; - System.Threading.ThreadPool|4.3.0; - System.Threading.Timer|4.3.0; - System.ValueTuple|4.3.0; - System.Xml.ReaderWriter|4.3.0; - System.Xml.XDocument|4.3.0; - System.Xml.XmlDocument|4.3.0; - System.Xml.XmlSerializer|4.3.0; - System.Xml.XPath|4.3.0; - System.Xml.XPath.XDocument|4.3.0; - - - - - Microsoft.Win32.Primitives|4.3.0; - System.AppContext|4.3.0; - System.Collections|4.3.0; - System.Collections.Concurrent|4.3.0; - System.Collections.Immutable|1.4.0; - System.Collections.NonGeneric|4.3.0; - System.Collections.Specialized|4.3.0; - System.ComponentModel|4.3.0; - System.ComponentModel.EventBasedAsync|4.3.0; - System.ComponentModel.Primitives|4.3.0; - System.ComponentModel.TypeConverter|4.3.0; - System.Console|4.3.0; - System.Data.Common|4.3.0; - System.Diagnostics.Contracts|4.3.0; - System.Diagnostics.Debug|4.3.0; - System.Diagnostics.FileVersionInfo|4.3.0; - System.Diagnostics.Process|4.3.0; - System.Diagnostics.StackTrace|4.3.0; - System.Diagnostics.TextWriterTraceListener|4.3.0; - System.Diagnostics.Tools|4.3.0; - System.Diagnostics.TraceSource|4.3.0; - System.Diagnostics.Tracing|4.3.0; - System.Dynamic.Runtime|4.3.0; - System.Globalization|4.3.0; - System.Globalization.Calendars|4.3.0; - System.Globalization.Extensions|4.3.0; - System.IO|4.3.0; - System.IO.Compression|4.3.0; - System.IO.Compression.ZipFile|4.3.0; - System.IO.FileSystem|4.3.0; - System.IO.FileSystem.DriveInfo|4.3.0; - System.IO.FileSystem.Primitives|4.3.0; - System.IO.FileSystem.Watcher|4.3.0; - System.IO.IsolatedStorage|4.3.0; - System.IO.MemoryMappedFiles|4.3.0; - System.IO.Pipes|4.3.0; - System.IO.UnmanagedMemoryStream|4.3.0; - System.Linq|4.3.0; - System.Linq.Expressions|4.3.0; - System.Linq.Queryable|4.3.0; - System.Net.Http|4.3.0; - System.Net.NameResolution|4.3.0; - System.Net.Primitives|4.3.0; - System.Net.Requests|4.3.0; - System.Net.Security|4.3.0; - System.Net.Sockets|4.3.0; - System.Net.WebHeaderCollection|4.3.0; - System.ObjectModel|4.3.0; - System.Private.DataContractSerialization|4.3.0; - System.Reflection|4.3.0; - System.Reflection.Emit|4.3.0; - System.Reflection.Emit.ILGeneration|4.3.0; - System.Reflection.Emit.Lightweight|4.3.0; - System.Reflection.Extensions|4.3.0; - System.Reflection.Primitives|4.3.0; - System.Reflection.TypeExtensions|4.3.0; - System.Resources.ResourceManager|4.3.0; - System.Runtime|4.3.0; - System.Runtime.Extensions|4.3.0; - System.Runtime.Handles|4.3.0; - System.Runtime.InteropServices|4.3.0; - System.Runtime.InteropServices.RuntimeInformation|4.3.0; - System.Runtime.Loader|4.3.0; - System.Runtime.Numerics|4.3.0; - System.Runtime.Serialization.Formatters|4.3.0; - System.Runtime.Serialization.Json|4.3.0; - System.Runtime.Serialization.Primitives|4.3.0; - System.Security.AccessControl|4.4.0; - System.Security.Claims|4.3.0; - System.Security.Cryptography.Algorithms|4.3.0; - System.Security.Cryptography.Csp|4.3.0; - System.Security.Cryptography.Encoding|4.3.0; - System.Security.Cryptography.Primitives|4.3.0; - System.Security.Cryptography.X509Certificates|4.3.0; - System.Security.Cryptography.Xml|4.4.0; - System.Security.Principal|4.3.0; - System.Security.Principal.Windows|4.4.0; - System.Text.Encoding|4.3.0; - System.Text.Encoding.Extensions|4.3.0; - System.Text.RegularExpressions|4.3.0; - System.Threading|4.3.0; - System.Threading.Overlapped|4.3.0; - System.Threading.Tasks|4.3.0; - System.Threading.Tasks.Extensions|4.3.0; - System.Threading.Tasks.Parallel|4.3.0; - System.Threading.Thread|4.3.0; - System.Threading.ThreadPool|4.3.0; - System.Threading.Timer|4.3.0; - System.ValueTuple|4.3.0; - System.Xml.ReaderWriter|4.3.0; - System.Xml.XDocument|4.3.0; - System.Xml.XmlDocument|4.3.0; - System.Xml.XmlSerializer|4.3.0; - System.Xml.XPath|4.3.0; - System.Xml.XPath.XDocument|4.3.0; - - - - - - - - - - - <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> - - - - - - - - - - - - - - - - - - - - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> - - - - - - - - - - - - - - - Properties - - - $(Configuration.ToUpperInvariant()) - - $(ImplicitConfigurationDefine.Replace('-', '_')) - $(ImplicitConfigurationDefine.Replace('.', '_')) - $(ImplicitConfigurationDefine.Replace(' ', '_')) - $(DefineConstants);$(ImplicitConfigurationDefine) - - - $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) - - - - - - - - $(WarningsAsErrors);SYSLIB0011 - - - - - - - - - - $(IntermediateOutputPath)linked\ - $(IntermediateLinkDir)\ - - <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore - - - - <_Parameter1>IsTrimmable - <_Parameter2>True - - - - - false - false - false - false - false - false - - false - false - false - false - - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(EnableCppCLIHostActivation)' == 'true'">true - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false - true - false - - <_UseManagedNtlm Condition="'$(_UseManagedNtlm)' == '' and $(RuntimeIdentifier.StartsWith('linux-bionic'))">true - - <_UseManagedNtlm Condition="'$(_UseManagedNtlm)' == '' and $(RuntimeIdentifier.StartsWith('linux'))">false - <_ComObjectDescriptorSupport Condition="'$(_ComObjectDescriptorSupport)' == ''">false - <_DesignerHostSupport Condition="'$(_DesignerHostSupport)' == ''">false - <_DefaultValueAttributeSupport Condition="'$(_DefaultValueAttributeSupport)' == ''">false - true - false - - - - true - - false - - - - <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --notrimwarn - false - - - - $(NoWarn);IL2121 - - - - - - <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> - - - - - - - <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - - - - - - - - - - - - <_DotNetHostDirectory>$(NetCoreRoot) - <_DotNetHostFileName>dotnet - <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe - - - - - - - - - - - - - - - - 5 - 0 - - - - - <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --link-attributes "@(_ILLinkSuppressions->'%(Identity)', '" --link-attributes "')" - - - - full - - - $(TreatWarningsAsErrors) - true - - - - - true - false - - - - <_TrimmerKeepMetadata Include="all" Condition=" '$(DebuggerSupport)' != 'false' " /> - - - <_TrimmerPreserveSymbolPaths Condition=" '$(_TrimmerPreserveSymbolPaths)' == '' and '$(DeterministicSourcePaths)' == 'true' ">true - <_TrimmerPreserveSymbolPaths Condition=" '$(_TrimmerPreserveSymbolPaths)' == '' ">false - - - - - true - - - - - - - - - - - - - - - - - - <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly> - false - - - - - - - false - - - - <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> - - - - - - - - - - - - <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> - <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> - - - <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - - - - - - - <_NoneAnalysisLevel>4.0 - - <_LatestAnalysisLevel>9.0 - <_PreviewAnalysisLevel>10.0 - latest - $(_TargetFrameworkVersionWithoutV) - - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '-(.)*', '')) - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '$(AnalysisLevelPrefix)-', '')) - - $(_NoneAnalysisLevel) - $(_LatestAnalysisLevel) - $(_PreviewAnalysisLevel) - - $(AnalysisLevelPrefix) - $(AnalysisLevel) - - - - 9999 - - 4 - - $(_TargetFrameworkVersionWithoutV.Substring(0, 1)) - - - - - true - - true - - true - - true - - false - - - - false - false - false - false - false - - - - - - - - <_NETAnalyzersSDKAssemblyVersion>9.0.0 - - - - CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311;CA1401;CA1416;CA1417;CA1418;CA1419;CA1420;CA1421;CA1422;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1510;CA1511;CA1512;CA1513;CA1514;CA1515;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA1850;CA1851;CA1852;CA1853;CA1854;CA1855;CA1856;CA1857;CA1858;CA1859;CA1860;CA1861;CA1862;CA1863;CA1864;CA1865;CA1866;CA1867;CA1868;CA1869;CA1870;CA1871;CA1872;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2019;CA2020;CA2021;CA2022;CA2100;CA2101;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2259;CA2260;CA2261;CA2262;CA2263;CA2264;CA2265;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 - $(CodeAnalysisTreatWarningsAsErrors) - $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) - - - - - - - - $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevel), '(.0)*$', '')) - - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers>$(AnalysisLevelSuffix) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers)' == ''">$(AnalysisMode) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers)' == 'AllEnabledByDefault'">All - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers)' == 'AllDisabledByDefault'">None - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers)' == ''">Default - - - $(CodeAnalysisTreatWarningsAsErrors) - - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror - - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(MicrosoftCodeAnalysisNetAnalyzersRulesVersion)' != ''">AnalysisLevel_$(MicrosoftCodeAnalysisNetAnalyzersRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers_WarnAsErrorSuffix).globalconfig - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers.ToLowerInvariant()) - <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzers)' == ''">$(MSBuildThisFileDirectory)config - <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzers)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers) - - - - - - - - - - $(AnalysisLevel) - - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelDesign), '-(.)*', '')) - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelDesign), '$(AnalysisLevelPrefixDesign)-', '')) - - $(_NoneAnalysisLevel) - $(_LatestAnalysisLevel) - $(_PreviewAnalysisLevel) - - $(AnalysisLevelPrefixDesign) - $(AnalysisLevelDesign) - - $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelDesign), '(.0)*$', '')) - - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign>$(AnalysisLevelSuffixDesign) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign)' == ''">$(AnalysisModeDesign) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign)' == 'AllEnabledByDefault'">All - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign)' == 'AllDisabledByDefault'">None - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign)' == ''">Default - - - $(CodeAnalysisTreatWarningsAsErrors) - - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDesign_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror - - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDesign Condition="'$(MicrosoftCodeAnalysisNetAnalyzersDesignRulesVersion)' != ''">AnalysisLevelDesign_$(MicrosoftCodeAnalysisNetAnalyzersDesignRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDesign_WarnAsErrorSuffix).globalconfig - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDesign>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDesign.ToLowerInvariant()) - <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersDesign Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersDesign)' == ''">$(MSBuildThisFileDirectory)config - <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersDesign Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDesign)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersDesign)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDesign) - - - - - - - - - - $(AnalysisLevel) - - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelDocumentation), '-(.)*', '')) - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelDocumentation), '$(AnalysisLevelPrefixDocumentation)-', '')) - - $(_NoneAnalysisLevel) - $(_LatestAnalysisLevel) - $(_PreviewAnalysisLevel) - - $(AnalysisLevelPrefixDocumentation) - $(AnalysisLevelDocumentation) - - $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelDocumentation), '(.0)*$', '')) - - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation>$(AnalysisLevelSuffixDocumentation) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation)' == ''">$(AnalysisModeDocumentation) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation)' == 'AllEnabledByDefault'">All - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation)' == 'AllDisabledByDefault'">None - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation)' == ''">Default - - - $(CodeAnalysisTreatWarningsAsErrors) - - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDocumentation_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror - - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDocumentation Condition="'$(MicrosoftCodeAnalysisNetAnalyzersDocumentationRulesVersion)' != ''">AnalysisLevelDocumentation_$(MicrosoftCodeAnalysisNetAnalyzersDocumentationRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDocumentation_WarnAsErrorSuffix).globalconfig - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDocumentation>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDocumentation.ToLowerInvariant()) - <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersDocumentation Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersDocumentation)' == ''">$(MSBuildThisFileDirectory)config - <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersDocumentation Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDocumentation)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersDocumentation)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDocumentation) - - - - - - - - - - $(AnalysisLevel) - - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelGlobalization), '-(.)*', '')) - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelGlobalization), '$(AnalysisLevelPrefixGlobalization)-', '')) - - $(_NoneAnalysisLevel) - $(_LatestAnalysisLevel) - $(_PreviewAnalysisLevel) - - $(AnalysisLevelPrefixGlobalization) - $(AnalysisLevelGlobalization) - - $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelGlobalization), '(.0)*$', '')) - - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization>$(AnalysisLevelSuffixGlobalization) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization)' == ''">$(AnalysisModeGlobalization) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization)' == 'AllEnabledByDefault'">All - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization)' == 'AllDisabledByDefault'">None - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization)' == ''">Default - - - $(CodeAnalysisTreatWarningsAsErrors) - - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersGlobalization_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror - - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersGlobalization Condition="'$(MicrosoftCodeAnalysisNetAnalyzersGlobalizationRulesVersion)' != ''">AnalysisLevelGlobalization_$(MicrosoftCodeAnalysisNetAnalyzersGlobalizationRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersGlobalization_WarnAsErrorSuffix).globalconfig - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersGlobalization>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersGlobalization.ToLowerInvariant()) - <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersGlobalization Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersGlobalization)' == ''">$(MSBuildThisFileDirectory)config - <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersGlobalization Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersGlobalization)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersGlobalization)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersGlobalization) - - - - - - - - - - $(AnalysisLevel) - - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelInteroperability), '-(.)*', '')) - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelInteroperability), '$(AnalysisLevelPrefixInteroperability)-', '')) - - $(_NoneAnalysisLevel) - $(_LatestAnalysisLevel) - $(_PreviewAnalysisLevel) - - $(AnalysisLevelPrefixInteroperability) - $(AnalysisLevelInteroperability) - - $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelInteroperability), '(.0)*$', '')) - - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability>$(AnalysisLevelSuffixInteroperability) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability)' == ''">$(AnalysisModeInteroperability) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability)' == 'AllEnabledByDefault'">All - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability)' == 'AllDisabledByDefault'">None - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability)' == ''">Default - - - $(CodeAnalysisTreatWarningsAsErrors) - - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersInteroperability_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror - - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersInteroperability Condition="'$(MicrosoftCodeAnalysisNetAnalyzersInteroperabilityRulesVersion)' != ''">AnalysisLevelInteroperability_$(MicrosoftCodeAnalysisNetAnalyzersInteroperabilityRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersInteroperability_WarnAsErrorSuffix).globalconfig - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersInteroperability>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersInteroperability.ToLowerInvariant()) - <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersInteroperability Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersInteroperability)' == ''">$(MSBuildThisFileDirectory)config - <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersInteroperability Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersInteroperability)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersInteroperability)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersInteroperability) - - - - - - - - - - $(AnalysisLevel) - - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelMaintainability), '-(.)*', '')) - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelMaintainability), '$(AnalysisLevelPrefixMaintainability)-', '')) - - $(_NoneAnalysisLevel) - $(_LatestAnalysisLevel) - $(_PreviewAnalysisLevel) - - $(AnalysisLevelPrefixMaintainability) - $(AnalysisLevelMaintainability) - - $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelMaintainability), '(.0)*$', '')) - - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability>$(AnalysisLevelSuffixMaintainability) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability)' == ''">$(AnalysisModeMaintainability) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability)' == 'AllEnabledByDefault'">All - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability)' == 'AllDisabledByDefault'">None - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability)' == ''">Default - - - $(CodeAnalysisTreatWarningsAsErrors) - - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersMaintainability_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror - - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersMaintainability Condition="'$(MicrosoftCodeAnalysisNetAnalyzersMaintainabilityRulesVersion)' != ''">AnalysisLevelMaintainability_$(MicrosoftCodeAnalysisNetAnalyzersMaintainabilityRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersMaintainability_WarnAsErrorSuffix).globalconfig - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersMaintainability>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersMaintainability.ToLowerInvariant()) - <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersMaintainability Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersMaintainability)' == ''">$(MSBuildThisFileDirectory)config - <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersMaintainability Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersMaintainability)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersMaintainability)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersMaintainability) - - - - - - - - - - $(AnalysisLevel) - - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelNaming), '-(.)*', '')) - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelNaming), '$(AnalysisLevelPrefixNaming)-', '')) - - $(_NoneAnalysisLevel) - $(_LatestAnalysisLevel) - $(_PreviewAnalysisLevel) - - $(AnalysisLevelPrefixNaming) - $(AnalysisLevelNaming) - - $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelNaming), '(.0)*$', '')) - - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming>$(AnalysisLevelSuffixNaming) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming)' == ''">$(AnalysisModeNaming) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming)' == 'AllEnabledByDefault'">All - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming)' == 'AllDisabledByDefault'">None - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming)' == ''">Default - - - $(CodeAnalysisTreatWarningsAsErrors) - - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersNaming_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror - - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersNaming Condition="'$(MicrosoftCodeAnalysisNetAnalyzersNamingRulesVersion)' != ''">AnalysisLevelNaming_$(MicrosoftCodeAnalysisNetAnalyzersNamingRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersNaming_WarnAsErrorSuffix).globalconfig - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersNaming>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersNaming.ToLowerInvariant()) - <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersNaming Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersNaming)' == ''">$(MSBuildThisFileDirectory)config - <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersNaming Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersNaming)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersNaming)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersNaming) - - - - - - - - - - $(AnalysisLevel) - - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelPerformance), '-(.)*', '')) - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelPerformance), '$(AnalysisLevelPrefixPerformance)-', '')) - - $(_NoneAnalysisLevel) - $(_LatestAnalysisLevel) - $(_PreviewAnalysisLevel) - - $(AnalysisLevelPrefixPerformance) - $(AnalysisLevelPerformance) - - $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelPerformance), '(.0)*$', '')) - - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance>$(AnalysisLevelSuffixPerformance) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance)' == ''">$(AnalysisModePerformance) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance)' == 'AllEnabledByDefault'">All - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance)' == 'AllDisabledByDefault'">None - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance)' == ''">Default - - - $(CodeAnalysisTreatWarningsAsErrors) - - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersPerformance_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror - - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersPerformance Condition="'$(MicrosoftCodeAnalysisNetAnalyzersPerformanceRulesVersion)' != ''">AnalysisLevelPerformance_$(MicrosoftCodeAnalysisNetAnalyzersPerformanceRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersPerformance_WarnAsErrorSuffix).globalconfig - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersPerformance>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersPerformance.ToLowerInvariant()) - <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersPerformance Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersPerformance)' == ''">$(MSBuildThisFileDirectory)config - <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersPerformance Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersPerformance)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersPerformance)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersPerformance) - - - - - - - - - - $(AnalysisLevel) - - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelReliability), '-(.)*', '')) - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelReliability), '$(AnalysisLevelPrefixReliability)-', '')) - - $(_NoneAnalysisLevel) - $(_LatestAnalysisLevel) - $(_PreviewAnalysisLevel) - - $(AnalysisLevelPrefixReliability) - $(AnalysisLevelReliability) - - $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelReliability), '(.0)*$', '')) - - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability>$(AnalysisLevelSuffixReliability) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability)' == ''">$(AnalysisModeReliability) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability)' == 'AllEnabledByDefault'">All - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability)' == 'AllDisabledByDefault'">None - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability)' == ''">Default - - - $(CodeAnalysisTreatWarningsAsErrors) - - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersReliability_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror - - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersReliability Condition="'$(MicrosoftCodeAnalysisNetAnalyzersReliabilityRulesVersion)' != ''">AnalysisLevelReliability_$(MicrosoftCodeAnalysisNetAnalyzersReliabilityRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersReliability_WarnAsErrorSuffix).globalconfig - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersReliability>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersReliability.ToLowerInvariant()) - <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersReliability Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersReliability)' == ''">$(MSBuildThisFileDirectory)config - <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersReliability Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersReliability)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersReliability)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersReliability) - - - - - - - - - - $(AnalysisLevel) - - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelSecurity), '-(.)*', '')) - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelSecurity), '$(AnalysisLevelPrefixSecurity)-', '')) - - $(_NoneAnalysisLevel) - $(_LatestAnalysisLevel) - $(_PreviewAnalysisLevel) - - $(AnalysisLevelPrefixSecurity) - $(AnalysisLevelSecurity) - - $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelSecurity), '(.0)*$', '')) - - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity>$(AnalysisLevelSuffixSecurity) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity)' == ''">$(AnalysisModeSecurity) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity)' == 'AllEnabledByDefault'">All - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity)' == 'AllDisabledByDefault'">None - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity)' == ''">Default - - - $(CodeAnalysisTreatWarningsAsErrors) - - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersSecurity_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror - - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersSecurity Condition="'$(MicrosoftCodeAnalysisNetAnalyzersSecurityRulesVersion)' != ''">AnalysisLevelSecurity_$(MicrosoftCodeAnalysisNetAnalyzersSecurityRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersSecurity_WarnAsErrorSuffix).globalconfig - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersSecurity>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersSecurity.ToLowerInvariant()) - <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersSecurity Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersSecurity)' == ''">$(MSBuildThisFileDirectory)config - <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersSecurity Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersSecurity)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersSecurity)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersSecurity) - - - - - - - - - - $(AnalysisLevel) - - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelUsage), '-(.)*', '')) - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelUsage), '$(AnalysisLevelPrefixUsage)-', '')) - - $(_NoneAnalysisLevel) - $(_LatestAnalysisLevel) - $(_PreviewAnalysisLevel) - - $(AnalysisLevelPrefixUsage) - $(AnalysisLevelUsage) - - $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelUsage), '(.0)*$', '')) - - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage>$(AnalysisLevelSuffixUsage) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage)' == ''">$(AnalysisModeUsage) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage)' == 'AllEnabledByDefault'">All - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage)' == 'AllDisabledByDefault'">None - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage)' == ''">Default - - - $(CodeAnalysisTreatWarningsAsErrors) - - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersUsage_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror - - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersUsage Condition="'$(MicrosoftCodeAnalysisNetAnalyzersUsageRulesVersion)' != ''">AnalysisLevelUsage_$(MicrosoftCodeAnalysisNetAnalyzersUsageRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersUsage_WarnAsErrorSuffix).globalconfig - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersUsage>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersUsage.ToLowerInvariant()) - <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersUsage Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersUsage)' == ''">$(MSBuildThisFileDirectory)config - <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersUsage Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersUsage)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersUsage)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersUsage) - - - - - - - - - - - - - - - - - - <_SupportedPlatformList>@(SupportedPlatform, ',') - - - - - - - - - $(CodeAnalysisTreatWarningsAsErrors) - $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) - - - - - - - - - $(AnalysisLevel) - - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelStyle), '-(.)*', '')) - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelStyle), '$(AnalysisLevelPrefixStyle)-', '')) - - $(AnalysisLevelSuffix) - - $(AnalysisMode) - - $(_NoneAnalysisLevel) - $(_LatestAnalysisLevel) - $(_PreviewAnalysisLevel) - - $(AnalysisLevelPrefixStyle) - $(AnalysisLevelStyle) - - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle>$(AnalysisModeStyle) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle)' == ''">$(AnalysisLevelSuffixStyle) - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle)' == 'AllEnabledByDefault'">All - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle)' == 'AllDisabledByDefault'">None - <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle)' == ''">Default - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisCSharpCodeStyle>AnalysisLevelStyle_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle).globalconfig - <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisCSharpCodeStyle>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisCSharpCodeStyle.ToLowerInvariant()) - <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisCSharpCodeStyle Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisCSharpCodeStyle)' == ''">$(MSBuildThisFileDirectory)config - <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisCSharpCodeStyle Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisCSharpCodeStyle)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisCSharpCodeStyle)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisCSharpCodeStyle) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - true - - - $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets - - - - - - - - - - 0.0 - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - - - - $(TargetPlatformVersion) - - - - - $(EnableDefaultItems) - - - - - - <_AndroidBuildDependsOn> - _ValidateLinkMode; - _CheckNonIdealConfigurations; - _SetupMSBuildAllProjects; - _SetupDesignTimeBuildForBuild; - AndroidPrepareForBuild; - _BuildAndroidGradleProjects; - _CategorizeAndroidLibraries; - _CreatePropertiesCache; - _CleanIntermediateIfNeeded; - _CheckProjectItems; - _CheckForContent; - _CheckForObsoleteFrameworkAssemblies; - _ValidateAndroidPackageProperties; - AddLibraryJarsToBind; - _CollectJavaSourceForBinding; - _CompileBindingJava; - - - - - $(_AndroidBuildDependsOn); - $(BuildDependsOn); - _CompileDex; - $(_AfterCompileDex); - - - - $(BuildDependsOn); - _CopyPackage; - _Sign; - _CreateUniversalApkFromBundle; - - - _PrepareAssemblies; - _CompileDex; - $(_AfterCompileDex); - _AddFilesToFileWrites; - $(IncrementalCleanDependsOn); - - <_PackageForAndroidDependsOn> - Build; - _CopyPackage; - - <_PrepareBuildApkDependsOnTargets> - _SetLatestTargetFrameworkVersion; - _GetLibraryImports; - _RemoveRegisterAttribute; - _ResolveAssemblies; - _ResolveSatellitePaths; - _CreatePackageWorkspace; - _LinkAssemblies; - _GenerateJavaStubs; - _ManifestMerger; - _ConvertCustomView; - $(_AfterConvertCustomView); - $(AfterGenerateAndroidManifest); - _GenerateEnvironmentFiles; - _CompileJava; - _CreateApplicationSharedLibraries; - _CompileDex; - $(_AfterCompileDex); - _CreateBaseApk; - _PrepareAssemblies; - _ResolveSatellitePaths; - _CheckApkPerAbiFlag; - _LintChecks; - _IncludeNativeSystemLibraries; - _CheckGoogleSdkRequirements; - BuildAndroidAssetPacks; - - - - - $(_AndroidBuildDependsOn); - $(BuildDependsOn); - _CalculateAssetsWithAssetPackMetaData; - _CreateAar; - - - _AddFilesToFileWrites; - $(IncrementalCleanDependsOn); - - - - - _CreatePropertiesCache; - _SeparateAppExtensionReferences; - $(ResolveReferencesDependsOn); - _AddAndroidCustomMetaData; - _ResolveAars; - - - $(CoreResolveReferencesDependsOn); - UpdateAndroidResources; - _BuildResourceDesigner; - UpdateAndroidInterfaceProxies; - _CheckForInvalidDesignerConfig; - - - $(DesignTimeResolveAssemblyReferencesDependsOn); - _BuildResourceDesigner; - - <_UpdateAndroidResourcesDependsOn> - $(CoreResolveReferencesDependsOn); - _CreatePropertiesCache; - _CheckForDeletedResourceFile; - _ComputeAndroidResourcePaths; - _UpdateAndroidResgen; - _CreateAar; - _BuildResourceDesigner; - - - _SetupMSBuildAllProjects; - _SetupDesignTimeBuildForCompile; - AndroidPrepareForBuild; - _IncludeLayoutBindingSources; - AddLibraryJarsToBind; - _CollectLibrariesToBind; - _SetAndroidGenerateManagedBindings; - ExportJarToXml; - GenerateBindings; - _CollectGeneratedManagedBindingFiles; - _ClearGeneratedManagedBindings; - AddBindingsToCompile; - _BuildResourceDesigner; - _AddResourceDesignerFiles; - $(CompileDependsOn); - _CheckAndroidHttpClientHandlerType; - - - UpdateGeneratedFiles; - $(CoreCompileDependsOn); - - - $(DeferredBuildDependsOn); - UpdateAndroidResources; - - - $(PrepareForRunDependsOn); - _CollectMonoAndroidOutputs; - - - $(CleanDependsOn); - _CleanMonoAndroidIntermediateDir; - _CleanAndroidBuildPropertiesCache; - _CleanAarCache; - CleanBindingsOutput; - CleanLibraryProjectIntermediaries; - CleanNativeLibraryIntermediaries; - _CleanAndroidGradleProjects; - - - _ResolveMonoAndroidSdks; - _ExtractLibraryProjectImports; - _GetLibraryImports; - _ExtractAar; - _CollectJavaSourceForBinding; - _ExportJarToXml; - - - _BeforeGetAndroidDependencies; - _SetLatestTargetFrameworkVersion; - _ResolveSdks; - _ResolveAndroidTooling; - $(GetAndroidDependenciesDependsOn); - - <_ResolveLibraryProjectsDependsOn> - _ExtractAar; - - <_CompileBindingJavaDependsOnTargets> - _AdjustJavacVersionArguments; - _GetLibraryImports; - _DetermineBindingJavaLibrariesToCompile; - _GetJavaPlatformJar; - - <_IncludeAarInNuGetPackageDependsOn> - _BuildAndroidGradleProjects; - _CategorizeAndroidLibraries; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), 'Xamarin.Android.Sdk.props'))\Xamarin.Android.Sdk.props - - - - - - - 35.0.0 - 12.0 - 34.0.5 - - android-35 - 26.1.10909125 - 17.0.14 - - - - - 35.0.0 - 34.0.5 - android-35 - 12.0 - - 26.3.11579264 - 17.0.14 - 17.0 - - - <_JavaInteropReferences>Java.Interop;System.Runtime - Xamarin - true - false - true - true - 21.0.99 - {abi}{versionCode:D5} - UpdateGeneratedFiles - True - True - LowercaseCrc64 - False - 1.17.0 - <_XamarinAndroidMSBuildDirectory>$(MSBuildThisFileDirectory) - 1.8 - 1.8 - - true - - - - 21 - - - 21 - - - 21 - - - 21 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Designer - MSBuild:UpdateGeneratedFiles - - - true - true - - - true - - - true - - - - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - _SetLatestTargetFrameworkVersion; - $(ResolveNuGetPackageAssetsDependsOn) - - - _SetLatestTargetFrameworkVersion; - $(GetReferenceAssemblyPathsDependsOn) - - - - - <_XAMajorVersionNumber>1 - <_XASupportsFastDev Condition=" Exists ('$(MSBuildThisFileDirectory)Xamarin.Android.Common.Debugging.targets') ">True - <_XASupportsFastDev Condition=" '$(_XASupportsFastDev)' == '' ">False - $(UseInterpreter) - False - false - False - True - False - MonoAndroid - v$(_XAMajorVersionNumber).0 - True - False - True - True - False - False - False - False - Android.App.Fragment - True - False - <_AndroidCheckedBuild Condition=" '$(_AndroidCheckedBuild)' == '' " /> - - False - True - - True - Interpreter - Normal - None - True - False - False - True - True - False - False - False - - - - - - - False - False - - true - - True - False - - Off - RSA - 10950 - pkcs12 - - None - <_AndroidLayoutBindingsDependencyCache>$(IntermediateOutputPath)layout-binding-deps.cache - <_AndroidProguardInputJarFilter>(!META-INF/MANIFEST.MF) - <_AndroidAapt2VersionFile>$(IntermediateOutputPath)aapt2.version - <_AndroidLibraryFlatArchivesDirectory>$(IntermediateOutputPath)flata\ - <_AndroidLibraryFlatFilesDirectory>$(IntermediateOutputPath)flat\ - <_AndroidStampDirectory>$(IntermediateOutputPath)stamp\ - <_AndroidBuildIdFile>$(IntermediateOutputPath)buildid.txt - <_AndroidApplicationSharedLibraryPath>$(IntermediateOutputPath)app_shared_libraries\ - <_ResolvedUserAssembliesHashFile>$(IntermediateOutputPath)resolvedassemblies.hash - d8 - <_AndroidXA1027 Condition=" '$(EnableProguard)' == 'true' And '$(AndroidEnableProguard)' == '' And '$(AndroidDexTool)' == 'd8' And $(AndroidLinkTool) == '' ">true - <_AndroidXA1028 Condition=" '$(AndroidEnableProguard)' == 'true' And '$(AndroidDexTool)' == 'd8' And $(AndroidLinkTool) == '' ">true - - $(EnableProguard) - True - False - d8 - d8 - - proguard - r8 - True - True - False - True - True - True - - aab - <_AndroidAdditionalPackageFormats Condition=" $(AndroidPackageFormats.Contains('apk')) And '$(AndroidPackageFormat)' == 'aab' ">apk - apk - True - False - False - SHA256withRSA - SHA-256 - manifestmerger.jar - - 1G - <_AndroidMainDexListFile>$(IntermediateOutputPath)multidex.keep - - <_PackagedResources>$(IntermediateOutputPath)android\bin\packaged_resources - <_Android32bitArchitectures>armeabi-v7a;x86;mips - <_Android64bitArchitectures>arm64-v8a;x86_64;mips64 - <_AndroidSequencePointsMode Condition=" '$(MonoSymbolArchive)' == 'True' And '$(AndroidUseDebugRuntime)' == 'False' And '$(AotAssemblies)' == 'True' And '$(DebugSymbols)' == 'True' And ('$(DebugType)' == 'PdbOnly' Or '$(DebugType)' == 'Portable')">Offline - <_AndroidSequencePointsMode Condition=" '$(MonoSymbolArchive)' == 'True' And '$(AndroidUseDebugRuntime)' == 'False' And '$(_AndroidSequencePointsMode)' == ''">Normal - <_AndroidSequencePointsMode Condition=" '$(_AndroidSequencePointsMode)' == ''">None - <_AndroidBuildPropertiesCache>$(IntermediateOutputPath)build.props - <_AdbPropertiesCache>$(IntermediateOutputPath)adb.props - False - False - - <_AndroidEnablePreloadAssembliesDefault>False - $(_AndroidEnablePreloadAssembliesDefault) - <_NativeAssemblySourceDir>$(IntermediateOutputPath)android\ - <_AndroidUseNewTypemaps>True - <_SkipJniAddNativeMethodRegistrationAttributeScan Condition=" '$(_SkipJniAddNativeMethodRegistrationAttributeScan)' == '' ">False - <_AndroidFastDeployEnvironmentFiles Condition=" '$(_AndroidFastDeployEnvironmentFiles)' == '' And '$(EmbedAssembliesIntoApk)' == 'False' ">True - <_AndroidFastDeployEnvironmentFiles Condition=" '$(_AndroidFastDeployEnvironmentFiles)' == '' ">False - - - - - True - - - - - True - - - - - True - - - - - False - - - - - <_AndroidAotStripLibraries Condition=" '$(_AndroidAotStripLibraries)' == '' And '$(AndroidIncludeDebugSymbols)' != 'true' ">True - false - true - True - False - False - <_AndroidUseMarshalMethods Condition=" '$(AndroidIncludeDebugSymbols)' == 'True' ">False - <_AndroidUseMarshalMethods Condition=" '$(AndroidIncludeDebugSymbols)' != 'True' ">$(AndroidEnableMarshalMethods) - - - - - {HintPathFromItem}; - {TargetFrameworkDirectory}; - {RawFileName}; - - - .dll; - - - .pdb; - .xml; - .dll.config; - - - - - - - - - - - - - <_UseR8 Condition=" ('$(AndroidLinkTool)' == 'r8' And '$(_ProguardProjectConfiguration)' != '') Or '$(AndroidEnableMultiDex)' == 'True' ">True - <_UseR8 Condition=" '$(_UseR8)' == '' ">False - - <_R8EnableShrinking Condition=" '$(AndroidLinkTool)' == 'r8' ">True - <_R8EnableShrinking Condition=" '$(_R8EnableShrinking)' == '' ">False - - - - - <_DexesToDelete Include="$(_AndroidIntermediateDexOutputDirectory)*.dex" /> - - - - - <_AndroidD8MapDiagnostics Condition=" '$(AndroidD8IgnoreWarnings)' == 'true' " Include="warning" To="info" /> - <_AndroidR8MapDiagnostics Condition=" '$(AndroidR8IgnoreWarnings)' == 'true' " Include="warning" To="info" /> - - - - - - - - - - - - - - - - 0 - <_Aapt2DaemonKeepInDomain Condition=" '$(_Aapt2DaemonKeepInDomain)' == '' ">false - - - - <_SetLatestTargetFrameworkVersionDependsOnTargets> - $(_SetLatestTargetFrameworkVersionDependsOnTargets); - _CreateAapt2VersionCache; - - <_PrepareUpdateAndroidResgenDependsOnTargets> - _CompileResources; - _Aapt2UpdateAndroidResgenInputs; - $(_PrepareUpdateAndroidResgenDependsOnTargets); - - <_AfterConvertCustomView> - $(_AfterConvertCustomView); - _FixupCustomViewsForAapt2; - - - - - - - - - - - - - <_CompiledFlataArchive Include="$(_AndroidLibrayProjectIntermediatePath)**\*.flata" /> - <_CompiledFlataArchive Include="$(_AndroidLibrayProjectIntermediatePath)**\*.flat" /> - <_CompiledFlataArchive Include="$(_AndroidLibraryFlatFilesDirectory)*.flat" /> - <_CompiledFlataArchive Include="$(_AndroidLibraryFlatArchivesDirectory)\*.flata" /> - <_CompiledFlataStamp Include="$(_AndroidLibrayProjectIntermediatePath)**\compiled.stamp" /> - - - - - - - - - - - - - - - - - - - - - - - <_CompileResourcesInputs Include="@(_AndroidResourceDest)"> - %(Identity) - - <_CompiledFlatFiles Include="@(_CompileResourcesInputs->'%(_ArchiveDirectory)%(_FlatFile)')" /> - - - - - - - - <_UpdateAndroidResgenInputs> - $(_UpdateAndroidResgenInputs); - @(_CompiledFlatFiles); - @(_LibraryResourceDirectoryStamps); - - <_CreateBaseApkInputs> - $(_CreateBaseApkInputs); - @(_CompiledFlatFiles); - @(_LibraryResourceDirectoryStamps); - - - - - - --no-version-vectors $(AndroidAapt2LinkExtraArgs) - - - - - - - - - <_ItemsToFixup Include="@(_CompileResourcesInputs)" Condition=" '@(_ProcessedCustomViews->'%(Identity)')' == '%(Identity)' " /> - - - - - - - - - <_ProtobufFormat Condition=" '$(AndroidPackageFormat)' == 'aab' ">True - <_ProtobufFormat Condition=" '$(_ProtobufFormat)' == '' ">False - <_Aapt2ProguardRules Condition=" '$(AndroidLinkTool)' != '' ">$(IntermediateOutputPath)aapt_rules.txt - <_OutputFileDir>$([System.IO.Path]::GetDirectoryName ('$(_PackagedResources)')) - - - - - - - - - - - - - - - - - - - - $(IntermediateOutputPath)assets\ - $(IntermediateOutputPath)assetpacks - Assets - true - - - - UpdateAndroidAssets - ;_CalculateAssetsWithAssetPackMetaData - ;_CalculateAssetPacks - ;$(BeforeBuildAndroidAssetPacks) - ;_CreateAssetPackManifests - - - - - - - - - - - - - <_AssetDirectories Include="$(MonoAndroidAssetsDirIntermediate)" /> - <_AssetDirectories Include="@(_AssetPacks->'%(AssetPackDirectory)')" /> - - - - - - - - - - - - <_AssetsWithAssetPackMetaData Include="@(AndroidAsset)" Condition=" '%(AndroidAsset.AssetPack)' != '' " /> - - - - - - - - - - <_AssetPacks Include="@(_AndroidAsset)"> - $(MonoAndroidAssetPacksDirIntermediate)\%(_AndroidAsset.AssetPack)\assets - $(MonoAndroidAssetPacksDirIntermediate)\%(_AndroidAsset.AssetPack).zip - $(MonoAndroidAssetPacksDirIntermediate)\%(_AndroidAsset.AssetPack)\AndroidManifest.xml - InstallTime - - - - - - - - - - - - - - - - - - - - - - - <_AndroidIntermediateDesignTimeBuildDirectory>$(IntermediateOutputPath)designtime\ - <_AndroidIntermediateDesignTimeStampDirectory>$(_AndroidIntermediateDesignTimeBuildDirectory)stamp\ - <_AndroidDesignTimeBuildPropertiesCache>$(_AndroidIntermediateDesignTimeBuildDirectory)build.props - <_AndroidLibraryImportsDesignTimeCache>$(_AndroidIntermediateDesignTimeBuildDirectory)libraryimports.cache - <_AndroidLibraryProjectImportsDesignTimeCache>$(_AndroidIntermediateDesignTimeBuildDirectory)libraryprojectimports.cache - <_AndroidManagedResourceDesignerFile>$(_AndroidIntermediateDesignTimeBuildDirectory)$(_AndroidResourceDesigner) - - - - <_AndroidMSBuildAllProjects Include="$(MSBuildAllProjects)" Exclude="$(MSBuildProjectFullPath).user" /> - - - - - false - - - - - - true - true - True - False - <_AndroidStampDirectory Condition=" '$(DesignTimeBuild)' == 'true' ">$(_AndroidIntermediateDesignTimeStampDirectory) - <_AndroidLibraryImportsCache Condition=" '$(DesignTimeBuild)' == 'true' And !Exists ('$(_AndroidLibraryImportsCache)') ">$(_AndroidLibraryImportsDesignTimeCache) - <_AndroidLibraryProjectImportsCache Condition=" '$(DesignTimeBuild)' == 'true' And !Exists ('$(_AndroidLibraryProjectImportsCache)') ">$(_AndroidLibraryProjectImportsDesignTimeCache) - <_AndroidBuildPropertiesCache Condition=" '$(DesignTimeBuild)' == 'true' ">$(_AndroidDesignTimeBuildPropertiesCache) - <_GeneratorStampFile Condition=" '$(DesignTimeBuild)' == 'true' And !Exists('$(_GeneratorStampFile)') ">$(_AndroidIntermediateDesignTimeStampDirectory)generator.stamp - <_AndroidResgenFlagFile Condition=" '$(DesignTimeBuild)' == 'true' And !Exists('$(_AndroidResgenFlagFile)') ">$(_AndroidIntermediateDesignTimeBuildDirectory)R.cs.flag - - - - - - - - - - - - - <_LibraryProjectImportsDirectoryName Condition=" '$(_LibraryProjectImportsDirectoryName)' == '' ">jl - <_NativeLibraryImportsDirectoryName Condition=" '$(_NativeLibraryImportsDirectoryName)' == '' ">nl - <_AndroidLibraryImportsCache>$(IntermediateOutputPath)libraryimports.cache - <_AndroidLibraryProjectImportsCache>$(IntermediateOutputPath)libraryprojectimports.cache - <_AndroidLibrayProjectIntermediatePath Condition=" '$(_AndroidLibrayProjectIntermediatePath)' == '' ">$(IntermediateOutputPath)lp\ - <_AndroidLibrayProjectAssemblyMapFile>$(_AndroidLibrayProjectIntermediatePath)map.cache - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_GetLibraryImportsDependsOnTargets Condition=" '$(_AndroidIsBindingProject)' == 'true' "> - _ExtractLibraryProjectImports; - _BuildLibraryImportsCache; - - <_GetLibraryImportsDependsOnTargets Condition=" '$(_AndroidIsBindingProject)' != 'true' "> - _ExtractLibraryProjectImports; - _AddMultiDexDependencyJars; - _BuildLibraryImportsCache; - - - - - - - - - - - - - - - - - - <_AndroidIntermediateBindingJavaClassDirectory>$(IntermediateOutputPath)binding\bin\classes\ - <_AndroidIntermediateBindingJavaSourceDirectory>$(IntermediateOutputPath)binding\src - <_AndroidIntermediateBindingClassesZip>$(IntermediateOutputPath)binding\bin\$(MSBuildProjectName).jar - <_AndroidIntermediateBindingClassesDocs>$(IntermediateOutputPath)binding\bin\$(MSBuildProjectName)-docs.xml - <_AndroidCompileJavaStampFile>$(_AndroidStampDirectory)_CompileJava.stamp - <_AndroidCompileJavaFileList>$(IntermediateOutputPath)_CompileJava.FileList.txt - <_AndroidCompileBindingJavaStampFile>$(_AndroidStampDirectory)_CompileBindingJava.stamp - <_AndroidCompileBindingJavaFileList>$(IntermediateOutputPath)_CompileBindingJava.FileList.txt - - - - - - - - - - - - - - - - - - - - <_JavaLibrariesToCompileForApp Include="@(_JavaLibrariesToCompile)" /> - - - - - <_JavaBindingSource Include="@(AndroidJavaSource)" Condition=" '%(AndroidJavaSource.Bind)' == 'True' " /> - - - - - - - - - <_JavaSource Include="@(AndroidJavaSource)" Condition=" '%(AndroidJavaSource.Bind)' != 'True' " /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - False - - - - <_DesignerAssemblyName>_Microsoft.Android.Resource.Designer - - <_DesignerIntermediateOutputPath Condition=" '$(_DesignerIntermediateOutputPath)' == '' And Exists ('$(IntermediateOutputPath)$(_DesignerAssemblyName).dll') ">$(IntermediateOutputPath) - <_DesignerIntermediateOutputPath Condition=" '$(_DesignerIntermediateOutputPath)' == '' And '$(_OuterIntermediateOutputPath)' != '' And Exists ('$(_OuterIntermediateOutputPath)$(_DesignerAssemblyName).dll') ">$(_OuterIntermediateOutputPath) - - <_DesignerIntermediateOutputPath Condition=" '$(_DesignerIntermediateOutputPath)' == '' And '$(_OuterIntermediateOutputPath)' != '' ">$(_OuterIntermediateOutputPath) - <_DesignerIntermediateOutputPath Condition=" '$(_DesignerIntermediateOutputPath)' == '' ">$(IntermediateOutputPath) - <_GenerateResourceDesignerAssemblyOutput>$(_DesignerIntermediateOutputPath)$(_DesignerAssemblyName).dll - <_GenerateResourceDesignerClassFile Condition=" '$(Language)' == 'F#' ">$(_DesignerIntermediateOutputPath)_$(_DesignerAssemblyName).fs - <_GenerateResourceDesignerClassFile Condition=" '$(_GenerateResourceDesignerClassFile)' == '' ">$(_DesignerIntermediateOutputPath)_$(_DesignerAssemblyName).cs - <_GenerateResourceCaseMapFile>$(_DesignerIntermediateOutputPath)case_map.txt - public - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_BuildResourceDesignerDependsOn> - _SetupDesignerProperties; - _GenerateResourceCaseMap; - _GenerateRtxt; - _GenerateResourceDesignerIntermediateClass; - _GenerateResourceDesignerAssembly; - _AddResourceDesignerFiles; - - - - - - PreserveNewest - - - - - - - - - - - - $(_DesignerAssemblyName).dll - PreserveNewest - true - true - - - - - - - <_ResourceDesignerFiles Include="%(ReferencePathWithRefAssemblies.Identity)" Condition="'%(ReferencePathWithRefAssemblies.OriginalPath)' == '$(_GenerateResourceDesignerAssemblyOutput)'" /> - - - - - - - - - - - - <_SetLatestTargetFrameworkVersionDependsOnTargets Condition=" '$(_AndroidIsBindingProject)' == 'True'"> - _ResolveSdks; - _ResolveAndroidTooling; - - <_SetLatestTargetFrameworkVersionDependsOnTargets Condition=" '$(_AndroidIsBindingProject)' != 'True'"> - _ResolveSdks; - _ResolveAndroidTooling; - _InjectAaptDependencies; - - - - - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) - $(TargetFrameworkMoniker) - $(IntermediateOutputPath)$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension) - - - - - - - <_ResolveSdksDependsOnTargets>ResolveTargetingPackAssets - - - - - <_AndroidApiInfo Include="$(MSBuildThisFileDirectory)..\data\*\AndroidApiInfo.xml" /> - <_AndroidApiInfoDirectories Include="@(_AndroidApiInfo->'%(RootDir)%(Directory)')" /> - <_ResolveSdksFrameworkRefAssemblyPaths Include="@(Reference->'$([System.String]::Copy('%(RootDir)%(Directory)').TrimEnd('\'))')" Condition=" '%(Reference.FrameworkReferenceName)' != '' " /> - - - <_AndroidAllowMissingSdkTooling Condition=" '$(_AndroidAllowMissingSdkTooling)' == '' ">False - <_XATargetFrameworkDirectories>@(_ResolveSdksFrameworkRefAssemblyPaths->Distinct()) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_AppExtensionReference Condition=" '%(ProjectReference.IsAppExtension)' == 'True' " Include="@(ProjectReference)" /> - - - - - - - - - - - - - <_ReferencePath Include="@(ReferencePath)" Condition="'$(AndroidApplication)' == '' Or !$(AndroidApplication)" /> - <_ReferenceDependencyPaths Include="@(ReferenceDependencyPaths)" Condition="'$(AndroidApplication)' == '' Or !$(AndroidApplication)" /> - - - - - - - - - - - - - - - - - <_AndroidRemapMembers Include="$(MonoAndroidAssetsDirIntermediate)xa-internal/xa-mam-mapping.xml" /> - - - - <_XARemapMembersFilePath>$(MonoAndroidAssetsDirIntermediate)xa-internal/xa-remap-members.xml - - - - - - - - - - - - - - - - - <_AndroidUnsupportedPackages Include="%(ResolvedCompileFileDefinitions.NuGetPackageId)" Condition=" '%(ResolvedCompileFileDefinitions.NuGetPackageId)' != '' and ( $([System.String]::Copy(%(ResolvedCompileFileDefinitions.NuGetPackageId)).StartsWith ('Xamarin.Android.Arch.')) or $([System.String]::Copy(%(ResolvedCompileFileDefinitions.NuGetPackageId)).StartsWith ('Xamarin.Android.Support.')) )" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_AndroidManifestAbs Condition=" '$(AndroidManifest)' != '' ">$(ProjectDir)$(AndroidManifest) - - - <_AndroidPackage>$(ApplicationId) - <_ApplicationLabel>$(ApplicationTitle) - <_AndroidVersionName>$(ApplicationDisplayVersion) - <_AndroidVersionCode>$(ApplicationVersion) - - - - - - - - - $(IntermediateOutputPath)android\bin\$(_AndroidPackage).apk - <_BaseZipIntermediate Condition=" '$(_BaseZipIntermediate)' == '' ">$(IntermediateOutputPath)android\bin\base.zip - <_AppBundleIntermediate>$(IntermediateOutputPath)android\bin\$(_AndroidPackage).aab - <_ApkSetIntermediate>$(IntermediateOutputPath)android\bin\$(_AndroidPackage).apks - <_UniversalApkSetIntermediate>$(IntermediateOutputPath)android\bin\$(_AndroidPackage)-Universal.apks - $(OutDir)$(_AndroidPackage).apk - $(OutDir)$(_AndroidPackage)-Signed.apk - <_AabFile>$(OutDir)$(_AndroidPackage).aab - <_AabFileSigned>$(OutDir)$(_AndroidPackage)-Signed.aab - <_MSYMDirectory>$(OutDir)$(_AndroidPackage).$(AndroidPackageFormat).mSYM - - - - - - - - - - <_OnResolveMonoAndroidSdks> - _ResolveMonoAndroidSdks - ;_ValidateAndroidPackageProperties - ;$(_AfterResolveMonoAndroidSdks) - - <_ResolveMonoAndroidSdksDependsOn> - GetReferenceAssemblyPaths; - _ResolveSdks; - _ResolveAndroidTooling; - $(_ResolveMonoAndroidSdksDependsOn); - - - - - - - - - - - - - - <_AppSettingsDirectory>$([MSBuild]::EnsureTrailingSlash($(AppSettingsDirectory))) - <_ApkDebugKeyStore Condition=" '$(_ApkDebugKeyStore)' == '' ">$(_AppSettingsDirectory)debug.keystore - <_MonoAndroidToolsDirectory>$([MSBuild]::EnsureTrailingSlash($(MonoAndroidToolsDirectory))) - <_AndroidNdkDirectory>$([MSBuild]::EnsureTrailingSlash($(_AndroidNdkDirectory))) - <_AndroidSdkDirectory>$([MSBuild]::EnsureTrailingSlash($(_AndroidSdkDirectory))) - $([MSBuild]::EnsureTrailingSlash($(AndroidSdkBuildToolsPath))) - $([MSBuild]::EnsureTrailingSlash($(AndroidSdkBuildToolsBinPath))) - <_JavaSdkDirectory>$([MSBuild]::EnsureTrailingSlash($(_JavaSdkDirectory))) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $(MonoAndroidBinDirectory) - <_DefaultLintToolPath>$(_AndroidSdkDirectory)\cmdline-tools\$(AndroidCommandLineToolsVersion)\bin - $(_DefaultLintToolPath) - - - - - - - $(DefineConstants);@(AndroidDefineConstants) - - - - android.support.multidex.MultiDexApplication - android.app.Application - - - - - - - <_UploadFlagFile>$(IntermediateOutputPath)uploadflags.txt - - - - - - - - - <_ContentIncludedForCheck Include="@(Content)" Condition="'%(Content.ExcludeFromContentCheck)' != 'true'" /> - - - - - - - - - - <_AndroidExcludedDuplicateJavaLibraries Include="classes.jar" /> - <_AndroidExcludedDuplicateJavaLibraries Include="r-classes.jar" /> - <_AndroidExcludedDuplicateJavaLibraries Include="repackaged.jar" /> - - - - - - - - - $(IntermediateOutputPath)res\ - $(IntermediateOutputPath)android\assets\ - - $(MonoAndroidIntermediateAssemblyDir) - <_JniMarshalMethodsOutputDir>$(IntermediateOutputPath)jnisrc\ - Resources - - $(IntermediateOutputPath) - $(IntermediateOutputPath)codebehind - $(IntermediateOutputPath)resourcecache - <_AndroidIntermediateJavaSourceDirectory>$(IntermediateOutputPath)android\src\ - <_AndroidIntermediateDexOutputDirectory>$(IntermediateOutputPath)android\bin\ - <_AndroidIntermediateJavaClassDirectory>$(IntermediateOutputPath)android\bin\classes\ - <_AndroidIntermediateClassesZip>$(IntermediateOutputPath)android\bin\classes.zip - <_AndroidAotBinDirectory>$(IntermediateOutputPath)aot - <_AndroidResgenFlagFile>$(IntermediateOutputPath)R.cs.flag - <_AndroidResFlagFile>$(IntermediateOutputPath)res.flag - <_AndroidLinkFlag>$(IntermediateOutputPath)link.flag - <_AndroidApkPerAbiFlagFile>$(IntermediateOutputPath)android\bin\apk_per_abi.flag - <_AndroidDebugKeyStoreFlag>$(IntermediateOutputPath)android_debug_keystore.flag - <_RemoveRegisterFlag>$(MonoAndroidIntermediateAssemblyDir)shrunk\shrunk.flag - <_AcwMapFile>$(IntermediateOutputPath)acw-map.txt - <_CustomViewMapFile>$(IntermediateOutputPath)customview-map.txt - $(RootNamespace) - <_AndroidLintConfigFile>$(IntermediateOutputPath)lint.xml - <_AndroidResourceDesignerFile Condition=" '$(AndroidUseIntermediateDesignerFile)' == 'True' ">$(IntermediateOutputPath)$(_AndroidResourceDesigner) - <_AndroidResourceDesignerFile Condition=" '$(AndroidUseIntermediateDesignerFile)' != 'True' ">$(AndroidResgenFile) - <_AndroidStaticResourcesFlag>$(IntermediateOutputPath)static.flag - True - - - - True - False - <_AndroidBuildPropertiesCacheExists Condition=" Exists('$(_AndroidBuildPropertiesCache)') ">True - <_NuGetAssetsFile Condition=" Exists('$(ProjectAssetsFile)') ">$(ProjectAssetsFile) - <_NuGetAssetsFile Condition=" '$(_NuGetAssetsFile)' == '' and Exists('$(ProjectLockFile)') ">$(ProjectLockFile) - <_NuGetAssetsFile Condition=" '$(_NuGetAssetsFile)' == '' and Exists('packages.config') ">packages.config - <_TypeMapKind Condition=" '$(AndroidIncludeDebugSymbols)' != 'True' ">mvid - <_TypeMapKind Condition=" '$(AndroidIncludeDebugSymbols)' == 'True' ">strings-asm - - - - - - - <_PropertyCacheItems Include="AotAssemblies=$(AotAssemblies)" /> - <_PropertyCacheItems Include="AndroidAddKeepAlives=$(AndroidAddKeepAlives)" /> - <_PropertyCacheItems Include="AndroidAotMode=$(AndroidAotMode)" /> - <_PropertyCacheItems Include="AndroidEmbedProfilers=$(AndroidEmbedProfilers)" /> - <_PropertyCacheItems Include="AndroidEnableProfiledAot=$(AndroidEnableProfiledAot)" /> - <_PropertyCacheItems Include="AndroidDexTool=$(AndroidDexTool)" /> - <_PropertyCacheItems Include="AndroidLinkTool=$(AndroidLinkTool)" /> - <_PropertyCacheItems Include="AndroidLinkResources=$(AndroidLinkResources)" /> - <_PropertyCacheItems Include="AndroidPackageFormat=$(AndroidPackageFormat)" /> - <_PropertyCacheItems Include="EmbedAssembliesIntoApk=$(EmbedAssembliesIntoApk)" /> - <_PropertyCacheItems Include="AndroidLinkMode=$(AndroidLinkMode)" /> - <_PropertyCacheItems Include="AndroidLinkSkip=$(AndroidLinkSkip)" /> - <_PropertyCacheItems Include="AndroidSdkBuildToolsVersion=$(AndroidSdkBuildToolsVersion)" /> - <_PropertyCacheItems Include="AndroidSdkPath=$(_AndroidSdkDirectory)" /> - <_PropertyCacheItems Include="AndroidNdkPath=$(_AndroidNdkDirectory)" /> - <_PropertyCacheItems Include="JavaSdkPath=$(_JavaSdkDirectory)" /> - <_PropertyCacheItems Include="AndroidSequencePointsMode=$(_AndroidSequencePointsMode)" /> - <_PropertyCacheItems Include="AndroidNETSdkVersion=$(AndroidNETSdkVersion)" /> - <_PropertyCacheItems Include="MonoSymbolArchive=$(MonoSymbolArchive)" /> - <_PropertyCacheItems Include="AndroidUseLatestPlatformSdk=$(AndroidUseLatestPlatformSdk)" /> - <_PropertyCacheItems Include="TargetFrameworkVersion=$(TargetFrameworkVersion)" /> - <_PropertyCacheItems Include="AndroidCreatePackagePerAbi=$(AndroidCreatePackagePerAbi)" /> - <_PropertyCacheItems Include="AndroidGenerateJniMarshalMethods=$(AndroidGenerateJniMarshalMethods)" /> - <_PropertyCacheItems Include="OS=$(OS)" /> - <_PropertyCacheItems Include="AndroidIncludeDebugSymbols=$(AndroidIncludeDebugSymbols)" /> - <_PropertyCacheItems Include="AndroidPackageNamingPolicy=$(AndroidPackageNamingPolicy)" /> - <_PropertyCacheItems Include="_NuGetAssetsFileHash=%(_NuGetAssetsFileHash.FileHash)" /> - <_PropertyCacheItems Include="TypeMapKind=$(_TypeMapKind)" /> - <_PropertyCacheItems Include="AndroidManifestPlaceholders=$(AndroidManifestPlaceholders)" /> - <_PropertyCacheItems Include="ProjectFullPath=$(MSBuildProjectFullPath)" /> - <_PropertyCacheItems Include="AndroidUseDesignerAssembly=$(AndroidUseDesignerAssembly)" /> - - - - - - - - - - - <_ManagedUpdateAndroidResgenInputs> - @(_AndroidMSBuildAllProjects); - @(AndroidResource); - @(AndroidBoundLayout); - @(_MonoAndroidReferencePath); - @(_LibraryResourceDirectoryStamps); - $(_AndroidBuildPropertiesCache); - $(ProjectAssetsFile); - - - - <_ManagedUpdateAndroidResgenInputs Condition="Exists ('$(_AndroidResourcePathsDesignTimeCache)')">$(_ManagedUpdateAndroidResgenInputs);$(_AndroidResourcePathsDesignTimeCache); - <_ManagedUpdateAndroidResgenInputs Condition="Exists ('$(_AndroidLibraryImportsDesignTimeCache)')">$(_ManagedUpdateAndroidResgenInputs);$(_AndroidLibraryImportsDesignTimeCache); - <_ManagedUpdateAndroidResgenInputs Condition="Exists ('$(_AndroidLibraryProjectImportsDesignTimeCache)')">$(_ManagedUpdateAndroidResgenInputs);$(_AndroidLibraryProjectImportsDesignTimeCache); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_AndroidResourceDest Include="@(_WearableApplicationDescriptionFile);@(_BundledWearApplicationApkResourceFile)" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_UpdateAndroidResgenInputs> - $(_UpdateAndroidResgenInputs); - @(_ModifiedResources); - - - - - <_PrepareUpdateAndroidResgenDependsOnTargets> - _IncludeModifiedFilesInUpdateAndroidResgenInputs; - - - - - - - - - - - - - - - <_UpdateAndroidResgenDependsOnTargets> - _CheckForDeletedResourceFile; - $(_OnResolveMonoAndroidSdks); - _GetLibraryImports; - _CheckDuplicateJavaLibraries; - _GenerateAndroidResourceDir; - _IncludeLayoutBindingSources; - _DefineBuildTargetAbis; - _GenerateResourceCaseMap; - - <_UpdateAndroidResgenInputs> - @(_AndroidMSBuildAllProjects); - @(_AndroidResourceDest); - $(_AndroidBuildPropertiesCache); - $(ProjectAssetsFile); - $(_AndroidLibraryProjectImportsCache); - $(_AndroidLibraryImportsCache); - @(_ModifiedResources); - - - - - - - - - - - - $([System.IO.Path]::GetFileName ('$(_AndroidResourceDesignerFile)')) - <_UseManagedResourceGenerator Condition=" '$(AndroidUseAapt2)' == 'True' ">True - <_UseManagedResourceGenerator Condition=" '$(_UseManagedResourceGenerator)' == '' ">False - - - - - - - - - - - - - - - - - - - $(RootNamespace) - - - - - - - - - - - - - - - - - - - - - - <_RuntimeJar>$(MSBuildThisFileDirectory)\java_runtime_net6.jar - <_RuntimeDex>$(MSBuildThisFileDirectory)\java_runtime_net6.dex - - - - - <_AndroidJarAndDexDirectory>$(_XATargetFrameworkDirectories) - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_AllResolvedAssemblies Include="@(ResolvedAssemblies)" /> - - - - - - - - - - - - - - - - - <_GenerateJavaStubsDependsOnTargets> - _SetLatestTargetFrameworkVersion; - _PrepareAssemblies; - _PrepareNativeAssemblySources; - $(_AfterPrepareAssemblies); - _GetGenerateJavaStubsInputs; - - - - - <_GenerateJavaStubsInputs Include="@(_AndroidMSBuildAllProjects)" /> - <_GenerateJavaStubsInputs Include="$(_ResolvedUserAssembliesHashFile)" /> - <_GenerateJavaStubsInputs Include="@(_ResolvedUserMonoAndroidAssemblies)" /> - <_GenerateJavaStubsInputs Include="$(_AndroidManifestAbs)" /> - <_GenerateJavaStubsInputs Include="$(_AndroidBuildPropertiesCache)" /> - <_GenerateJavaStubsInputs Include="@(AndroidEnvironment);@(LibraryEnvironments)" Condition=" '$(_AndroidFastDeployEnvironmentFiles)' != 'true' " /> - <_EnvironmentFiles Include="@(AndroidEnvironment);@(LibraryEnvironments)" Condition=" '$(_AndroidFastDeployEnvironmentFiles)' != 'true' " /> - - - - - <_ManifestOutput Condition=" '$(AndroidManifestMerger)' == 'legacy' ">$(IntermediateOutputPath)android\AndroidManifest.xml - <_ManifestOutput Condition=" '$(AndroidManifestMerger)' != 'legacy' ">$(IntermediateOutputPath)AndroidManifest.xml - <_LinkingEnabled Condition=" '$(AndroidLinkMode)' != 'None'">True - <_LinkingEnabled Condition=" '$(AndroidLinkMode)' == 'None'">False - <_HaveMultipleRIDs Condition=" '$(RuntimeIdentifiers)' != '' ">True - <_HaveMultipleRIDs Condition=" '$(RuntimeIdentifiers)' == '' ">False - <_AndroidGenerateNativeAssembly Condition=" '$(_AndroidGenerateNativeAssembly)' == '' ">True - - - <_MergedManifestDocuments Condition=" '$(AndroidManifestMerger)' == 'legacy' " Include="@(ExtractedManifestDocuments)" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - .so;$(AndroidStoreUncompressedFileExtensions) - .dex;$(AndroidStoreUncompressedFileExtensions) - .blob;$(AndroidStoreUncompressedFileExtensions) - - - - - - - - - - - - - - - - <_GeneratedAndroidEnvironment Include="__XA_PACKAGE_NAMING_POLICY__=$(AndroidPackageNamingPolicy)" /> - <_GeneratedAndroidEnvironment Include="mono.enable_assembly_preload=0" Condition=" '$(AndroidEnablePreloadAssemblies)' != 'True' " /> - <_GeneratedAndroidEnvironment Include="DOTNET_MODIFIABLE_ASSEMBLIES=Debug" Condition=" '$(AndroidIncludeDebugSymbols)' == 'true' and '$(AndroidUseInterpreter)' == 'true' " /> - - - - - - - - - - - - - - - - - <_GenerateAndroidRemapNativeCodeDependsOn> - _ConvertAndroidMamMappingFileToXml; - _CollectAndroidRemapMembers; - _PrepareAndroidRemapNativeAssemblySources - - - - - - - - - - - - <_GeneratePackageManagerJavaDependsOn> - _GenerateJavaStubs; - _RunAotForAllRIDs; - _ManifestMerger; - _ConvertCustomView; - $(_AfterConvertCustomView); - _AddStaticResources; - $(_AfterAddStaticResources); - _PrepareAssemblies; - _PrepareEnvironmentAssemblySources; - _GenerateEnvironmentFiles; - _GenerateAndroidRemapNativeCode; - _GenerateEmptyAndroidRemapNativeCode; - _IncludeNativeSystemLibraries; - _GetGeneratePackageManagerJavaInputs; - - - - - <_GeneratePackageManagerJavaInputs Include="@(_GenerateJavaStubsInputs)" /> - - - - - - - - - - - - - <_CreateBaseApkInputs> - $(_CreateBaseApkInputs); - @(_AndroidMSBuildAllProjects); - $(IntermediateOutputPath)android\AndroidManifest.xml; - @(_ModifiedResources); - @(_AndroidAssetsDest); - $(_AcwMapFile); - $(_AndroidBuildPropertiesCache); - - - - - - - - - - - - - - - <_CreateBaseApkDependsOnTargets> - _GenerateJavaStubs; - _ManifestMerger; - _ConvertCustomView; - $(_AfterConvertCustomView); - _GenerateEnvironmentFiles; - _GetLibraryImports; - _CheckDuplicateJavaLibraries; - UpdateAndroidAssets; - _DefineBuildTargetAbis; - $(_AfterCreateBaseApkDependsOnTargets); - - - - - - - - - - - - - - - - - - - - - - <_JavaStubFiles Include="$(_AndroidIntermediateJavaSourceDirectory)**\*.java" /> - - - - - <_CompileJavaDependsOnTargets> - _AdjustJavacVersionArguments; - _GeneratePackageManagerJava; - _FindJavaStubFiles; - _AddStaticResources; - $(_AfterAddStaticResources); - _GetMonoPlatformJarPath; - $(_OnResolveMonoAndroidSdks); - _GetLibraryImports; - _CheckDuplicateJavaLibraries; - _CreateBaseApk; - _DetermineJavaLibrariesToCompile; - $(_CompileJavaDependsOnTargets) - - - - <_CompileToDalvikDependsOnTargets> - _CompileJava; - _CreateApplicationSharedLibraries; - _GetMonoPlatformJarPath; - _GetLibraryImports; - _SetProguardMappingFileProperty; - _CalculateProguardConfigurationFiles; - - <_CompileToDalvikInputs> - @(_AndroidMSBuildAllProjects) - ;@(_JavaLibrariesToCompileForApp) - ;@(AndroidExternalJavaLibrary) - ;$(_AndroidIntermediateClassesZip) - ;@(ProguardConfiguration) - ;@(MultiDexMainDexList) - ;$(_AndroidBuildPropertiesCache) - - - - <_CompileDexDependsOn> - _CompileToDalvik; - - - - - $(OutputPath)mapping.txt - - - - - - <_ProguardConfiguration Include="$(ProguardConfigFiles)" /> - - - <_ProguardConfiguration Include="$(MSBuildThisFileDirectory)proguard-android.txt" /> - <_ProguardConfiguration Include="$(IntermediateOutputPath)proguard\proguard_xamarin.cfg" Condition=" '$(AndroidLinkTool)' != '' " /> - <_ProguardConfiguration Include="$(_ProguardProjectConfiguration)" Condition=" '$(AndroidLinkTool)' != '' " /> - <_ProguardConfiguration Include="$(IntermediateOutputPath)proguard\proguard_project_primary.cfg" Condition=" '$(AndroidLinkTool)' != '' " /> - - <_ProguardConfiguration Include="@(ProguardConfiguration)" /> - - - - - <_DexFile Include="$(_AndroidIntermediateDexOutputDirectory)*.dex" /> - - - - - - - - - - - - - - - - - - - - - - - - - <_NativeAssemblyTarget Include="@(_TypeMapAssemblySource->'$([System.IO.Path]::ChangeExtension('%(Identity)', '.o'))')"> - %(_TypeMapAssemblySource.abi) - - <_NativeAssemblyTarget Include="@(_EnvironmentAssemblySource->'$([System.IO.Path]::ChangeExtension('%(Identity)', '.o'))')"> - %(_EnvironmentAssemblySource.abi) - - <_NativeAssemblyTarget Include="@(_CompressedAssembliesAssemblySource->'$([System.IO.Path]::ChangeExtension('%(Identity)', '.o'))')"> - %(_CompressedAssembliesAssemblySource.abi) - - <_CompressedNativeAssemblyTarget Include="@(_CompressedAssembliesAssemblySource->'$([System.IO.Path]::ChangeExtension('%(Identity)', '.o'))')"> - %(_CompressedAssembliesAssemblySource.abi) - - <_NativeAssemblyTarget Include="@(_MarshalMethodsAssemblySource->'$([System.IO.Path]::ChangeExtension('%(Identity)', '.o'))')"> - %(_MarshalMethodsAssemblySource.abi) - - <_NativeAssemblyTarget Include="@(_AndroidRemapAssemblySource->'$([System.IO.Path]::ChangeExtension('%(Identity)', '.o'))')"> - %(_AndroidRemapAssemblySource.abi) - - - - - - - - - - - - - - - - - - <_ApplicationSharedLibrary Include="$(_AndroidApplicationSharedLibraryPath)%(_BuildTargetAbis.Identity)\libxamarin-app.so"> - %(_BuildTargetAbis.Identity) - - - - - - - - - - - - <_BuildApkEmbedOutputs Condition=" '$(AndroidPackageFormat)' == 'aab' "> - $(_AppBundleIntermediate) - - <_BuildApkEmbedOutputs Condition=" '$(AndroidPackageFormat)' != 'aab' "> - $(ApkFileIntermediate) - - - - - - - - <_BuildApkEmbedInputs> - @(_AndroidMSBuildAllProjects) - ;$(_PackagedResources) - ;@(_ShrunkAssemblies) - ;@(AndroidNativeLibrary) - ;@(_DexFile) - ;$(_AndroidBuildPropertiesCache) - ;@(_ApplicationSharedLibrary) - - - - - - - - - - - - - - - <_BuildApkFastDevStaticInputs> - @(_AndroidMSBuildAllProjects) - ;@(_ShrunkFrameworkAssemblies) - ;@(_AndroidNativeLibraryForFastDev) - ;@(_DexFileForFastDevInput) - ;$(_AndroidBuildPropertiesCache) - ;$(_AdbPropertiesCache) - ;$(_PackagedResources) - - - - - - - - - - - - - - - <_CopyPackageInputs> - ;@(_ReferencePath) - ;@(_ReferenceDependencyPaths) - ;$(ApkFileIntermediate) - ;$(_AndroidBuildPropertiesCache) - ;@(ApkFiles) - - <_CopyPackageInputs Condition=" '$(AndroidPackageFormat)' == 'aab' "> - $(_CopyPackageInputs) - ;$(_AppBundleIntermediate) - - <_CopyPackageOutputs Condition=" '$(AndroidPackageFormat)' != 'aab' "> - $(ApkFile) - - <_CopyPackageOutputs Condition=" '$(AndroidPackageFormat)' == 'aab' "> - $(_AabFile) - - - - - - - - - - - - <_CopyPackageDependsOn> - _DefineBuildTargetAbis - ;_BuildApkEmbed - ;_BuildApkFastDev - ;_ResolveCopyPackageInputs - - - - - - - - - - - <_SymbolicateFiles Include="$(_AndroidAotBinDirectory)\%(_BuildTargetAbis.Identity)\**\*.msym" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_SignInputs> - @(_AndroidMSBuildAllProjects); - $(_AndroidBuildPropertiesCache); - $(_AppBundleIntermediate); - - <_SignOutputs> - $(_AabFileSigned) - - - - <_SignInputs> - @(_AndroidMSBuildAllProjects); - $(_AndroidBuildPropertiesCache); - $(ApkFileIntermediate); - - <_SignOutputs> - $(ApkFileSigned) - - - - - - - - - - - <_JarSignerSuffix Condition=" '$(AndroidPackageFormat)' != 'aab' ">-Signed-Unaligned - <_JarSignerSuffix Condition=" '$(AndroidPackageFormat)' == 'aab' ">-Signed - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_FilestoExtract Include="universal.apk"> - $(_AndroidPackage)-Signed.apk - - - - - - - - - Build; - Package; - _Sign; - _CreateUniversalApkFromBundle; - - - - BuildOnlySettings; - _CreatePropertiesCache; - ResolveReferences; - PrepareResources; - CreateSatelliteAssemblies; - _CopyPackage; - _Sign; - _CreateUniversalApkFromBundle; - - - - - <_IntermediatePdbFile>$(IntermediateOutputPath)$(TargetName).pdb - - - - <_BuildApkDependsOnTargets> - Build - ;$(_OnResolveMonoAndroidSdks) - ;_BuildApkEmbed - ;_BuildApkFastDev - - - - - - - - - - - - - - - - - - - - - <_OutputDeploymentFiles Include="$(IntermediateOutputPath)*.deployment" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SignAndroidPackage; - _DeployApk; - _DeployAppBundle; - - - AndroidPrepareForBuild; - _Uninstall - - - - - - - - - - - - - - - - - - - - - - - - - <_AndroidAllowMissingSdkTooling>True - false - - - - - <_ProjectAndroidManifest>$(ProjectDir)$(AndroidManifest) - <_NdkRequired Condition="'$(EnableLLVM)' == 'True'">true - <_NdkRequired Condition="'$(_NdkRequired)' == ''">false - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - - - - <_DevicePropertyCache>$(IntermediateOutputPath)devices.cache - <_UploadFlag>$(IntermediateOutputPath)upload.flag - <_ConfigurationCacheDirectory>$(BaseIntermediateOutputPath).cache\ - - - <_OnResolveMonoAndroidSdks> - $(_OnResolveMonoAndroidSdks) - ;_ResolveXamarinAndroidTools - - - - - - - - - - - - - - <_DexFileForFastDev Include="@(_DexFile)" /> - <_DexFileForFastDevInput Include="@(_DexFile)" /> - <_AndroidNativeLibraryForFastDev Include="@(AndroidNativeLibrary)" /> - - - - - - - - - - - - <_PrimaryCpuAbi Condition="$(_PrimaryCpuAbi) == ''">@(_BuildTargetAbis) - - - - $(_PrimaryRuntimeIdentifier) - - $(_PrimaryCpuAbi) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_NdkBuildNativeLibs Include="obj\local\$(_AdbTargetAbi)\lib*.so" /> - - - - - - 10000 - 10000 - False - True - <_AndroidRunForceStop Condition="'$(_AndroidRunForceStop)' == ''">True - <_AndroidAllowJavaDebugging Condition="'$(_AndroidAllowJavaDebugging)' == ''">True - - - - - - - - - - - - - - - - - - - - - - - <_ConfigurationCacheItems Include="$(Configuration)$(Platform)$(AdbTarget)" /> - - - - - - - - - - <_UploadInputs Include="$(ApkFileSigned)" /> - <_UploadInputs Include="@(_ResolvedAssemblies)" /> - <_UploadInputs Include="@(_AndroidResolvedSatellitePaths)" /> - <_UploadInputs Include="@(_ResolvedUserAssemblies)" /> - <_UploadInputs Include="@(_DexFile)" /> - <_UploadInputs Include="@(AndroidNativeLibrary)" /> - <_UploadInputs Include="@(AndroidEnvironment)" Condition=" '$(_AndroidFastDeployEnvironmentFiles)' == 'true' " /> - <_UploadInputs Include="@(LibraryEnvironments)" Condition=" '$(_AndroidFastDeployEnvironmentFiles)' == 'true' " /> - - - <_AndroidTypeMaps Include="@(_AndroidTypeMapping)" /> - - - - - <_FastDevFiles Include="@(_ResolvedAssemblies)" Condition=" '%(_ResolvedAssemblies.AndroidSkipAddToPackage)' != 'True' And '%(_ResolvedAssemblies.Abi)' == '$(_PrimaryCpuAbi)' "> - %(_ResolvedAssemblies.DestinationSubDirectory)%(Filename)%(Extension) - - <_FastDevFiles Include="@(_ResolvedUserAssemblies)" Condition=" '%(_ResolvedUserAssemblies.AndroidSkipAddToPackage)' != 'True' And '%(_ResolvedUserAssemblies.Abi)' == '$(_PrimaryCpuAbi)' "> - %(_ResolvedUserAssemblies.DestinationSubDirectory)%(Filename)%(Extension) - - <_FastDevFiles Include="@(_AndroidResolvedSatellitePaths)" Condition=" '%(_AndroidResolvedSatellitePaths.AndroidSkipAddToPackage)' != 'True' And '%(_AndroidResolvedSatellitePaths.Abi)' == '$(_PrimaryCpuAbi)' "> - %(_AndroidResolvedSatellitePaths.DestinationSubDirectory)%(Filename)%(Extension) - - <_FastDevFiles Include="@(_ResolvedSymbols)" Condition=" '%(_ResolvedSymbols.Abi)' == '$(_PrimaryCpuAbi)' "> - %(_ResolvedSymbols.DestinationSubDirectory)%(Filename)%(Extension) - - - - - <_UploadDependsOnTargets> - _PrepareAssemblies; - _GetPrimaryCpuAbi; - _DetectIfAppWasUninstalled; - _CheckForConfigurationChange; - _ReadAndroidManifest; - _GetUploadInputs; - _DeployAppBundle; - _ComputeFastDevFiles; - - - - - <_ApkToInstall Condition=" '$(AndroidPackageFormat)' != 'aab' ">$(ApkFileSigned) - <_ReInstall Condition=" '$(_ReInstall)' == '' ">False - <_AndroidIsTestOnlyPackage Condition=" '$(_AndroidIsTestOnlyPackage)' == '' ">False - <_FastDeploymentDiagnosticLogging Condition=" '$(_FastDeploymentDiagnosticLogging)' == '' ">False - - - - - - - <_EnvironmentFiles Include="@(AndroidEnvironment);@(LibraryEnvironments)" /> - - - - - - - - - - - - - - - SignAndroidPackage; - _Upload - - - - - - - - - - - - - - - - - - $(CleanDependsOn); - _CleanDebuggingCaches; - _CleanMultiDexFiles; - - - - - - - - - - - - - - - - - - - - - - - - - - - - custom.aprof - 9999 - <_BeginAotProfilingDependsOnTargets> - _SetupAotProfiling; - Build; - Install; - _SetAotProfilingPropsOnDevice; - StartAndroidActivity; - - - - - aot - - - - - - - - - - - - - - - - - - - - - LibraryImport - - - AndroidJavaLibrary - - - LibraryImport - - - - - - - - - <_ResolvedAssemblies Include="@(ResolvedAssemblies->'$(MonoAndroidIntermediateAssemblyDir)%(Filename)%(Extension)')" /> - <_ResolvedUserAssemblies Include="@(ResolvedUserAssemblies->'$(MonoAndroidIntermediateAssemblyDir)%(Filename)%(Extension)')" /> - <_ResolvedUserMonoAndroidAssembliesForDesigner Include="@(_ResolvedUserAssemblies)" Condition="'%(_ResolvedUserAssemblies.TargetFrameworkIdentifier)' == 'MonoAndroid' Or '%(_ResolvedUserAssemblies.HasMonoAndroidReference)' == 'True'" /> - - - - - <_ManifestOutput Condition=" '$(AndroidManifestMerger)' == 'legacy' ">$(IntermediateOutputPath)android\AndroidManifest.xml - <_ManifestOutput Condition=" '$(AndroidManifestMerger)' != 'legacy' ">$(IntermediateOutputPath)AndroidManifest.xml - - - <_MergedManifestDocuments Condition=" '$(AndroidManifestMerger)' == 'legacy' " Include="@(ExtractedManifestDocuments)" /> - - - - - - - - - - - - - - - - - InstallAndroidDependencies; - $(BuildDependsOn); - - 10 - - - - true - - - - - - - - - - - - - 3.0 - $(VCTargetsPath)\Application Type\Android\$(ApplicationTypeRevision)\ - $(AndroidTaskPath)Microsoft.Build.CPPTasks.Android.dll - true - false - - - - - <_NativeAndroidProjectReference Include="@(_MSBuildProjectReferenceExistent->WithMetadataValue('TargetPlatformIdentifier', 'Android'))" /> - - <_NativeAndroidProjectReferenceWithConfiguration Include="@(_NativeAndroidProjectReference->HasMetadata('SetConfiguration'))" /> - <_NativeAndroidProjectReferenceWithoutConfiguration Include="@(_NativeAndroidProjectReference)" Exclude="@(_NativeAndroidProjectReferenceWithConfiguration)" /> - - - - - - - - - - - - - - - - - - - - - $(NativeLibraryAbi) - - - PreserveNewest - - - - - - - $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), 'Xamarin.Android.Sdk.targets'))\Xamarin.Android.Sdk.targets - - - - - - - - - - - false - $(IntermediateOutputPath)generated\ - intellisense - $(IntermediateOutputPath)api.xml - class-parse.dll - generator.dll - javadoc-to-mdoc.exe - <_GeneratorStampFile>$(_AndroidStampDirectory)generator.stamp - - - $(OutputPath)$(AssemblyName).xml - $(NoWarn);CS1573;CS1591 - - - - <_LibrariesToBind Include="@(EmbeddedJar)" /> - <_LibrariesToBind Include="@(InputJar)" /> - <_LibrariesToBind Include="@(LibraryProjectZip)" /> - <_LibrariesToBind Include="@(_JavaBindingSource)" Condition=" '%(_JavaBindingSource.Bind)' == 'true' " /> - - - - - - <_AndroidGenerateManagedBindings>true - - - - - <_GeneratedManagedBindingFiles Include="$(GeneratedOutputPath)**\*.cs" /> - - - - - - - - true - - - - - - <_BindingsToolsLocation Condition=" '$(_BindingsToolsLocation)' == '' ">$(MonoAndroidToolsDirectory) - - - - - - - - <_JavadocXml Include="@(_JavaSourceJavadocXml)" /> - <_JavadocXml Condition=" Exists('$(_AndroidIntermediateBindingClassesDocs)') " Include="$(_AndroidIntermediateBindingClassesDocs)" /> - - - - - - - - - - - - - - - - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_BindingsToolsLocation Condition=" '$(_BindingsToolsLocation)' == '' ">$(MonoAndroidToolsDirectory) - - - <_AndroidDocumentationPath Include="@(_JavaSourceJavadocXml)" /> - <_AndroidDocumentationPath Include="@(JavaDocIndex->'%(RootDir)\%(Directory)')" /> - <_AndroidDocumentationPath Include="$(JavaDocPaths)" /> - <_AndroidDocumentationPath Include="$(Java7DocPaths)" /> - <_AndroidDocumentationPath Include="$(Java8DocPaths)" /> - <_AndroidDocumentationPath Include="$(DroidDocPaths)" /> - <_AndroidDocumentationPath Include="@(JavaDocJar->'$(IntermediateOutputPath)javadocs\%(FileName)')" /> - - - - - - - - - - - - - - - - <_JavaSourceJavadocXml Include="@(_JavaSourceJarHashes->'$(IntermediateOutputPath)javadoc-%(Filename)-%(Hash).xml')" /> - - - - - - - - - - - - - - - $(LocalAppData)\dotnet-android\MavenCacheDirectory\ - $(HOME)/Library/Caches/dotnet-android/MavenCacheDirectory/ - $(HOME)/.cache/dotnet-android/MavenCacheDirectory/ - $([MSBuild]::EnsureTrailingSlash('$(MavenCacheDirectory)')) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_AGPOutDirAbs>$(IntermediateOutputPath)gradle/ - <_AGPOutDirAbs Condition=" !$([System.IO.Path]::IsPathRooted('$(_AGPOutDirAbs)')) ">$(MSBuildProjectDirectory)/$(_AGPOutDirAbs) - <_AGPInitScriptPath>$(_AGPOutDirAbs)net.android.init.gradle.kts - <_BuildAndroidGradleProjectsStamp>$(_AndroidStampDirectory)_BuildAndroidGradleProjects.stamp - - - - true - Release - - - true - true - - - - - - <_AllGradleFiles Include="%(AndroidGradleProject.RootDir)%(AndroidGradleProject.Directory)/**/*" Condition=" Exists('%(AndroidGradleProject.RootDir)%(AndroidGradleProject.Directory)') " /> - <_GradleInputs Include="@(_AllGradleFiles)" Condition=" '%(Extension)' == '.java' or '%(Extension)' == '.kt' or '%(Extension)' == '.kts' or '%(Extension)' == '.gradle' or '%(Extension)' == '.properties' or '%(Extension)' == '.xml' " /> - <_GradleInputs Include="$(MSBuildProjectFullPath)" /> - <_GradleInputs Include="@(_AndroidMSBuildAllProjects)" /> - - - - - - - - - $(_AGPOutDirAbs)%(ModuleName)%(Configuration)-$([System.String]::Copy($(_AndroidGradleProjectHash)).Substring(0, 5)) - - - $([MSBuild]::EnsureTrailingSlash('%(OutputPath)')) - - - - - - - - - - - - <_AndroidGradleProjectAppOutputs Include="%(AndroidGradleProject.OutputPath)outputs/**/*.apk" /> - <_AndroidGradleProjectLibraryOutputs Include="%(AndroidGradleProject.OutputPath)outputs/**/*.aar" Condition=" '%(CreateAndroidLibrary)' == 'true' " Bind="%(AndroidGradleProject.Bind)" Pack="%(AndroidGradleProject.Pack)" Visible="%(AndroidGradleProject.Visible)" /> - - - - - - - - - - - - - - - - - - - - - <_AarCacheFile>$(IntermediateOutputPath)$(TargetName).aar.cache - <_AarOutputPath>$(OutputPath)$(TargetName).aar - - - - <_AarSearchDirectory Include="@(_ReferencePath->'%(RootDir)%(Directory)')" /> - <_AarSearchDirectory Include="@(_ReferenceDependencyPaths->'%(RootDir)%(Directory)')" /> - <_AarDistinctDirectory Include="@(_AarSearchDirectory->Distinct())" /> - <_AarFromLibraries Include="%(_AarDistinctDirectory.Identity)*.aar" NuGetPackageId="%(_AarDistinctDirectory.NuGetPackageId)" NuGetPackageVersion="%(_AarDistinctDirectory.NuGetPackageVersion)" /> - - - - - - - - - <_CreateAarInputs Include="@(AndroidAsset)" /> - <_CreateAarInputs Include="@(_AndroidResourceDest)" /> - <_CreateAarInputs Include="@(AndroidEnvironment)" /> - <_CreateAarInputs Include="@(AndroidJavaLibrary)" /> - <_CreateAarInputs Include="$(AndroidManifest)" /> - <_CreateAarInputs Include="@(EmbeddedJar)" /> - <_CreateAarInputs Include="@(EmbeddedNativeLibrary)" /> - <_CreateAarInputs Include="@(ProguardConfiguration)" /> - - - - - - - <_CreateAarInputs Include="$(_AarCacheFile)" /> - - - - - - - - - - - $(TargetsForTfmSpecificContentInPackage);_IncludeAarInNuGetPackage - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_AndroidAotInputs Include="@(ResolvedFileToPublish)" Condition=" '%(ResolvedFileToPublish.Extension)' == '.dll' and '%(ResolvedFileToPublish.AssetType)' != 'resources' " /> - - - - - - - - - - <_AotResolvedFileToPublish Include="@(_AotCompiledAssemblies)" Condition=" '$(_AndroidUseMarshalMethods)' == 'True' " ArchiveFileName="libaot-$([System.IO.Path]::GetFileNameWithoutExtension('%(_AotCompiledAssemblies.Identity)')).so" /> - - - - - <_AotResolvedFileToPublish Remove="@(_SourceItemsToCopyToPublishDirectory)" /> - <_AotResolvedFileToPublish Condition=" '%(_AotResolvedFileToPublish.RuntimeIdentifier)' == '' " Update="@(_AotResolvedFileToPublish)" RuntimeIdentifier="$(RuntimeIdentifier)" /> - - - - - - - - - - - - - - - - <_MonoAOTAssemblies Update="@(_MonoAOTAssemblies)" ProcessArguments="$(AndroidExtraAotOptions)" /> - - - <_MonoAOTCompilerPath>@(MonoAotCrossCompiler->WithMetadataValue('RuntimeIdentifier', '$(RuntimeIdentifier)')) - <_LLVMPath Condition=" '$(EnableLLVM)' == 'true' ">$([System.IO.Path]::GetDirectoryName ('$(_MonoAOTCompilerPath)')) - - - - - - - - - - - - <_UpdateStamp Include="@(_ILStripUpdatedAssemblies)" Condition=" '$(AndroidStripILAfterAOT)' == 'true' and '%(_ILStripUpdatedAssemblies.ILStripped)' == 'true' " /> - - - - <_StampDir>$(_AndroidStampDirectory)\..\..\stamp - - - - - - - - - - - - - false - - <_RuntimeIdentifierUsesAppHost>false - dotnet - build "$(MSBuildProjectFullPath)" -target:Run --configuration "$(Configuration)" - - <_RunDependsOn Condition=" '$(_XASupportsFastDev)' == 'true' "> - Install; - _Run; - - <_RunDependsOn Condition=" '$(_XASupportsFastDev)' != 'true' "> - Install; - StartAndroidActivity; - - - - - <_RunWithLoggingDependsOn> - Install; - - <_RunLogFilePath Condition=" '$(_RunLogFilePath)' == '' ">$(IntermediateOutputPath)logcat.txt - false - - - - - - - <_MonoLog>default,assembly,timing=bare - <_MonoLog Condition=" '$(RunLogVerbose)' != 'false' ">$(_MonoLog),mono_log_level=debug,mono_log_mask=all - 1000 - - - - - - - - - - - - - - - - - - - - - - - - - - - <_ProblematicRIDs Include="linux-arm;linux-arm64;linux-x86;linux-x64;linux-bionic-arm;linux-bionic-arm64;linux-bionic-x86;linux-bionic-x64" /> - - - - - $(_OuterOutputPath) - $(_OuterOutputPath) - $(OutputPath) - _RemoveLegacyDesigner;$(BuildDependsOn) - - - $([MSBuild]::Unescape($(CoreBuildDependsOn.Replace('IncrementalClean;', '')))) - - - AndroidPrepareForBuild; - $(CompileDependsOn); - - - - - <_RunAotMaybe Condition=" '$(_AndroidUseMarshalMethods)' != 'True' ">_AndroidAot - - - - - - - - - - - - - - - - True - PreserveNewest - false - android - - - - <_DebugSymbolsIntermediatePath Remove="@(_DebugSymbolsIntermediatePath)" /> - <_DebugSymbolsIntermediatePath Include="$([System.IO.Path]::ChangeExtension ($(_OuterIntermediateAssembly), '.pdb'))" /> - - - - - <_RIDs Include="$(RuntimeIdentifier)" Condition=" '$(RuntimeIdentifiers)' == '' " /> - <_RIDs Include="$(RuntimeIdentifiers)" Condition=" '$(RuntimeIdentifiers)' != '' " /> - - - <_AdditionalProperties> - _ComputeFilesToPublishForRuntimeIdentifiers=true - ;SelfContained=true - ;AppendRuntimeIdentifierToOutputPath=true - ;ResolveAssemblyReferencesFindRelatedSatellites=false - ;SkipCompilerExecution=true - ;_OuterIntermediateAssembly=@(IntermediateAssembly) - ;_OuterOutputPath=$(OutputPath) - ;_OuterIntermediateOutputPath=$(IntermediateOutputPath) - ;_OuterCustomViewMapFile=$(_CustomViewMapFile) - - <_AndroidBuildRuntimeIdentifiersInParallel Condition=" '$(_AndroidBuildRuntimeIdentifiersInParallel)' == '' ">true - - - <_ProjectToBuild Include="$(MSBuildProjectFile)" AdditionalProperties="RuntimeIdentifier=%(_RIDs.Identity);$(_AdditionalProperties)" /> - - - - - - - <_InnerIntermediateOutputPath Condition=" '$(RuntimeIdentifier)' == '' ">$(IntermediateOutputPath)%(_RIDs.Identity)\ - <_InnerIntermediateOutputPath Condition=" '$(RuntimeIdentifier)' != '' ">$(IntermediateOutputPath) - <_ProguardProjectConfiguration Condition=" '$(AndroidLinkTool)' != '' ">$(_InnerIntermediateOutputPath)proguard\proguard_project_references.cfg - <_AndroidLinkFlag Condition=" '$(RuntimeIdentifier)' == '' ">$(_InnerIntermediateOutputPath)link.flag - - - <_ResolvedAssemblyFiles Include="@(ResolvedFileToPublish)" Condition=" '%(ResolvedFileToPublish.Extension)' == '.dll' " /> - <_ResolvedSymbolFiles Include="@(ResolvedFileToPublish)" Condition=" '%(ResolvedFileToPublish.Extension)' == '.pdb' " /> - <_ResolvedJavaLibraries Include="@(ResolvedFileToPublish)" Condition=" '%(ResolvedFileToPublish.Extension)' == '.jar' " /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_PrepareAssembliesDependsOnTargets> - _ResolveAssemblies; - _ResolveSatellitePaths; - _CreatePackageWorkspace; - _LinkAssemblies; - - - - - <_ResolvedAssemblies Include="@(ResolvedAssemblies->'$(MonoAndroidIntermediateAssemblyDir)%(DestinationSubPath)')" Condition=" '%(DestinationSubPath)' != '' " /> - <_ResolvedUserAssemblies Include="@(ResolvedUserAssemblies->'$(MonoAndroidIntermediateAssemblyDir)%(DestinationSubPath)')" Condition=" '%(DestinationSubPath)' != '' " /> - <_ResolvedFrameworkAssemblies Include="@(ResolvedFrameworkAssemblies->'$(MonoAndroidIntermediateAssemblyDir)%(DestinationSubPath)')" Condition=" '%(DestinationSubPath)' != '' " /> - <_ResolvedSymbols Include="@(ResolvedSymbols->'$(MonoAndroidIntermediateAssemblyDir)%(DestinationSubPath)')" Condition=" '%(DestinationSubPath)' != '' " /> - <_ShrunkAssemblies Include="@(_ResolvedAssemblies)" /> - <_ShrunkUserAssemblies Include="@(_ResolvedUserAssemblies)" /> - <_ShrunkFrameworkAssemblies Include="@(_ResolvedFrameworkAssemblies)" /> - - - <_ResolvedAssemblies Include="@(ResolvedAssemblies)" /> - <_ResolvedUserAssemblies Include="@(ResolvedUserAssemblies)" /> - <_ResolvedFrameworkAssemblies Include="@(ResolvedFrameworkAssemblies)" /> - <_ResolvedSymbols Include="@(ResolvedSymbols)" /> - <_ShrunkFrameworkAssemblies Include="@(_ShrunkAssemblies)" Condition=" '%(_ShrunkAssemblies.FrameworkAssembly)' == 'true' " /> - <_ShrunkUserAssemblies Include="@(_ShrunkAssemblies)" Condition=" '%(_ShrunkAssemblies.FrameworkAssembly)' != 'true' " /> - - - <_ResolvedUserMonoAndroidAssemblies Include="@(_ResolvedUserAssemblies)" Condition=" '%(_ResolvedUserAssemblies.TargetFrameworkIdentifier)' == 'MonoAndroid' Or '%(_ResolvedUserAssemblies.HasMonoAndroidReference)' == 'True' " /> - - - - - <_AndroidIncludeSystemGlobalizationNative Condition=" '$(_AndroidIncludeSystemGlobalizationNative)' == '' ">true - <_AndroidEnableNativeStackTracing Condition=" '$(_AndroidEnableNativeStackTracing)' == ''">false - - - <_ResolvedNativeLibraries Include="@(ResolvedFileToPublish)" Condition=" '%(ResolvedFileToPublish.Extension)' == '.so' " /> - - - <_MonoComponent Condition=" '$(AndroidEnableProfiler)' == 'true' " Include="diagnostics_tracing" /> - <_MonoComponent Condition=" '$(AndroidUseInterpreter)' == 'true' " Include="hot_reload" /> - <_MonoComponent Condition=" '$(AndroidIncludeDebugSymbols)' == 'true' " Include="debugger" /> - <_MonoComponent Condition=" '$(_AndroidExcludeMarshalIlgenComponent)' != 'true' " Include="marshal-ilgen" /> - - <_ExcludedNativeLibraries Condition=" '$(_AndroidIncludeSystemGlobalizationNative)' != 'true' " Include="libSystem.Globalization.Native" /> - <_ExcludedNativeLibraries Condition=" '$(_AndroidEnableNativeStackTracing)' != 'true' " Include="libxamarin-native-tracing" /> - - - - - - - - - - - true - <_ExtraTrimmerArgs Condition=" '$(_EnableSerializationDiscovery)' != 'false' ">--enable-serialization-discovery $(_ExtraTrimmerArgs) - <_ExtraTrimmerArgs Condition=" '$(_AndroidEnableUnusedTypeChecks)' != 'true' ">--disable-opt unusedtypechecks $(_ExtraTrimmerArgs) - - <_TrimmerDumpDependencies Condition=" '$(LinkerDumpDependencies)' == 'true' ">true - <_AndroidLinkerCustomStepAssembly>$(MSBuildThisFileDirectory)..\tools\Microsoft.Android.Sdk.ILLink.dll - <_ProguardProjectConfiguration Condition=" '$(AndroidLinkTool)' != '' ">$(IntermediateOutputPath)proguard\proguard_project_references.cfg - - - - - <_TrimmerCustomData Include="AndroidHttpClientHandlerType" Value="$(AndroidHttpClientHandlerType)" /> - <_TrimmerCustomData Include="AndroidCustomViewMapFile" Value="$(_OuterCustomViewMapFile)" /> - <_TrimmerCustomData Include="XATargetFrameworkDirectories" Value="$(_XATargetFrameworkDirectories)" /> - <_TrimmerCustomData Condition=" '$(_ProguardProjectConfiguration)' != '' " Include="ProguardConfiguration" Value="$(_ProguardProjectConfiguration)" /> - - - - <_TrimmerCustomSteps Include="$(_AndroidLinkerCustomStepAssembly)" BeforeStep="MarkStep" Type="Microsoft.Android.Sdk.ILLink.SetupStep" /> - - <_TrimmerCustomSteps Include="$(_AndroidLinkerCustomStepAssembly)" Type="Microsoft.Android.Sdk.ILLink.PreserveSubStepDispatcher" /> - <_TrimmerCustomSteps Include="$(_AndroidLinkerCustomStepAssembly)" Type="MonoDroid.Tuner.MarkJavaObjects" /> - <_TrimmerCustomSteps Include="$(_AndroidLinkerCustomStepAssembly)" Type="MonoDroid.Tuner.PreserveJavaExceptions" /> - <_TrimmerCustomSteps Include="$(_AndroidLinkerCustomStepAssembly)" Type="MonoDroid.Tuner.PreserveApplications" /> - <_TrimmerCustomSteps Include="$(_AndroidLinkerCustomStepAssembly)" Type="Microsoft.Android.Sdk.ILLink.PreserveRegistrations" /> - <_TrimmerCustomSteps Include="$(_AndroidLinkerCustomStepAssembly)" Type="Microsoft.Android.Sdk.ILLink.PreserveJavaInterfaces" /> - <_TrimmerCustomSteps Include="$(_AndroidLinkerCustomStepAssembly)" Type="MonoDroid.Tuner.FixAbstractMethodsStep" /> - - <_TrimmerCustomSteps Condition=" '$(_ProguardProjectConfiguration)' != '' " Include="$(_AndroidLinkerCustomStepAssembly)" AfterStep="CleanStep" Type="Mono.Linker.Steps.GenerateProguardConfiguration" /> - <_TrimmerCustomSteps Condition=" '$(AndroidAddKeepAlives)' == 'true' " Include="$(_AndroidLinkerCustomStepAssembly)" AfterStep="CleanStep" Type="MonoDroid.Tuner.AddKeepAlivesStep" /> - - <_TrimmerCustomSteps Include="$(_AndroidLinkerCustomStepAssembly)" AfterStep="CleanStep" Type="MonoDroid.Tuner.StripEmbeddedLibraries" /> - <_TrimmerCustomSteps Condition=" '$(AndroidLinkResources)' == 'true' " Include="$(_AndroidLinkerCustomStepAssembly)" AfterStep="CleanStep" Type="MonoDroid.Tuner.RemoveResourceDesignerStep" /> - <_TrimmerCustomSteps Condition=" '$(AndroidLinkResources)' == 'true' " Include="$(_AndroidLinkerCustomStepAssembly)" AfterStep="CleanStep" Type="MonoDroid.Tuner.GetAssembliesStep" /> - <_TrimmerCustomSteps Condition=" '$(AndroidUseDesignerAssembly)' == 'true' " Include="$(_AndroidLinkerCustomStepAssembly)" BeforeStep="MarkStep" Type="MonoDroid.Tuner.FixLegacyResourceDesignerStep" /> - <_PreserveLists Include="$(MSBuildThisFileDirectory)..\PreserveLists\*.xml" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_PublishDependsOn> - Build; - PrepareForPublish; - _CalculateAndroidFilesToPublish; - CopyFilesToPublishDirectory; - - - - - - <_AllPackageFormats Include="$(AndroidPackageFormat);$(AndroidPackageFormats)" /> - <_AndroidPackageFormats Include="@(_AllPackageFormats->Distinct())" /> - <_AndroidFilesToPublish Include="$(OutputPath)*.%(_AndroidPackageFormats.Identity)" /> - <_AndroidFilesToPublish Include="$(AndroidProguardMappingFile)" Condition="Exists ('$(AndroidProguardMappingFile)')" /> - <_AndroidFilesToPublish Include="$(_GenerateResourceDesignerAssemblyOutput)" Condition="Exists('$(_GenerateResourceDesignerAssemblyOutput)')" /> - - - - - - - - - <_BinaryRuntimeConfigPath>$(IntermediateOutputPath)$(ProjectRuntimeConfigFileName).bin - - - - <_RuntimeConfigReservedProperties Include="TRUSTED_PLATFORM_ASSEMBLIES" /> - <_RuntimeConfigReservedProperties Include="APP_PATHS" /> - <_RuntimeConfigReservedProperties Include="APP_NI_PATHS" /> - <_RuntimeConfigReservedProperties Include="NATIVE_DLL_SEARCH_DIRECTORIES" /> - <_RuntimeConfigReservedProperties Include="PLATFORM_RESOURCE_ROOTS" /> - <_RuntimeConfigReservedProperties Include="PINVOKE_OVERRIDE" /> - <_RuntimeConfigReservedProperties Include="RUNTIME_IDENTIFIER" /> - <_RuntimeConfigReservedProperties Include="APP_CONTEXT_BASE_DIRECTORY" /> - - - - - - - - - - - - - - - - - - - - - - - - - <_AndroidUseJavaExeVersion Condition=" '$(_AndroidUseJavaExeVersion)' == '' ">false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Platforms\Android\AndroidManifest.xml - - - - - - - - - - - - <_ResizetizerTaskAssemblyName>$(MSBuildThisFileDirectory)\Microsoft.Maui.Resizetizer.dll - - - - - - - - - - - - - - $(CleanDependsOn); - _CleanResizetizer; - - <_ResizetizerInputsFile>$(IntermediateOutputPath)mauiimage.inputs - <_ResizetizerOutputsFile>$(IntermediateOutputPath)mauiimage.outputs - <_ResizetizerStampFile>$(IntermediateOutputPath)mauiimage.stamp - <_MauiFontInputsFile>$(IntermediateOutputPath)mauifont.inputs - <_MauiFontStampFile>$(IntermediateOutputPath)mauifont.stamp - <_MauiSplashInputsFile>$(IntermediateOutputPath)mauisplash.inputs - <_MauiSplashStampFile>$(IntermediateOutputPath)mauisplash.stamp - <_MauiManifestStampFile>$(IntermediateOutputPath)mauimanifest.stamp - <_ResizetizerIntermediateOutputRoot>$(IntermediateOutputPath)resizetizer\ - <_MauiIntermediateImages>$(_ResizetizerIntermediateOutputRoot)r\ - <_MauiIntermediateFonts>$(_ResizetizerIntermediateOutputRoot)f\ - <_MauiIntermediateSplashScreen>$(_ResizetizerIntermediateOutputRoot)sp\ - <_MauiIntermediateManifest>$(_ResizetizerIntermediateOutputRoot)m\ - <_ResizetizerPlatformIdentifier>$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) - <_ResizetizerNoTargetPlatform Condition="'$(_ResizetizerPlatformIdentifier)' == ''">True - <_ResizetizerPlatformIsAndroid Condition="'$(_ResizetizerPlatformIdentifier)' == 'android'">True - <_ResizetizerPlatformIsiOS Condition="'$(_ResizetizerPlatformIdentifier)' == 'ios'">True - <_ResizetizerPlatformIsMacCatalyst Condition="'$(_ResizetizerPlatformIdentifier)' == 'maccatalyst'">True - <_ResizetizerPlatformIsmacOS Condition="'$(_ResizetizerPlatformIdentifier)' == 'macos'">True - <_ResizetizerPlatformIstvOS Condition="'$(_ResizetizerPlatformIdentifier)' == 'tvos'">True - <_ResizetizerPlatformIsWindows Condition="$(_ResizetizerPlatformIdentifier.Contains('windows')) == 'True'">True - <_ResizetizerPlatformIsTizen Condition="'$(_ResizetizerPlatformIdentifier)' == 'tizen'">True - False - <_ResizetizerDefaultInvalidFilenamesErrorMessage>One or more invalid file names were detected. File names must be lowercase, start and end with a letter character, and contain only alphanumeric characters or underscores: - <_ResizetizerDefaultDuplicateFilenamesErrorMessage>One or more duplicate file names were detected. All image output filenames must be unique: - <_ResizetizerThrowsErrorOnInvalidFilename>true - <_ResizetizerThrowsErrorOnInvalidFilename Condition="'$(ResizetizerErrorOnInvalidFilename)' == 'false'">false - <_ResizetizerThrowsErrorOnDuplicateOutputFilename>true - <_ResizetizerThrowsErrorOnDuplicateOutputFilename Condition="'$(ResizetizerErrorOnDuplicateOutputFilename)' == 'false'">false - true - true - true - true - - - <_ResizetizerIsNetCore>True - <_ResizetizerIsAndroidApp Condition=" '$(_ResizetizerPlatformIsAndroid)' == 'True' And '$(AndroidApplication)' == 'True'">True - <_ResizetizerIsiOSApp Condition="( '$(_ResizetizerPlatformIsiOS)' == 'True' OR '$(_ResizetizerPlatformIsMacCatalyst)' == 'True' ) And ('$(OutputType)' == 'Exe' Or '$(IsAppExtension)' == 'True')">True - <_ResizetizerIsiOSSpecificApp Condition=" '$(_ResizetizerPlatformIsiOS)' == 'True' And ('$(OutputType)' == 'Exe' Or '$(IsAppExtension)' == 'True')">True - <_ResizetizerIsWPFApp Condition="'$(IsApplication)' == 'True' And '$(NuGetRuntimeIdentifier)' == 'win' And '$(_ResizetizerPlatformIsWindows)' == 'True'">True - <_ResizetizerIsWindowsAppSdk Condition="'$(MicrosoftWindowsAppSDKPackageDir)' != '' And '$(_ResizetizerPlatformIsWindows)' == 'True' And ('$(OutputType)' == 'WinExe' Or '$(OutputType)' == 'Exe')">True - <_ResizetizerIsTizenApp Condition="'$(_ResizetizerPlatformIsTizen)' == 'True' And ( '$(OutputType)' == 'Exe' )">True - - - <_ResizetizerIsCompatibleApp>True - - $(ResizetizeDependsOnTargets); - ResizetizeCollectItems; - ProcessMauiSplashScreens; - _ReadResizetizeImagesOutputs; - - - $(ProcessMauiFontsDependsOnTargets); - ResizetizeCollectItems; - ProcessMauiAssets; - ProcessMauiSplashScreens; - - - - - ios - - true - - $(CollectBundleResourcesDependsOn); - ResizetizeCollectItems; - - - $(CompileImageAssetsDependsOn); - ResizetizeCollectItems; - - - $(ResizetizeAfterTargets); - ResizetizeCollectItems; - - - ProcessMauiFonts; - ProcessMauiSplashScreens; - $(CollectAppManifestsDependsOn) - - - - - android - - $(ResizetizeCollectItemsBeforeTargets); - _ComputeAndroidResourcePaths; - - - $(ResizetizeAfterTargets); - ResizetizeCollectItems; - - - $(ProcessMauiFontsAfterTargets); - ResizetizeCollectItems; - - - - - uwp - - $(ResizetizeBeforeTargets); - AssignTargetPaths; - - - $(ProcessMauiFontsBeforeTargets); - AssignTargetPaths; - - - $(MauiGeneratePackageAppxManifestDependsOnTargets); - ResizetizeCollectItems; - - - - - wpf - - $(ResizetizeBeforeTargets); - FileClassification; - - - $(ProcessMauiFontsBeforeTargets); - FileClassification; - - - - - tizen - - $(ResizetizeBeforeTargets); - PrepareResources; - - - $(ResizetizeAfterTargets); - ResizetizeCollectItems; - - - $(ProcessMauiFontsAfterTargets); - ResizetizeCollectItems; - - - - - - - - - - - - - - - - - - - - - - - - - - <_ResizetizeCollectItemsProjectWithOIS Include="@(_ResolvedProjectReferencePaths->HasMetadata('OriginalProjectReferenceItemSpec'))" /> - - <_ResizetizeCollectItemsProjectWithItemSpec Include="@(_ResizetizeCollectItemsProjectWithOIS->'%(OriginalProjectReferenceItemSpec)')" /> - - <_ResizetizeCollectItemsProject Include="@(_ResizetizeCollectItemsProjectWithItemSpec->HasMetadata('NearestTargetFramework'))" /> - - <_ResizetizeCollectItemsProject Include="@(ProjectReference)" Exclude="@(_ResizetizeCollectItemsProject)" NearestTargetFramework="$(TargetFramework)" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_MauiSplashScreenWithHashes Update="@(_MauiSplashScreenWithHashes)" InputsFileHash="$(_MauiSplashInputsFileHash)" /> - - - - - - - - - - - <_MauiAssetWithLinkMetadata Include="@(MauiAsset)" Link="%(MauiAsset.LogicalName)" Condition="'%(MauiAsset.Link)' == '' And '%(MauiAsset.LogicalName)' != ''" /> - <_MauiAssetWithLinkMetadata Include="@(MauiAsset)" Condition="'%(MauiAsset.Link)' != '' Or '%(MauiAsset.LogicalName)' == ''" /> - - - - <_MauiAssetItemMetadata Condition="'$(_ResizetizerIsAndroidApp)' == 'True'">Link - <_MauiAssetItemMetadata Condition="'$(_ResizetizerIsiOSApp)' == 'True'">Link - <_MauiAssetItemMetadata Condition="'$(_ResizetizerIsWindowsAppSdk)' == 'True'">TargetPath - <_MauiAssetItemMetadata Condition="'$(_ResizetizerIsTizenApp)' == 'True'">TizenTpkFileName - - - - - - - - - - - - - - - - - - - - - <_MauiHasSplashScreens>false - <_MauiHasSplashScreens Condition="'@(MauiSplashScreen->Count())' != '0'">true - <_MauiShouldGenerateSplashScreen Condition="'$(_MauiHasSplashScreens)' == 'true'">true - <_MauiShouldGenerateSplashScreen Condition="'$(_ResizetizerIsiOSSpecificApp)' == 'True' and '$(_MauiHasSplashScreens)' != 'true' and '$(EnableBlankMauiSplashScreen)' == 'true'">true - - - - - - - <_MauiSplashAssets Include="$(_MauiIntermediateSplashScreen)**\*" /> - - $(_ResizetizerStampFile) - - - - - - <_MauiSplashScreenWithHashesInFilename Include="@(_MauiSplashScreenWithHashes->HasMetadata('Link'))" OriginalLink="%(_MauiSplashScreenWithHashes.Link)" Link="$([System.IO.Path]::GetFilenameWithoutExtension('%(_MauiSplashScreenWithHashes.Link)'))_%(InputsFileHash)$([System.IO.Path]::GetExtension('%(_MauiSplashScreenWithHashes.Link)'))" /> - <_MauiSplashScreenWithHashesInFilename Include="@(_MauiSplashScreenWithHashes)" Exclude="@(_MauiSplashScreenWithHashesInFilename)" Link="%(Filename)_%(InputsFileHash)%(Extension)" /> - - - - <_MauiIntermediateStoryboard>$(_MauiIntermediateSplashScreen)MauiSplash.storyboard - <_MauiIntermediatePList>$(_MauiIntermediateSplashScreen)MauiInfo.plist - - - - <_MauiSplashAssets Include="$(_MauiIntermediateSplashScreen)**\*" /> - <_MauiSplashStoryboard Include="$(_MauiIntermediateStoryboard)" /> - <_MauiSplashPList Include="$(_MauiIntermediatePList)" /> - <_MauiSplashImages Include="@(_MauiSplashAssets)" Exclude="@(_MauiSplashStoryboard);@(_MauiSplashPList)" /> - - - - - - - %(_MauiSplashImages.Filename)%(_MauiSplashImages.Extension) - %(_MauiSplashImages.Filename)%(_MauiSplashImages.Extension) - - - - - - <_MauiSplashAssets Include="$(_MauiIntermediateSplashScreen)**\*" /> - - %(_MauiSplashAssets.Filename)%(_MauiSplashAssets.Extension) - PreserveNewest - - - - - - <_MauiSplashAssets Include="$(_MauiIntermediateSplashScreen)**\*" /> - - <_MauiSplashScreens Include="$(_MauiIntermediateSplashScreen)splash\*" /> - - - - - - - - - - - - - - - <_MauiFontCopied Include="$(_MauiIntermediateFonts)*" /> - - - - - <_MauiFontBundleResource Include="@(_MauiFontCopied)"> - $([System.IO.Path]::GetFileName(%(_MauiFontCopied.Identity))) - $([System.IO.Path]::GetFileName(%(_MauiFontCopied.Identity))) - - - - - - - - <_MauiFontPListFiles Include="$(_MauiIntermediateFonts)MauiInfo.plist" Condition="Exists('$(_MauiIntermediateFonts)MauiInfo.plist')" /> - - - - - - - $([System.IO.Path]::GetFileName(%(_MauiFontCopied.Identity))) - - - - - - $([System.IO.Path]::GetFileName(%(_MauiFontCopied.Identity))) - PreserveNewest - - - - - - $([System.IO.Path]::GetFileName(%(_MauiFontCopied.Identity))) - $([System.IO.Path]::GetFileName(%(_MauiFontCopied.Identity))) - - - - - - - - - - - - - - - - - - - - - - <_MauiImageToProcess Include="@(MauiImage)" Condition=" '%(FileName)%(Extension)' != '.DS_Store' " /> - - - - - - - - - - <_ResizetizerCollectedImages Condition="'@(_CopiedResources->Count())' != '0'" Include="@(_CopiedResources)" /> - <_ResizetizerExistingImages Include="$(_MauiIntermediateImages)\**\*" /> - <_ResizetizerImagesToDelete Include="@(_ResizetizerExistingImages->'%(FullPath)')" /> - <_ResizetizerCollectedImages Condition="'@(_CopiedResources)' == ''" Include="@(_ResizetizerExistingImages->'%(FullPath)')" /> - <_ResizetizerImagesToDelete Remove="@(_ResizetizerCollectedImages)" /> - - - - - - - <_ResizetizerCollectedBundleResourceImages Include="@(_ResizetizerCollectedImages->'%(FullPath)')"> - %(_ResizetizerCollectedImages.Filename)%(_ResizetizerCollectedImages.Extension) - %(_ResizetizerCollectedImages.Filename)%(_ResizetizerCollectedImages.Extension) - - - - - Assets.xcassets\$([System.IO.Path]::GetFileName($([System.IO.Path]::GetDirectoryName(%(_ResizetizerCollectedBundleResourceImages.Identity)))))\%(_ResizetizerCollectedBundleResourceImages.Filename)%(_ResizetizerCollectedBundleResourceImages.Extension) - Assets.xcassets\$([System.IO.Path]::GetFileName($([System.IO.Path]::GetDirectoryName(%(_ResizetizerCollectedBundleResourceImages.Identity)))))\%(_ResizetizerCollectedBundleResourceImages.Filename)%(_ResizetizerCollectedBundleResourceImages.Extension) - Assets.xcassets\$([System.IO.Path]::GetFileName($([System.IO.Path]::GetDirectoryName(%(_ResizetizerCollectedBundleResourceImages.Identity)))))\%(_ResizetizerCollectedBundleResourceImages.Filename)%(_ResizetizerCollectedBundleResourceImages.Extension) - - - - - - - - $(_ResizetizerStampFile) - - - - - - - %(_ResizetizerCollectedImages.Filename)%(_ResizetizerCollectedImages.Extension) - PreserveNewest - - - <_MauiAppIconFile Include="@(_ResizetizerCollectedImages)" Condition="'%(Extension)' == '.ico'" /> - - - %(_MauiAppIconFile.Identity) - - - - - %(_ResizetizerCollectedImages.Filename)%(_ResizetizerCollectedImages.Extension) - %(_ResizetizerCollectedImages.Filename)%(_ResizetizerCollectedImages.Extension) - - - - - - $([System.IO.Path]::GetFullPath('$(_MauiIntermediateImages)')) - - - - - - $([MSBuild]::MakeRelative($(ResizetizerIntermediateOutputAbsolutePath), $([System.IO.Path]::GetFullPath('%(_ResizetizerCollectedImages.RelativeDir)')))) - - - - - - - - - - - - - - - - - <_MauiAppxManifest Include="@(AppxManifest)" /> - - - - - - - - <_MauiWindowsApplicationId Condition="'$(_MauiWindowsApplicationId)' == '' and '$(ApplicationIdGuid)' != ''">$(ApplicationIdGuid) - <_MauiWindowsApplicationId Condition="'$(_MauiWindowsApplicationId)' == '' and '$(ApplicationId)' != ''">$(ApplicationId) - - - - - - - - - <_MauiAppxManifest Remove="@(_MauiAppxManifest)" /> - <_MauiAppxManifest Include="$(_MauiIntermediateManifest)Package.appxmanifest" /> - - - - - - - - - - - - <_MauiAppxManifestContents>$([System.IO.File]::ReadAllText('$(_MauiIntermediateManifest)Package.appxmanifest')) - - - - - - - - - - - - - - - - <_Parameter1>Microsoft.Maui.ApplicationModel.AppInfo.PackageName - <_Parameter2>@(_MauiAppxManifestIdentity) - - - <_Parameter1>Microsoft.Maui.ApplicationModel.AppInfo.PublisherName - <_Parameter2>@(_MauiAppxManifestPublisher) - - - <_Parameter1>Microsoft.Maui.ApplicationModel.AppInfo.Name - <_Parameter2>@(_MauiAppxManifestDisplayName) - - - <_Parameter1>Microsoft.Maui.ApplicationModel.AppInfo.Version - <_Parameter2>@(_MauiAppxManifestVersion) - - - - - - - - $(_MauiIntermediateManifest)tizen-manifest.xml - - - - - - - - - - - - - - - $(MSBuildWarningsAsMessages);XA4218 - - - - - - - - - - - - - $(EnableDefaultItems) - $(EnableDefaultMauiItems) - $(EnableDefaultMauiItems) - $(EnableDefaultMauiItems) - - - - - - - - - true - True - True - - true - - false - - - - - - - - - - - <_MauiBindingInterceptorsSupport Condition=" '$(_MauiBindingInterceptorsSupport)' == '' and '$(DisableMauiAnalyzers)' != 'true' ">true - $(InterceptorsPreviewNamespaces);Microsoft.Maui.Controls.Generated - - - - - - - - - - - <_MauiTargetsImportedAgain Condition="'$(_MauiTargetsImported)'=='True'">True - <_MauiTargetsImported>True - true - false - - - - - - - - - - - - - - - - - <_MauiXamlWithResourceNames Remove="@(_MauiXamlWithResourceNames)" /> - <_MauiXamlWithTargetPath Remove="@(_MauiXamlWithTargetPath)" /> - <_MauiCssWithResourceNames Remove="@(_MauiCssWithResourceNames)" /> - <_MauiCssWithTargetPath Remove="@(_MauiCssWithTargetPath)" /> - - - - - - - - - - - - - - - - - <_MauiXamlWithResourceNames Remove="@(_MauiXamlWithResourceNames)" /> - <_MauiXamlWithTargetPath Remove="@(_MauiXamlWithTargetPath)" /> - <_MauiCssWithResourceNames Remove="@(_MauiCssWithResourceNames)" /> - <_MauiCssWithTargetPath Remove="@(_MauiCssWithTargetPath)" /> - - - - - - _MauiAddXamlEmbeddedResources; - $(PrepareResourcesDependsOn); - - - - - - - - - - - - $(CompileDependsOn); - XamlC; - - - - - <_MauiXamlCValidateOnly>$(MauiXamlCValidateOnly) - <_MauiXamlCValidateOnly Condition="'$(Configuration)' == 'Debug' AND '$(_MauiForceXamlCForDebug)' != 'True'">True - <_MauiXamlCValidateOnly Condition="'$(BuildingForLiveUnitTesting)' == 'True' ">True - true - <_MauiXamlCWarningsNotAsErrors>$(WarningsNotAsErrors) - <_MauiXamlCWarningsNotAsErrors Condition="'$(MauiStrictXamlCompilation)' != 'true'">$(_MauiXamlCWarningsNotAsErrors);XC0022;XC0023;XC0025 - <_MauiXamlCGenerateFullPaths Condition="'$(_MauiXamlCGenerateFullPaths)' == '' and '$(GenerateFullPaths)' == 'true'">true - <_MauiXamlCGenerateFullPaths Condition="'$(_MauiXamlCGenerateFullPaths)' == ''">false - <_MauiXamlCFullPathPrefix Condition="'$(_MauiXamlCFullPathPrefix)' == '' and '$(_MauiXamlCGenerateFullPaths)' == 'true'">$(MSBuildProjectDirectory) - - - - - - - - - - - - IncludeProguardForAndroid; - $(CoreCompileDependsOn); - - - ValidateTargetFrameworkVersionForMaui; - $(PrepareForBuildDependsOn); - - - - - - - - - - 10.0 - $(TargetFrameworkVersion.TrimStart('vV')) - - - - - - false - - - false - false - false - true - false - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - - - false - - - false - - - false - - - false - - - false - - - - - - - - - - <_MauiXamlToRemove Condition="'$(WindowsProjectFolder)' != ''" Include="$(WindowsProjectFolder)**/*.xaml" /> - - - - - - - - <_MauiOld_ResourcePrefix>$(_ResourcePrefix) - <_ResourcePrefix>Resources;$(_ResourcePrefix) - - - - - <_ResourcePrefix>$(_MauiOld_ResourcePrefix) - - - - - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Maui\Maui.DesignTime.targets - - - - - - - - - - $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll - $(MSBuildThisFileDirectory)..\tools\net9.0\Microsoft.DotNet.ApiCompat.Task.dll - - - - - - - - - - - - - - <_UseRoslynToolsetPackage Condition="'$(ApiCompatUseRoslynToolsetPackagePath)' == 'true' and '@(PackageReference->AnyHaveMetadataValue('Identity', 'Microsoft.Net.Compilers.Toolset'))' == 'true'">true - - $([System.IO.Path]::GetDirectoryName('$(CSharpCoreTargetsPath)')) - - $(RoslynTargetsPath) - - $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', 'bincore')) - - - - $(GenerateCompatibilitySuppressionFile) - - - - - - - <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) - - $(_apiCompatDefaultProjectSuppressionFile) - - - - - - - - - - - <_ApiCompatValidatePackageSemaphoreFile>$(IntermediateOutputPath)$(MSBuildThisFileName).semaphore - - CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) - - - - $(PackageId) - $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) - <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) - - - <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> - - - - - - - - - - $(TargetPlatformMoniker) - - - - - - - - - - - - - - - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets - true - - - - - - ..\CoreCLR\NuGet.Build.Tasks.Pack.dll - ..\Desktop\NuGet.Build.Tasks.Pack.dll - - - - - - - - - $(AssemblyName) - $(Version) - true - _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) - $(Description) - Package Description - false - true - true - tools - lib - content;contentFiles - $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) - true - symbols.nupkg - DeterminePortableBuildCapabilities - false - false - .dll; .exe; .winmd; .json; .pri; .xml - $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) - .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) - .pdb - false - - - $(GenerateNuspecDependsOn) - - - Build;$(GenerateNuspecDependsOn) - - - - - - - $(TargetFramework) - - - - $(MSBuildProjectExtensionsPath) - $(BaseOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - - - - - - - - - - - - - - - - - - - - - - - - <_ProjectFrameworks /> - - - - - - <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> - - - - - - - <_PackageFilesToDelete Include="@(_OutputPackItems)" /> - - - - - - false - - - - - - - - - - - - - - - - - - - - true - - - - - - - - - - - - - - $(PrivateRepositoryUrl) - $(SourceRevisionId) - $(SourceBranchName) - - - - - - - $(MSBuildProjectFullPath) - - - - - - - - - - - - - - - - - <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> - $(PackageVersion) - 1.0.0 - - - - - - <_ProjectsWithTFM Include="$(MSBuildProjectFullPath)" AdditionalProperties="TargetFramework=%(_TargetFrameworks.Identity)" /> - <_ProjectsWithTFMNoBuild Include="$(MSBuildProjectFullPath)" AdditionalProperties="TargetFramework=%(_TargetFrameworks.Identity);BuildProjectReferences=false" /> - - - - - - - - - - - - - - - - - - - - - - - <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> - - - - - - $(TargetFramework) - - - - - - - - - - - - - %(TfmSpecificPackageFile.RecursiveDir) - %(TfmSpecificPackageFile.BuildAction) - - - - - - <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> - $(TargetFramework) - - - - <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> - - - - - - <_PathToPriFile Include="$(ProjectPriFullPath)"> - $(ProjectPriFullPath) - $(ProjectPriFileName) - - - - - - - <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> - - - - <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> - Content - - <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> - Compile - - <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> - None - - <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> - EmbeddedResource - - <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> - ApplicationDefinition - - <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> - Page - - <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> - Resource - - <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> - SplashScreen - - <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> - DesignData - - <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> - DesignDataWithDesignTimeCreatableTypes - - <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> - CodeAnalysisDictionary - - <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> - AndroidAsset - - <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> - AndroidResource - - <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> - BundleResource - - - - - - - <_IsNotSetContainersTargetsDir>false - <_IsNotSetContainersTargetsDir Condition=" '$(_ContainersTargetsDir)'=='' ">true - <_ContainersTargetsDir Condition="$(_IsNotSetContainersTargetsDir)">$(MSBuildThisFileDirectory)..\..\..\Containers\build\ - - - - - true - tasks - net9.0 - net472 - containerize - - $(MSBuildThisFileDirectory)..\$(ContainerTaskFolderName)\$(ContainerTaskFramework)\ - $(MSBuildThisFileDirectory)..\$(ContainerizeFolderName)\ - - $(ContainerCustomTasksFolder)$(MSBuildThisFileName).dll - - - - - - - - - - <_IsSDKContainerAllowedVersion>false - - <_IsSDKContainerAllowedVersion Condition="$([MSBuild]::VersionGreaterThan($(NetCoreSdkVersion), 7.0.100)) OR ( $([MSBuild]::VersionEquals($(NetCoreSdkVersion), 7.0.100)) AND ( $(NETCoreSdkVersion.Contains('-preview.7')) OR $(NETCoreSdkVersion.Contains('-rc')) OR $(NETCoreSdkVersion.Contains('-')) == false ) )">true - <_ContainerIsTargetingNet8TFM>false - <_ContainerIsTargetingNet8TFM Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' And $([MSBuild]::VersionGreaterThanOrEquals($(_TargetFrameworkVersionWithoutV), '8.0'))">true - <_ContainerIsSelfContained>false - <_ContainerIsSelfContained Condition="'$(SelfContained)' == 'true' or '$(PublishSelfContained)' == 'true'">true - true - - - - - - - - - - - - $(RuntimeIdentifier) - $(RuntimeIdentifiers) - linux-$(NETCoreSdkPortableRuntimeIdentifier.Split('-')[1]) - <_ContainerIsUsingMicrosoftDefaultImages Condition="'$(ContainerBaseImage)' == ''">true - <_ContainerIsUsingMicrosoftDefaultImages Condition="'$(ContainerBaseImage)' != ''">false - - - <_TargetRuntimeIdentifiers Include="$(ContainerRuntimeIdentifier)" Condition="'$(ContainerRuntimeIdentifier)' != ''" /> - <_TargetRuntimeIdentifiers Include="$(ContainerRuntimeIdentifiers)" Condition="@(_TargetRuntimeIdentifiers->Count()) == 0" /> - - - - - - <_TargetRuntimeIdentifiers Remove="$(_TargetRuntimeIdentifiers)" /> - - - - - - $(RegistryUrl) - - $(PublishImageTag) - - $([System.DateTime]::UtcNow.ToString('yyyyMMddhhmmss')) - - - - - - - - - - - $(ContainerImageName) - - $(AssemblyName) - - latest - $([System.DateTime]::UtcNow.ToString('yyyyMMddhhmmss')) - - <_ContainerIsTargetingWindows>false - <_ContainerIsTargetingWindows Condition="$(ContainerRuntimeIdentifier.StartsWith('win'))">true - - /app/ - C:\app\ - - - - - - - - - - ContainerUser - - - - - - - - - - - - - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - - - $(Description) - $(Authors) - $(PackageProjectUrl) - $(PackageProjectUrl) - $(PackageVersion) - $(PackageLicenseExpression) - $(Title) - - - - - - - - - - - - - - - - - - - - - - <_TrimmedRepositoryUrl Condition="'$(RepositoryType)' == 'git' and '$(PrivateRepositoryUrl)' != '' and $(PrivateRepositoryUrl.EndsWith('.git'))">$(PrivateRepositoryUrl.Substring(0, $(PrivateRepositoryUrl.LastIndexOf('.git')))) - <_TrimmedRepositoryUrl Condition="'$(_TrimmedRepositoryUrl)' == '' and '$(PrivateRepositoryUrl)' != ''">$(PrivateRepositoryUrl) - - - - - - - - - _ContainerVerifySDKVersion; - ComputeContainerConfig; - _CheckContainersPackage - - - - - - <_ContainersPackageIdentity>Microsoft.NET.Build.Containers - <_WebDefaultSdkVersion>7.0.300 - <_WorkerDefaultSdkVersion>8.0.100 - <_ConsoleDefaultSdkVersion>8.0.200 - - <_SdkCanPublishWeb>$([MSBuild]::VersionGreaterThanOrEquals('$(NETCoreSdkVersion)', '$(_WebDefaultSdkVersion)')) - <_SdkCanPublishWorker>$([MSBuild]::VersionGreaterThanOrEquals('$(NETCoreSdkVersion)', '$(_WorkerDefaultSdkVersion)')) - <_SdkCanPublishConsole>$([MSBuild]::VersionGreaterThanOrEquals('$(NETCoreSdkVersion)', '$(_ConsoleDefaultSdkVersion)')) - - <_ContainerPackageIsPresent>false - <_ContainerPackageIsPresent Condition="@(PackageReference->AnyHaveMetadataValue('Identity', '$(_ContainersPackageIdentity)'))">true - <_IsWebProject>false - <_IsWebProject Condition="@(ProjectCapability->AnyHaveMetadataValue('Identity', 'DotNetCoreWeb'))">true - <_IsWorkerProject>false - <_IsWorkerProject Condition="@(ProjectCapability->AnyHaveMetadataValue('Identity', 'DotNetCoreWorker'))">true - - - - - - $(NetCoreRoot) - dotnet - dotnet.exe - - - - - - - - - - - - - $(GeneratedContainerManifest) - $(GeneratedContainerConfiguration) - $(GeneratedContainerDigest) - $(GeneratedContainerMediaType) - - - - - - - - - <_SkipContainerPublishing>false - <_SkipContainerPublishing Condition="$(ContainerArchiveOutputPath) != '' or ( $(ContainerRegistry) == '' and ( $(LocalRegistry) == '' or $(LocalRegistry) == 'Docker' ) )">true - - <_SkipCreateImageIndex>false - <_SkipCreateImageIndex Condition="$(ContainerArchiveOutputPath) == '' and $(ContainerRegistry) == '' and $(LocalRegistry) == 'Podman'">true - - - <_SingleImageContainerFormat Condition="'$(ContainerImageFormat)' != ''">$(ContainerImageFormat) - - <_SingleImageContainerFormat Condition="$(_SkipContainerPublishing) == 'true' ">OCI - - - <_rids Include="$(ContainerRuntimeIdentifiers)" Condition="'$(ContainerRuntimeIdentifiers)' != ''" /> - <_rids Include="$(RuntimeIdentifiers)" Condition="'$(ContainerRuntimeIdentifiers)' == '' and '$(RuntimeIdentifiers)' != ''" /> - <_InnerBuild Include="$(MSBuildProjectFullPath)" AdditionalProperties=" ContainerRuntimeIdentifier=%(_rids.Identity); RuntimeIdentifier=%(_rids.Identity); ContainerBaseRegistry=$(ContainerBaseRegistry); ContainerBaseName=$(ContainerBaseName); ContainerBaseTag=$(ContainerBaseTag); ContainerBaseDigest=$(ContainerBaseDigest); ContainerRegistry=$(ContainerRegistry); _ContainerImageTags=@(ContainerImageTags, ';'); ContainerRepository=$(ContainerRepository); ContainerWorkingDirectory=$(ContainerWorkingDirectory); _ContainerEntrypoint=@(ContainerEntrypoint, ';'); _ContainerEntrypointArgs=@(ContainerEntrypointArgs, ';'); _ContainerAppCommand=@(ContainerAppCommand, ';'); _ContainerAppCommandArgs=@(ContainerAppCommandArgs, ';'); ContainerAppCommandInstruction=$(ContainerAppCommandInstruction); _ContainerDefaultArgs=@(ContainerDefaultArgs, ';'); _ContainerLabel=@(ContainerLabel->'%(Identity):%(Value)'); _ContainerPort=@(ContainerPort->'%(Identity):%(Type)'); _ContainerEnvironmentVariables=@(ContainerEnvironmentVariable->'%(Identity):%(Value)'); ContainerUser=$(ContainerUser); ContainerGenerateLabels=$(ContainerGenerateLabels); ContainerGenerateLabelsImageBaseDigest=$(ContainerGenerateLabelsImageBaseDigest); _SkipContainerPublishing=$(_SkipContainerPublishing); ContainerImageFormat=$(_SingleImageContainerFormat) " /> - <_rids Remove="$(_rids)" /> - - - - - - - - - - - - - - - - - - - <_ParsedContainerLabel Condition="'$(_ContainerLabel)' != ':'" Include="$(_ContainerLabel)" /> - - <_ParsedContainerPort Condition="'$(_ContainerPort)' != ':'" Include="$(_ContainerPort)" /> - - <_ParsedContainerEnvironmentVariables Condition="'$(_ContainerEnvironmentVariables)' != ':'" Include="$(_ContainerEnvironmentVariables)" /> - - - - - - <_IsMultiTFMBuild Condition="'$(TargetFrameworks)' != '' and '$(TargetFramework)' == ''">true - - <_HasCRIDsAndNoCRID Condition="'$(ContainerRuntimeIdentifiers)' != '' and '$(ContainerRuntimeIdentifier)' == ''">true - <_HasRIDs Condition="'$(RuntimeIdentifiers)' != ''">true - <_NoCRIDsOrCRIDorRID Condition="'$(ContainerRuntimeIdentifiers)' == '' and '$(ContainerRuntimeIdentifier)' == '' and '$(RuntimeIdentifier)' == ''">true - <_IsMultiRIDBuild Condition="'$(BuildingInsideVisualStudio)' != 'true' and ('$(_HasCRIDsAndNoCRID)' == true or ('$(_HasRIDs)' == 'true' and '$(_NoCRIDsOrCRIDorRID)' == 'true'))">true - <_IsSingleRIDBuild Condition="'$(_IsMultiRIDBuild)' == ''">true - - - - - - - - - \ No newline at end of file From 715588986da33f8e4ddb411f9db8011d22e5fcf1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 26 Jun 2025 10:06:22 +0000 Subject: [PATCH 18/27] Simplify MSBuild targets using item groups with metadata and % operator for template processing Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com> --- ...nners.VisualRunners.Maui.Bootstrap.targets | 318 +++++------------- 1 file changed, 78 insertions(+), 240 deletions(-) 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 index 9cb28f52..999d40df 100644 --- a/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.targets +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.targets @@ -1,260 +1,98 @@ - - - - - - - - + + + + + $(IntermediateOutputPath)Platforms/Android/MainActivity.cs + android + Compile + + + $(IntermediateOutputPath)Platforms/Android/MainApplication.cs + android + Compile + + + + + $(IntermediateOutputPath)Platforms/iOS/Program.cs + ios + Compile + + + $(IntermediateOutputPath)Platforms/iOS/AppDelegate.cs + ios + Compile + + + + + $(IntermediateOutputPath)Platforms/MacCatalyst/Program.cs + maccatalyst + Compile + + + $(IntermediateOutputPath)Platforms/MacCatalyst/AppDelegate.cs + maccatalyst + Compile + + + + + $(IntermediateOutputPath)Platforms/Windows/App.xaml.cs + windows + Compile + + + $(IntermediateOutputPath)Platforms/Windows/App.xaml + windows + Page + + + $(IntermediateOutputPath)Platforms/Windows/app.manifest + windows + ApplicationManifest + + + $(IntermediateOutputPath)Platforms/Windows/Package.appxmanifest + windows + AppxManifest + - - - - $(MSBuildThisFileDirectory)templates/Platforms/Android/MainActivity.cs.template - $(IntermediateOutputPath)Platforms/Android/MainActivity.cs - - - - - - - - <_ProcessedContent>@(_TemplateLines, '%0D%0A') - <_ProcessedContent>$(_ProcessedContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{AppId}}', '$(ApplicationId)')) - - - - - - - - $(MSBuildThisFileDirectory)templates/Platforms/Android/MainApplication.cs.template - $(IntermediateOutputPath)Platforms/Android/MainApplication.cs - - - - - - - - <_ProcessedContent>@(_TemplateLines, '%0D%0A') - <_ProcessedContent>$(_ProcessedContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{AppId}}', '$(ApplicationId)')) - - - - - - - - $(MSBuildThisFileDirectory)templates/Platforms/iOS/Program.cs.template - $(IntermediateOutputPath)Platforms/iOS/Program.cs - - - - - - - - <_ProcessedContent>@(_TemplateLines, '%0D%0A') - <_ProcessedContent>$(_ProcessedContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{AppId}}', '$(ApplicationId)')) - - - - - - - - $(MSBuildThisFileDirectory)templates/Platforms/iOS/AppDelegate.cs.template - $(IntermediateOutputPath)Platforms/iOS/AppDelegate.cs - - - - - - - - <_ProcessedContent>@(_TemplateLines, '%0D%0A') - <_ProcessedContent>$(_ProcessedContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{AppId}}', '$(ApplicationId)')) - - - - - - - - $(MSBuildThisFileDirectory)templates/Platforms/MacCatalyst/Program.cs.template - $(IntermediateOutputPath)Platforms/MacCatalyst/Program.cs - - - - - - - - <_ProcessedContent>@(_TemplateLines, '%0D%0A') - <_ProcessedContent>$(_ProcessedContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{AppId}}', '$(ApplicationId)')) - - - - - - - - $(MSBuildThisFileDirectory)templates/Platforms/MacCatalyst/AppDelegate.cs.template - $(IntermediateOutputPath)Platforms/MacCatalyst/AppDelegate.cs - - - - - - - - <_ProcessedContent>@(_TemplateLines, '%0D%0A') - <_ProcessedContent>$(_ProcessedContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{AppId}}', '$(ApplicationId)')) - - - - - - - - $(MSBuildThisFileDirectory)templates/Platforms/Windows/App.xaml.cs.template - $(IntermediateOutputPath)Platforms/Windows/App.xaml.cs - - - - - - - - <_ProcessedContent>@(_TemplateLines, '%0D%0A') - <_ProcessedContent>$(_ProcessedContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{AppId}}', '$(ApplicationId)')) - - - - - - - - $(MSBuildThisFileDirectory)templates/Windows/App.xaml - $(IntermediateOutputPath)Platforms/Windows/App.xaml - - - - - - - - <_ProcessedContent>@(_TemplateLines, '%0D%0A') - <_ProcessedContent>$(_ProcessedContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{AppId}}', '$(ApplicationId)')) - - - - - - - - $(MSBuildThisFileDirectory)templates/Windows/app.manifest - $(IntermediateOutputPath)Platforms/Windows/app.manifest - + + - - - + + + - <_ProcessedContent>@(_TemplateLines, '%0D%0A') - <_ProcessedContent>$(_ProcessedContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) + <_TemplateContent>$([System.IO.File]::ReadAllText('%(TemplateFile.Identity)')) + <_ProcessedContent>$(_TemplateContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) <_ProcessedContent>$(_ProcessedContent.Replace('{{AppId}}', '$(ApplicationId)')) - - - - - - $(MSBuildThisFileDirectory)templates/Windows/Package.appxmanifest - $(IntermediateOutputPath)Platforms/Windows/Package.appxmanifest - - - - - - - - <_ProcessedContent>@(_TemplateLines, '%0D%0A') - <_ProcessedContent>$(_ProcessedContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{AppId}}', '$(ApplicationId)')) - - - - - - - - - - - - - - - - - - - + + - - - - - - - + + + + - - - - - - - + + + + - + From f58838f091ee70690aa62de0779cd31f68326037 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 26 Jun 2025 10:37:53 +0000 Subject: [PATCH 19/27] Address feedback: move props to top, standardize templating, and improve build performance Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com> --- .../DeviceTestingKitApp.DeviceTests.csproj | 8 ++++---- .../DeviceRunners.VisualRunners.Maui.Bootstrap.targets | 3 +-- .../templates/Platforms/Android/MainActivity.cs.template | 2 +- .../templates/Platforms/Windows/App.xaml.cs.template | 2 +- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj index 67efd839..6d8ff165 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj +++ b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj @@ -1,5 +1,9 @@  + + + + net9.0-android $(TargetFrameworks);net9.0-ios;net9.0-maccatalyst @@ -50,10 +54,6 @@ - - - - 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 index 999d40df..0f1ba348 100644 --- a/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.targets +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.targets @@ -75,11 +75,10 @@ <_ProcessedContent>$(_TemplateContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationTitle}}', '$(ApplicationTitle)')) <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) - <_ProcessedContent>$(_ProcessedContent.Replace('{{AppId}}', '$(ApplicationId)')) - + 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 index 83d584fe..2b6719b8 100644 --- 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 @@ -4,7 +4,7 @@ using Android.OS; namespace {{RootNamespace}}; -[Activity(Name = "{{AppId}}.MainActivity", Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] +[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/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/App.xaml.cs.template b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/App.xaml.cs.template index f33919fa..674bea99 100644 --- a/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/App.xaml.cs.template +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/App.xaml.cs.template @@ -3,7 +3,7 @@ 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 {{RootNamespace}}; +namespace {{RootNamespace}}.WinUI; /// /// Provides application-specific behavior to supplement the default Application class. From 358c652077200750f595189b1bd2667026723d33 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 26 Jun 2025 13:25:12 +0000 Subject: [PATCH 20/27] Refactor MSBuild targets to use metadata and improve clean support Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com> --- .../DeviceTestingKitApp.DeviceTests.csproj | 6 +- ...nners.VisualRunners.Maui.Bootstrap.targets | 57 +++++++++++-------- 2 files changed, 38 insertions(+), 25 deletions(-) diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj index 6d8ff165..602a07e8 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj +++ b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj @@ -1,8 +1,7 @@  - + - net9.0-android @@ -59,4 +58,7 @@ + + + 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 index 0f1ba348..f5aa867b 100644 --- a/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.targets +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.targets @@ -79,6 +79,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -91,29 +125,6 @@ - - - - - - - - - - - - - - - - - - - - - - - From 23512d8c588a1169ec4516f5550f57e8dff298ba Mon Sep 17 00:00:00 2001 From: Matthew Leibowitz Date: Fri, 27 Jun 2025 00:58:32 +0200 Subject: [PATCH 21/27] Now it works --- .../DeviceTestingKitApp.DeviceTests.csproj | 9 +- .../Resources/Images/dotnet_bot.svg | 93 ------------ ...pp.xunit.runner.json => xunit.runner.json} | 0 ...Runners.VisualRunners.Maui.Bootstrap.props | 4 - ...nners.VisualRunners.Maui.Bootstrap.targets | 138 +++++++++--------- .../MacCatalyst/Info.plist.template} | 0 .../Windows/App.xaml.template} | 0 .../Windows/Package.appxmanifest.template} | 0 .../Windows/app.manifest.template} | 0 .../iOS/Info.plist.template} | 0 10 files changed, 72 insertions(+), 172 deletions(-) delete mode 100644 sample/test/DeviceTestingKitApp.DeviceTests/Resources/Images/dotnet_bot.svg rename sample/test/DeviceTestingKitApp.DeviceTests/{Resources/Raw/SampleMauiApp.xunit.runner.json => xunit.runner.json} (100%) rename src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/{MacCatalyst/Info.plist => Platforms/MacCatalyst/Info.plist.template} (100%) rename src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/{Windows/App.xaml => Platforms/Windows/App.xaml.template} (100%) rename src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/{Windows/Package.appxmanifest => Platforms/Windows/Package.appxmanifest.template} (100%) rename src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/{Windows/app.manifest => Platforms/Windows/app.manifest.template} (100%) rename src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/{iOS/Info.plist => Platforms/iOS/Info.plist.template} (100%) diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj index 602a07e8..d6b757f3 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj +++ b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj @@ -27,14 +27,7 @@ - - - - - - - - + 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/build/DeviceRunners.VisualRunners.Maui.Bootstrap.props b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.props index 6b48033f..0c98d167 100644 --- a/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.props +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.props @@ -1,7 +1,3 @@ - - - <_ShouldGenerateDeviceTestApp Condition="'$(UseMaui)' == 'true' AND '$(DesignTimeBuild)' != 'true'">true - \ 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 index f5aa867b..0f163dbf 100644 --- a/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.targets +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.targets @@ -1,75 +1,110 @@ - + + - + + + + - $(IntermediateOutputPath)Platforms/Android/MainActivity.cs + Platforms/Android/MainActivity.cs android Compile - $(IntermediateOutputPath)Platforms/Android/MainApplication.cs + Platforms/Android/MainApplication.cs android Compile - + - $(IntermediateOutputPath)Platforms/iOS/Program.cs + Platforms/iOS/Program.cs ios Compile - $(IntermediateOutputPath)Platforms/iOS/AppDelegate.cs + Platforms/iOS/AppDelegate.cs ios Compile + + Platforms/iOS/Info.plist + ios + PartialAppManifest + - + - $(IntermediateOutputPath)Platforms/MacCatalyst/Program.cs + Platforms/MacCatalyst/Program.cs maccatalyst Compile - $(IntermediateOutputPath)Platforms/MacCatalyst/AppDelegate.cs + Platforms/MacCatalyst/AppDelegate.cs maccatalyst Compile + + Platforms/MacCatalyst/Info.plist + maccatalyst + PartialAppManifest + - + - $(IntermediateOutputPath)Platforms/Windows/App.xaml.cs + Platforms/Windows/App.xaml.cs windows Compile - - $(IntermediateOutputPath)Platforms/Windows/App.xaml + + Platforms/Windows/App.xaml windows Page - - $(IntermediateOutputPath)Platforms/Windows/app.manifest + + Platforms/Windows/app.manifest windows ApplicationManifest - - $(IntermediateOutputPath)Platforms/Windows/Package.appxmanifest + + Platforms/Windows/Package.appxmanifest windows AppxManifest + - - + + + + <_DeviceRunnersIntermediateOutputPath>$(IntermediateOutputPath)bootstrap/%(TemplateFile.Destination) + + + - - - - <_TemplateContent>$([System.IO.File]::ReadAllText('%(TemplateFile.Identity)')) <_ProcessedContent>$(_TemplateContent.Replace('{{RootNamespace}}', '$(RootNamespace)')) @@ -77,55 +112,22 @@ <_ProcessedContent>$(_ProcessedContent.Replace('{{ApplicationId}}', '$(ApplicationId)')) - - + - - + - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - + - + <_VisualStudioTestRunnerFiles Include="@(PackagingOutputs)" Condition="$([System.String]::Copy('%(PackagingOutputs.FullPath)').Contains('xunit.runner.visualstudio'))" /> @@ -133,7 +135,9 @@ - + diff --git a/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/MacCatalyst/Info.plist b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/MacCatalyst/Info.plist.template similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/MacCatalyst/Info.plist rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/MacCatalyst/Info.plist.template diff --git a/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Windows/App.xaml b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/App.xaml.template similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Windows/App.xaml rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/App.xaml.template diff --git a/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Windows/Package.appxmanifest b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/Package.appxmanifest.template similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Windows/Package.appxmanifest rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/Package.appxmanifest.template diff --git a/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Windows/app.manifest b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/app.manifest.template similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Windows/app.manifest rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/Windows/app.manifest.template diff --git a/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/iOS/Info.plist b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/iOS/Info.plist.template similarity index 100% rename from src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/iOS/Info.plist rename to src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/templates/Platforms/iOS/Info.plist.template From a6a6d68bc1799ee88396c0b111d0443ad3d291e1 Mon Sep 17 00:00:00 2001 From: Matthew Leibowitz Date: Fri, 27 Jun 2025 01:07:21 +0200 Subject: [PATCH 22/27] publisher now --- .github/workflows/test-tcp-windows.yml | 2 +- .github/workflows/test-xharness-windows.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }} ` From 910a686adc038784c15e2660d53119517b81ce46 Mon Sep 17 00:00:00 2001 From: Matthew Leibowitz Date: Fri, 27 Jun 2025 02:05:49 +0200 Subject: [PATCH 23/27] Update DeviceRunners.VisualRunners.Maui.Bootstrap.targets --- ...nners.VisualRunners.Maui.Bootstrap.targets | 115 +++++++++++------- 1 file changed, 72 insertions(+), 43 deletions(-) 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 index 0f163dbf..f387191a 100644 --- a/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.targets +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.targets @@ -9,126 +9,148 @@ - + <_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 Page - - + + <_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); + + + + + + + - + - <_DeviceRunnersIntermediateOutputPath>$(IntermediateOutputPath)bootstrap/%(TemplateFile.Destination) + <_DeviceRunnersIntermediateOutputPath>$(IntermediateOutputPath)bootstrap/%(_DeviceRunnersTemplateFile.Destination) - + - <_TemplateContent>$([System.IO.File]::ReadAllText('%(TemplateFile.Identity)')) + <_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'))" /> @@ -139,8 +161,15 @@ Add default app icon and splash screen from templates for Maui projects. --> - - + + + + + \ No newline at end of file From ca5d396cdca45f679a29585eaeb73740a7d556f8 Mon Sep 17 00:00:00 2001 From: Matthew Leibowitz Date: Fri, 27 Jun 2025 02:21:10 +0200 Subject: [PATCH 24/27] Update DeviceRunners.VisualRunners.Maui.Bootstrap.targets --- .../DeviceRunners.VisualRunners.Maui.Bootstrap.targets | 6 ++++++ 1 file changed, 6 insertions(+) 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 index f387191a..fd868a2a 100644 --- a/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.targets +++ b/src/DeviceRunners.VisualRunners.Maui.Bootstrap/build/DeviceRunners.VisualRunners.Maui.Bootstrap.targets @@ -100,6 +100,12 @@ $(PrepareForBuildDependsOn); + + + _DeviceRunnersProcessAllTemplates; + $(PrepareResourcesDependsOn); + +