1- <? xml version = " 1.0 " encoding = " utf-8 " ? >
2- < Project DefaultTargets = " Build " ToolsVersion = " 4.0 " xmlns = " http://schemas.microsoft.com/developer/msbuild/2003 " >
1+ <Project Sdk = " Microsoft.NET.Sdk " >
2+
33 <PropertyGroup >
4- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
5- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
6- <ProductVersion >10.0.0</ProductVersion >
7- <SchemaVersion >2.0</SchemaVersion >
8- <ProjectGuid >{9479B71F-19FE-48F9-AB3F-AE764D76038A}</ProjectGuid >
9- <ProjectTypeGuids >{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids >
10- <OutputType >Library</OutputType >
4+ <TargetFramework >$(DotNetAndroidTargetFramework)</TargetFramework >
5+ <SupportedOSPlatformVersion >24</SupportedOSPlatformVersion >
6+ <OutputType >Exe</OutputType >
7+ <Nullable >enable</Nullable >
8+ <ImplicitUsings >enable</ImplicitUsings >
9+ <ApplicationId >Xamarin.Android.JcwGen_Tests</ApplicationId >
10+ <ApplicationVersion >1</ApplicationVersion >
11+ <ApplicationDisplayVersion >1.0</ApplicationDisplayVersion >
1112 <RootNamespace >Xamarin.Android.JcwGenTests</RootNamespace >
12- <AndroidApplication >True</AndroidApplication >
13- <AndroidResgenFile >Resources\Resource.designer.cs</AndroidResgenFile >
14- <AndroidResgenClass >Resource</AndroidResgenClass >
15- <MonoAndroidResourcePrefix >Resources</MonoAndroidResourcePrefix >
16- <MonoAndroidAssetsPrefix >Assets</MonoAndroidAssetsPrefix >
17- <AssemblyName >Xamarin.Android.JcwGen-Tests</AssemblyName >
18- <AndroidManifest >Properties\AndroidManifest.xml</AndroidManifest >
19- <AndroidSupportedAbis >armeabi-v7a;x86</AndroidSupportedAbis >
2013 </PropertyGroup >
14+
2115 <Import Project =" ..\..\..\Configuration.props" />
16+
2217 <PropertyGroup >
23- <TargetFrameworkVersion >$(AndroidFrameworkVersion )</TargetFrameworkVersion >
18+ <OutputPath >..\..\..\bin\Test$(Configuration )</OutputPath >
2419 </PropertyGroup >
25- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
26- <DebugSymbols >true</DebugSymbols >
27- <Optimize >false</Optimize >
28- <OutputPath >..\..\..\bin\TestDebug</OutputPath >
29- <DefineConstants >DEBUG;</DefineConstants >
30- <ErrorReport >prompt</ErrorReport >
31- <WarningLevel >4</WarningLevel >
32- <AndroidLinkMode >None</AndroidLinkMode >
33- <ConsolePause >false</ConsolePause >
34- <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
35- </PropertyGroup >
36- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
37- <Optimize >true</Optimize >
38- <OutputPath >..\..\..\bin\TestRelease</OutputPath >
39- <ErrorReport >prompt</ErrorReport >
40- <WarningLevel >4</WarningLevel >
41- <ConsolePause >false</ConsolePause >
42- <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
43- </PropertyGroup >
44- <ItemGroup >
45- <Reference Include =" System" />
46- <Reference Include =" System.Xml" />
47- <Reference Include =" System.Core" />
48- <Reference Include =" Mono.Android" />
49- <Reference Include =" Xamarin.Android.NUnitLite" />
50- </ItemGroup >
20+
5121 <ItemGroup >
52- <Compile Include =" BindingTests.cs" />
53- <Compile Include =" KotlinUnsignedTypesTests.cs" />
54- <Compile Include =" DimBindingTests.cs" />
55- <Compile Include =" ExceptionTests.cs" />
56- <Compile Include =" MainActivity.cs" />
57- <Compile Include =" TestInstrumentation.cs" />
58- <Compile Include =" TimingTests.cs" />
59- <Compile Include =" TypeWithUnicodeCharacters.cs" />
60- <Compile Include =" Resources\Resource.designer.cs" />
61- <Compile Include =" Properties\AssemblyInfo.cs" />
22+ <AndroidJavaSource Include =" ../Xamarin.Android.McwGen-Tests/java/**/*.java" />
23+ <Compile Remove =" TimingTests.cs" />
24+ <AndroidLibrary Include =" ../Xamarin.Android.McwGen-Tests/Jars/KotlinUnsignedTypes.jar" />
25+ <None Remove =" Java\DefaultMethodsInterface.java" />
26+ <None Remove =" Java\StaticMethodsInterface.java" />
6227 </ItemGroup >
28+
6329 <ItemGroup >
64- <AndroidEnvironment Include =" Environment.txt " />
30+ <PackageReference Include =" Xamarin.Kotlin.StdLib " Version = " 1.8.0.1 " />
6531 </ItemGroup >
32+
6633 <ItemGroup >
67- <None Include =" Resources\AboutResources.txt" />
68- <None Include =" Assets\AboutAssets.txt" />
69- <None Include =" Properties\AndroidManifest.xml" />
34+ <ProjectReference Include =" ..\..\..\src\Xamarin.Android.NUnitLite\Xamarin.Android.NUnitLite.NET.csproj" />
7035 </ItemGroup >
36+
7137 <ItemGroup >
72- <AndroidResource Include =" Resources\drawable\Icon.png" />
38+ <AndroidNamespaceReplacement Include =" xamarin.example" Replacement =" Example" />
39+ <AndroidNamespaceReplacement Include =" com.example" Replacement =" Transformed.Namespace" />
7340 </ItemGroup >
74- <Import Project =" $(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
75- <Import Project =" Xamarin.Android.JcwGen-Tests.targets" />
41+
7642 <PropertyGroup >
77- <BuildDependsOn >
78- BuildNativeLibs;
79- $(BuildDependsOn)
80- </BuildDependsOn >
43+ <_PackageName >$(ApplicationId)</_PackageName >
8144 </PropertyGroup >
82- <ItemGroup >
83- <AndroidNativeLibrary Include =" libs\arm64-v8a\libtiming.so" />
84- <AndroidNativeLibrary Include =" libs\armeabi-v7a\libtiming.so" />
85- <AndroidNativeLibrary Include =" libs\x86\libtiming.so" />
86- <AndroidNativeLibrary Include =" libs\x86_64\libtiming.so" />
87- </ItemGroup >
88- <PropertyGroup >
89- <CleanDependsOn >
90- $(CleanDependsOn);
91- CleanLocal;
92- </CleanDependsOn >
45+
46+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|AnyCPU'" >
47+ <EmbedAssembliesIntoApk >True</EmbedAssembliesIntoApk >
9348 </PropertyGroup >
49+
9450 <ItemGroup >
95- <AndroidJavaLibrary Include =" ..\Xamarin.Android.FixJavaAbstractMethod-APIv2Binding\Jars\Cursor.jar" >
96- <Link >Jars\Cursor.jar</Link >
97- </AndroidJavaLibrary >
51+ <TestApk Include =" $(OutputPath)$(ApplicationId)-Signed.apk" >
52+ <Package >$(ApplicationId)</Package >
53+ <TimingDefinitionsFilename >$(MSBuildThisFileDirectory)..\..\..\build-tools\scripts\TimingDefinitions.txt</TimingDefinitionsFilename >
54+ <TimingResultsFilename >$(MSBuildThisFileDirectory)..\..\..\TestResult-Xamarin.Android.JcwGen_Tests-times.csv</TimingResultsFilename >
55+ </TestApk >
9856 </ItemGroup >
57+
9958 <ItemGroup >
100- <ProjectReference Include =" ..\Xamarin.Android.FixJavaAbstractMethod-APIv2Binding\Xamarin.Android.FixJavaAbstractMethod-APIv2Binding.csproj" >
101- <Project >{7B9D9F32-973F-49CF-A8F8-05BDFC75556C}</Project >
102- <Name >Xamarin.Android.FixJavaAbstractMethod-APIv2Binding</Name >
103- </ProjectReference >
104- <ProjectReference Include =" ..\Xamarin.Android.FixJavaAbstractMethod-Library\Xamarin.Android.FixJavaAbstractMethod-Library.csproj" >
105- <Project >{B7476528-C166-40BF-931F-EAEB02247879}</Project >
106- <Name >Xamarin.Android.FixJavaAbstractMethod-Library</Name >
107- </ProjectReference >
108- <ProjectReference Include =" ..\Xamarin.Android.LibraryProjectZip-LibBinding\Xamarin.Android.LibraryProjectZip-LibBinding.csproj" >
109- <Project >{9553ED9D-92EA-411B-ADFF-21C5608CCD16}</Project >
110- <Name >Xamarin.Android.LibraryProjectZip-LibBinding</Name >
111- </ProjectReference >
112- <ProjectReference Include =" ..\Xamarin.Android.McwGen-Tests\Xamarin.Android.McwGen-Tests.csproj" >
113- <Project >{EF798EB3-D639-4E09-9DB0-233E67F727B0}</Project >
114- <Name >Xamarin.Android.McwGen-Tests</Name >
115- </ProjectReference >
59+ <TestApkInstrumentation Include =" xamarin.android.jcwgentests.TestInstrumentation" >
60+ <Package >$(ApplicationId)</Package >
61+ <ResultsPath >$(OutputPath)TestResult-Xamarin.Android.JcwGen_Tests.xml</ResultsPath >
62+ </TestApkInstrumentation >
63+
64+ <TestApkPermission Include =" READ_EXTERNAL_STORAGE" >
65+ <Package >$(ApplicationId)</Package >
66+ </TestApkPermission >
67+
68+ <TestApkPermission Include =" WRITE_EXTERNAL_STORAGE" >
69+ <Package >$(ApplicationId)</Package >
70+ </TestApkPermission >
11671 </ItemGroup >
117- </Project >
72+
73+ <Import Project =" ..\..\..\build-tools\scripts\TestApks.targets" />
74+
75+ </Project >
0 commit comments