2018-11-06 19:09:31 +03:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2016-03-22 23:02:25 +03:00
|
|
|
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
|
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
|
|
|
<ProductVersion>8.0.30703</ProductVersion>
|
|
|
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
|
|
|
<ProjectGuid>{BD50B39A-EBC5-408F-9C5E-923A8EBAE473}</ProjectGuid>
|
|
|
|
|
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
|
|
|
<OutputType>Library</OutputType>
|
|
|
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
|
|
|
<RootNamespace>Xamarin.Forms.Maps.Android</RootNamespace>
|
|
|
|
|
<AssemblyName>Xamarin.Forms.Maps.Android</AssemblyName>
|
|
|
|
|
<FileAlignment>512</FileAlignment>
|
|
|
|
|
<AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile>
|
|
|
|
|
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
|
2018-11-23 20:40:15 +03:00
|
|
|
|
<AndroidTargetFrameworkVersion Condition="$(AndroidTargetFrameworkVersion) == ''">v9.0</AndroidTargetFrameworkVersion>
|
|
|
|
|
<TargetFrameworkVersion>$(AndroidTargetFrameworkVersion)</TargetFrameworkVersion>
|
2016-03-22 23:02:25 +03:00
|
|
|
|
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
|
|
|
|
|
<RestorePackages>true</RestorePackages>
|
2016-04-20 22:06:48 +03:00
|
|
|
|
<NuGetPackageImportStamp>
|
|
|
|
|
</NuGetPackageImportStamp>
|
2018-05-24 19:48:44 +03:00
|
|
|
|
</PropertyGroup>
|
2016-03-22 23:02:25 +03:00
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
|
|
|
<DebugSymbols>true</DebugSymbols>
|
[msbuild] use portable pdb files (#4201)
Currently, on the first build of a "Hello World" Xamarin.Forms app,
you will see this in the build log:
ConvertDebuggingFiles
Parameters
Files
C:\Users\myuser\.nuget\packages\xamarin.forms\3.1.0.697729\lib\MonoAndroid10\FormsViewGroup.pdb
C:\Users\myuser\.nuget\packages\xamarin.forms\3.1.0.697729\lib\MonoAndroid10\Xamarin.Forms.Platform.Android.pdb
OutputItems
_ConvertedDebuggingFiles
C:\Users\myuser\.nuget\packages\xamarin.forms\3.1.0.697729\lib\MonoAndroid10\FormsViewGroup.dll
C:\Users\myuser\.nuget\packages\xamarin.forms\3.1.0.697729\lib\MonoAndroid10\Xamarin.Forms.Platform.Android.dll
The logging is a little weird here, but this `ConvertDebuggingFiles`
MSBuild task takes about 100ms on my machine.
What is it doing?
The Mono debugger can support two types of debugging files:
- `mdb` files
- "portable" `pdb` files
If Xamarin.Android's build finds a "non-portable" `pdb` file, we have
to run it through this task to convert to an `mdb` file... This gives
us proper stacktraces for `FormsViewGroup.dll` and
`Xamarin.Forms.Platform.Android.dll`.
You can change the type of debugging symbols in your project with the
`DebugType` setting, which has these options:
- Blank or `None`: don't generate symbols. (Although Xamarin.Android
has funny behavior here, see:
https://github.com/xamarin/xamarin-android/issues/2282)
- `Full` generates an `mdb` file, this is a Windows-proprietary format
for debug builds
- `PdbOnly` generates a "non-portable" `pdb` file, a
Windows-proprietary format for release builds
- `Portable` generates a "portable" pdb file, which is the new
standard that works for debug and release builds. New SDK-style
MSBuild projects use this option by default.
These values are not case sensitive, I have mostly seen them lower
case in newer projects.
So what does Xamarin.Forms need to do?
Use `<DebugType>portable</DebugType>` in any Android class library or
app project. Other platforms, this is optional, not as much benefit. I
have heard that `DebugType=portable` might cause a problem on UWP.
* Xamarin.Forms will ship "portable" `pdbs` in its NuGet package for
`FormsViewGroup.dll` and `Xamarin.Forms.*.Android.dll`. Developers
won't pay the 100ms on initial build.
* Initial build times for `Xamarin.Forms.sln` will be slightly better
for development, although I didn't measure the difference here.
2018-10-24 21:35:47 +03:00
|
|
|
|
<DebugType>portable</DebugType>
|
2016-03-22 23:02:25 +03:00
|
|
|
|
<Optimize>false</Optimize>
|
|
|
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
|
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
|
|
|
<ErrorReport>prompt</ErrorReport>
|
|
|
|
|
<WarningLevel>4</WarningLevel>
|
2016-04-06 20:32:29 +03:00
|
|
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
2016-04-12 21:44:30 +03:00
|
|
|
|
<NoWarn>
|
|
|
|
|
</NoWarn>
|
2016-03-22 23:02:25 +03:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
[msbuild] use portable pdb files (#4201)
Currently, on the first build of a "Hello World" Xamarin.Forms app,
you will see this in the build log:
ConvertDebuggingFiles
Parameters
Files
C:\Users\myuser\.nuget\packages\xamarin.forms\3.1.0.697729\lib\MonoAndroid10\FormsViewGroup.pdb
C:\Users\myuser\.nuget\packages\xamarin.forms\3.1.0.697729\lib\MonoAndroid10\Xamarin.Forms.Platform.Android.pdb
OutputItems
_ConvertedDebuggingFiles
C:\Users\myuser\.nuget\packages\xamarin.forms\3.1.0.697729\lib\MonoAndroid10\FormsViewGroup.dll
C:\Users\myuser\.nuget\packages\xamarin.forms\3.1.0.697729\lib\MonoAndroid10\Xamarin.Forms.Platform.Android.dll
The logging is a little weird here, but this `ConvertDebuggingFiles`
MSBuild task takes about 100ms on my machine.
What is it doing?
The Mono debugger can support two types of debugging files:
- `mdb` files
- "portable" `pdb` files
If Xamarin.Android's build finds a "non-portable" `pdb` file, we have
to run it through this task to convert to an `mdb` file... This gives
us proper stacktraces for `FormsViewGroup.dll` and
`Xamarin.Forms.Platform.Android.dll`.
You can change the type of debugging symbols in your project with the
`DebugType` setting, which has these options:
- Blank or `None`: don't generate symbols. (Although Xamarin.Android
has funny behavior here, see:
https://github.com/xamarin/xamarin-android/issues/2282)
- `Full` generates an `mdb` file, this is a Windows-proprietary format
for debug builds
- `PdbOnly` generates a "non-portable" `pdb` file, a
Windows-proprietary format for release builds
- `Portable` generates a "portable" pdb file, which is the new
standard that works for debug and release builds. New SDK-style
MSBuild projects use this option by default.
These values are not case sensitive, I have mostly seen them lower
case in newer projects.
So what does Xamarin.Forms need to do?
Use `<DebugType>portable</DebugType>` in any Android class library or
app project. Other platforms, this is optional, not as much benefit. I
have heard that `DebugType=portable` might cause a problem on UWP.
* Xamarin.Forms will ship "portable" `pdbs` in its NuGet package for
`FormsViewGroup.dll` and `Xamarin.Forms.*.Android.dll`. Developers
won't pay the 100ms on initial build.
* Initial build times for `Xamarin.Forms.sln` will be slightly better
for development, although I didn't measure the difference here.
2018-10-24 21:35:47 +03:00
|
|
|
|
<DebugType>portable</DebugType>
|
2016-03-22 23:02:25 +03:00
|
|
|
|
<Optimize>true</Optimize>
|
|
|
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
|
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
|
|
|
<ErrorReport>prompt</ErrorReport>
|
|
|
|
|
<WarningLevel>4</WarningLevel>
|
2016-04-06 20:32:29 +03:00
|
|
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
2016-04-12 21:44:30 +03:00
|
|
|
|
<NoWarn>
|
|
|
|
|
</NoWarn>
|
2016-03-22 23:02:25 +03:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Reference Include="Mono.Android" />
|
|
|
|
|
<Reference Include="mscorlib" />
|
|
|
|
|
<Reference Include="System" />
|
|
|
|
|
<Reference Include="System.Core" />
|
|
|
|
|
<Reference Include="System.Xml.Linq" />
|
|
|
|
|
<Reference Include="System.Xml" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Compile Include="..\Xamarin.Forms.Core\Properties\GlobalAssemblyInfo.cs">
|
|
|
|
|
<Link>Properties\GlobalAssemblyInfo.cs</Link>
|
|
|
|
|
</Compile>
|
|
|
|
|
<Compile Include="MapRenderer.cs" />
|
|
|
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
|
|
|
<Compile Include="FormsMaps.cs" />
|
|
|
|
|
<Compile Include="GeocoderBackend.cs" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ProjectReference Include="..\Xamarin.Forms.Core\Xamarin.Forms.Core.csproj">
|
|
|
|
|
<Project>{57b8b73d-c3b5-4c42-869e-7b2f17d354ac}</Project>
|
|
|
|
|
<Name>Xamarin.Forms.Core</Name>
|
|
|
|
|
</ProjectReference>
|
|
|
|
|
<ProjectReference Include="..\Xamarin.Forms.Maps\Xamarin.Forms.Maps.csproj">
|
|
|
|
|
<Project>{7d13bac2-c6a4-416a-b07e-c169b199e52b}</Project>
|
|
|
|
|
<Name>Xamarin.Forms.Maps</Name>
|
|
|
|
|
</ProjectReference>
|
|
|
|
|
<ProjectReference Include="..\Xamarin.Forms.Platform.Android.FormsViewGroup\Xamarin.Forms.Platform.Android.FormsViewGroup.csproj">
|
|
|
|
|
<Project>{3b72465b-acae-43ae-9327-10f372fe5f80}</Project>
|
|
|
|
|
<Name>Xamarin.Forms.Platform.Android.FormsViewGroup</Name>
|
|
|
|
|
</ProjectReference>
|
|
|
|
|
<ProjectReference Include="..\Xamarin.Forms.Platform.Android\Xamarin.Forms.Platform.Android.csproj">
|
|
|
|
|
<Project>{0e16e70a-d6dd-4323-ad5d-363abff42d6a}</Project>
|
|
|
|
|
<Name>Xamarin.Forms.Platform.Android</Name>
|
|
|
|
|
</ProjectReference>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
2018-11-23 20:40:15 +03:00
|
|
|
|
<PackageReference Include="Xamarin.GooglePlayServices.Maps">
|
|
|
|
|
<Version>60.1142.1</Version>
|
|
|
|
|
</PackageReference>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup Condition=" '$(TargetFrameworkVersion)' == 'v9.0' ">
|
2018-11-06 19:09:31 +03:00
|
|
|
|
<PackageReference Include="Xamarin.Android.Support.v4">
|
2018-11-23 20:40:15 +03:00
|
|
|
|
<Version>28.0.0-preview7</Version>
|
2018-11-06 19:09:31 +03:00
|
|
|
|
</PackageReference>
|
|
|
|
|
<PackageReference Include="Xamarin.Android.Support.v7.MediaRouter">
|
2018-11-23 20:40:15 +03:00
|
|
|
|
<Version>28.0.0-preview7</Version>
|
2018-11-06 19:09:31 +03:00
|
|
|
|
</PackageReference>
|
2018-11-23 20:40:15 +03:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup Condition=" '$(TargetFrameworkVersion)' == 'v8.1' ">
|
|
|
|
|
<PackageReference Include="Xamarin.Android.Support.v4">
|
|
|
|
|
<Version>27.0.2.1</Version>
|
|
|
|
|
</PackageReference>
|
|
|
|
|
<PackageReference Include="Xamarin.Android.Support.v7.MediaRouter">
|
|
|
|
|
<Version>27.0.2.1</Version>
|
2018-11-06 19:09:31 +03:00
|
|
|
|
</PackageReference>
|
2016-03-22 23:02:25 +03:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
|
|
|
|
|
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
|
|
|
|
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
|
|
|
Other similar extension points exist, see Microsoft.Common.targets.
|
|
|
|
|
<Target Name="BeforeBuild">
|
|
|
|
|
</Target>
|
|
|
|
|
<Target Name="AfterBuild">
|
|
|
|
|
</Target>
|
|
|
|
|
-->
|
2018-11-06 19:09:31 +03:00
|
|
|
|
</Project>
|