Version 5.0.1: Changed all WPF projects to Sdk format

This commit is contained in:
ClemensF 2020-03-29 21:43:21 +02:00
parent 49e15ce424
commit 54f8de93fe
23 changed files with 278 additions and 520 deletions

View file

@ -7,8 +7,8 @@ using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Clemens Fischer")] [assembly: AssemblyCompany("Clemens Fischer")]
[assembly: AssemblyCopyright("Copyright © 2020 Clemens Fischer")] [assembly: AssemblyCopyright("Copyright © 2020 Clemens Fischer")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyVersion("5.0.0")] [assembly: AssemblyVersion("5.0.1")]
[assembly: AssemblyFileVersion("5.0.0")] [assembly: AssemblyFileVersion("5.0.1")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
[assembly: ComVisible(false)] [assembly: ComVisible(false)]

View file

@ -1,68 +1,55 @@
<?xml version="1.0" encoding="utf-8"?> <Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <PropertyGroup>
<PropertyGroup> <TargetFrameworks>netcoreapp3.0;netcoreapp3.1;net462;net48</TargetFrameworks>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <UseWPF>true</UseWPF>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <RootNamespace>MapControl.Caching</RootNamespace>
<ProjectGuid>{AD1CB53E-7AA4-4EC0-B901-B4E0E2665133}</ProjectGuid> <AssemblyName>FileDbCache.WPF</AssemblyName>
<OutputType>Library</OutputType> <SignAssembly>true</SignAssembly>
<AppDesignerFolder>Properties</AppDesignerFolder> <AssemblyOriginatorKeyFile>..\..\MapControl.snk</AssemblyOriginatorKeyFile>
<RootNamespace>MapControl.Caching</RootNamespace> <DelaySign>false</DelaySign>
<AssemblyName>FileDbCache.WPF</AssemblyName> <Product>XAML Map Control</Product>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion> <Version>5.0.1</Version>
<FileAlignment>512</FileAlignment> <Description>ObjectCache implementation based on EzTools FileDb</Description>
<TargetFrameworkProfile /> <Authors>Clemens Fischer</Authors>
</PropertyGroup> <Copyright>Copyright © 2020 Clemens Fischer</Copyright>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<DebugSymbols>true</DebugSymbols> <PackageId>XAML.MapControl.FileDbCache</PackageId>
<DebugType>full</DebugType> </PropertyGroup>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DefineConstants>DEBUG</DefineConstants> <DebugType>none</DebugType>
<ErrorReport>prompt</ErrorReport> <DebugSymbols>false</DebugSymbols>
<WarningLevel>4</WarningLevel> <DefineConstants></DefineConstants>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<Optimize>true</Optimize> <DebugType>full</DebugType>
<OutputPath>bin\Release\</OutputPath> <DebugSymbols>true</DebugSymbols>
<DefineConstants> <DefineConstants>DEBUG</DefineConstants>
</DefineConstants> </PropertyGroup>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <ItemGroup>
</PropertyGroup> <None Include="..\..\MapControl.snk" />
<PropertyGroup> </ItemGroup>
<SignAssembly>true</SignAssembly>
</PropertyGroup> <ItemGroup>
<PropertyGroup> <Compile Include="..\Shared\*" />
<AssemblyOriginatorKeyFile>..\..\MapControl.snk</AssemblyOriginatorKeyFile> </ItemGroup>
</PropertyGroup>
<ItemGroup> <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0' or '$(TargetFramework)' == 'netcoreapp3.1'">
<Reference Include="System" /> <PackageReference Include="System.Runtime.Caching" Version="4.7.0" />
<Reference Include="System.Runtime.Caching" /> </ItemGroup>
</ItemGroup>
<ItemGroup> <ItemGroup Condition="'$(TargetFramework)' == 'net462' or '$(TargetFramework)' == 'net48'">
<Compile Include="..\Shared\FileDbCache.cs"> <Reference Include="System.Runtime.Caching" />
<Link>FileDbCache.cs</Link> </ItemGroup>
</Compile>
<Compile Include="FileDbCache.WPF.cs" /> <ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" /> <PackageReference Include="FileDb.NET" Version="7.4.3" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<None Include="..\..\MapControl.snk"> <ItemGroup>
<Link>MapControl.snk</Link> <ProjectReference Include="..\..\MapControl\WPF\MapControl.WPF.csproj" />
</None> </ItemGroup>
</ItemGroup>
<ItemGroup>
<PackageReference Include="FileDb.Net">
<Version>7.4.3</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\MapControl\WPF\MapControl.WPF.csproj">
<Project>{a204a102-c745-4d65-aec8-7b96faedef2d}</Project>
<Name>MapControl.WPF</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project> </Project>

View file

@ -1,14 +0,0 @@
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("XAML Map Control FileDbCache (WPF)")]
[assembly: AssemblyDescription("ObjectCache implementation based on EzTools FileDb")]
[assembly: AssemblyProduct("XAML Map Control")]
[assembly: AssemblyCompany("Clemens Fischer")]
[assembly: AssemblyCopyright("Copyright © 2020 Clemens Fischer")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyVersion("5.0.0")]
[assembly: AssemblyFileVersion("5.0.0")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]

View file

@ -7,8 +7,8 @@ using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Clemens Fischer")] [assembly: AssemblyCompany("Clemens Fischer")]
[assembly: AssemblyCopyright("Copyright © 2020 Clemens Fischer")] [assembly: AssemblyCopyright("Copyright © 2020 Clemens Fischer")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyVersion("5.0.0")] [assembly: AssemblyVersion("5.0.1")]
[assembly: AssemblyFileVersion("5.0.0")] [assembly: AssemblyFileVersion("5.0.1")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
[assembly: ComVisible(false)] [assembly: ComVisible(false)]

View file

@ -1,79 +1,47 @@
<?xml version="1.0" encoding="utf-8"?> <Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <PropertyGroup>
<PropertyGroup> <TargetFrameworks>netcoreapp3.0;netcoreapp3.1;net462;net48</TargetFrameworks>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <UseWPF>true</UseWPF>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <RootNamespace>MapControl.MBTiles</RootNamespace>
<ProjectGuid>{38B18AB6-6E70-4696-8FB4-E8C8E12BF50C}</ProjectGuid> <AssemblyName>MBTiles.WPF</AssemblyName>
<OutputType>Library</OutputType> <SignAssembly>true</SignAssembly>
<AppDesignerFolder>Properties</AppDesignerFolder> <AssemblyOriginatorKeyFile>..\..\MapControl.snk</AssemblyOriginatorKeyFile>
<RootNamespace>MapControl.MBTiles</RootNamespace> <DelaySign>false</DelaySign>
<AssemblyName>MBTiles.WPF</AssemblyName> <Product>XAML Map Control</Product>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion> <Version>5.0.1</Version>
<FileAlignment>512</FileAlignment> <Description>MBTiles Support Library for XAML Map Control</Description>
<TargetFrameworkProfile /> <Authors>Clemens Fischer</Authors>
<NuGetPackageImportStamp> <Copyright>Copyright © 2020 Clemens Fischer</Copyright>
</NuGetPackageImportStamp> <GeneratePackageOnBuild>false</GeneratePackageOnBuild>
</PropertyGroup> <PackageId>XAML.MapControl.MBTiles</PackageId>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> </PropertyGroup>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<Optimize>false</Optimize> <DebugType>none</DebugType>
<OutputPath>bin\Debug\</OutputPath> <DebugSymbols>false</DebugSymbols>
<DefineConstants>DEBUG</DefineConstants> <DefineConstants></DefineConstants>
<ErrorReport>prompt</ErrorReport> </PropertyGroup>
<WarningLevel>4</WarningLevel>
</PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>full</DebugType>
<DebugType>none</DebugType> <DebugSymbols>true</DebugSymbols>
<Optimize>true</Optimize> <DefineConstants>DEBUG</DefineConstants>
<OutputPath>bin\Release\</OutputPath> </PropertyGroup>
<DefineConstants>
</DefineConstants> <ItemGroup>
<ErrorReport>prompt</ErrorReport> <None Include="..\..\MapControl.snk" />
<WarningLevel>4</WarningLevel> </ItemGroup>
</PropertyGroup>
<PropertyGroup> <ItemGroup>
<SignAssembly>true</SignAssembly> <Compile Include="..\Shared\*" />
</PropertyGroup> </ItemGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>..\..\MapControl.snk</AssemblyOriginatorKeyFile> <ItemGroup>
</PropertyGroup> <PackageReference Include="System.Data.SQLite.Core" Version="1.0.112" />
<ItemGroup> </ItemGroup>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" /> <ItemGroup>
<Reference Include="System" /> <ProjectReference Include="..\..\MapControl\WPF\MapControl.WPF.csproj" />
<Reference Include="System.Core" /> </ItemGroup>
<Reference Include="System.Data" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\Shared\MBTileData.cs">
<Link>MBTileData.cs</Link>
</Compile>
<Compile Include="..\Shared\MBTileLayer.cs">
<Link>MBTileLayer.cs</Link>
</Compile>
<Compile Include="..\Shared\MBTileSource.cs">
<Link>MBTileSource.cs</Link>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\MapControl.snk">
<Link>MapControl.snk</Link>
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Data.SQLite.Core">
<Version>1.0.112</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\MapControl\WPF\MapControl.WPF.csproj">
<Project>{a204a102-c745-4d65-aec8-7b96faedef2d}</Project>
<Name>MapControl.WPF</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project> </Project>

View file

@ -1,14 +0,0 @@
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("XAML Map Control MBTiles Support (WPF)")]
[assembly: AssemblyDescription("MBTiles Support Library for XAML Map Control")]
[assembly: AssemblyProduct("XAML Map Control")]
[assembly: AssemblyCompany("Clemens Fischer")]
[assembly: AssemblyCopyright("Copyright © 2020 Clemens Fischer")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyVersion("5.0.0")]
[assembly: AssemblyFileVersion("5.0.0")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]

View file

@ -239,12 +239,6 @@ namespace MapControl
/// </summary> /// </summary>
public ViewTransform ViewTransform { get; } = new ViewTransform(); public ViewTransform ViewTransform { get; } = new ViewTransform();
/// <summary>
/// Gets a MatrixTransform that can be used to transform from cartesian map coordinates
/// to view coordinates.
/// </summary>
public MatrixTransform MapToViewTransform { get; } = new MatrixTransform();
/// <summary> /// <summary>
/// Gets the horizontal and vertical scaling factors from cartesian map coordinates to view /// Gets the horizontal and vertical scaling factors from cartesian map coordinates to view
/// coordinates at the specified location, i.e. pixels per meter. /// coordinates at the specified location, i.e. pixels per meter.
@ -739,7 +733,6 @@ namespace MapControl
} }
ViewScale = ViewTransform.Scale; ViewScale = ViewTransform.Scale;
MapToViewTransform.Matrix = ViewTransform.MapToViewMatrix;
OnViewportChanged(new ViewportChangedEventArgs(projectionChanged, Center.Longitude - centerLongitude)); OnViewportChanged(new ViewportChangedEventArgs(projectionChanged, Center.Longitude - centerLongitude));

View file

@ -13,8 +13,8 @@ using System.Windows.Media;
namespace MapControl namespace MapControl
{ {
/// <summary> /// <summary>
/// A path element with a Data property that holds a Geometry in cartesian map coordinates /// A path element with a Data property that holds a Geometry in view coordinates or
/// or view coordinates. Cartesian coordinates can optionally be relative to an origin Location. /// cartesian map coordinates that are relative to an origin Location.
/// </summary> /// </summary>
public partial class MapPath : IMapElement public partial class MapPath : IMapElement
{ {
@ -90,26 +90,19 @@ namespace MapControl
protected virtual void UpdateData() protected virtual void UpdateData()
{ {
if (parentMap != null && Data != null) if (parentMap != null && Data != null && Location != null)
{ {
if (dataTransform == null) if (dataTransform == null)
{ {
Data.Transform = dataTransform = new MatrixTransform(); Data.Transform = dataTransform = new MatrixTransform();
} }
if (Location != null) var viewPos = LocationToView(Location);
{ var scale = parentMap.GetScale(Location);
var viewPos = LocationToView(Location); var transform = new Matrix(scale.X, 0d, 0d, scale.Y, 0d, 0d);
var scale = parentMap.GetScale(Location); transform.Rotate(parentMap.Heading);
var matrix = new Matrix(scale.X, 0, 0, scale.Y, 0, 0); transform.Translate(viewPos.X, viewPos.Y);
matrix.Rotate(parentMap.Heading); dataTransform.Matrix = transform;
matrix.Translate(viewPos.X, viewPos.Y);
dataTransform.Matrix = matrix;
}
else
{
dataTransform.Matrix = parentMap.ViewTransform.MapToViewMatrix;
}
} }
} }

View file

@ -7,8 +7,8 @@ using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Clemens Fischer")] [assembly: AssemblyCompany("Clemens Fischer")]
[assembly: AssemblyCopyright("Copyright © 2020 Clemens Fischer")] [assembly: AssemblyCopyright("Copyright © 2020 Clemens Fischer")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyVersion("5.0.0")] [assembly: AssemblyVersion("5.0.1")]
[assembly: AssemblyFileVersion("5.0.0")] [assembly: AssemblyFileVersion("5.0.1")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
[assembly: ComVisible(false)] [assembly: ComVisible(false)]

View file

@ -9,7 +9,7 @@
<AssemblyOriginatorKeyFile>..\..\MapControl.snk</AssemblyOriginatorKeyFile> <AssemblyOriginatorKeyFile>..\..\MapControl.snk</AssemblyOriginatorKeyFile>
<DelaySign>false</DelaySign> <DelaySign>false</DelaySign>
<Product>XAML Map Control</Product> <Product>XAML Map Control</Product>
<Version>5.0.0</Version> <Version>5.0.1</Version>
<Description>XAML Map Control Library</Description> <Description>XAML Map Control Library</Description>
<Authors>Clemens Fischer</Authors> <Authors>Clemens Fischer</Authors>
<Copyright>Copyright © 2020 Clemens Fischer</Copyright> <Copyright>Copyright © 2020 Clemens Fischer</Copyright>

View file

@ -7,8 +7,8 @@ using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Clemens Fischer")] [assembly: AssemblyCompany("Clemens Fischer")]
[assembly: AssemblyCopyright("Copyright © 2020 Clemens Fischer")] [assembly: AssemblyCopyright("Copyright © 2020 Clemens Fischer")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyVersion("5.0.0")] [assembly: AssemblyVersion("5.0.1")]
[assembly: AssemblyFileVersion("5.0.0")] [assembly: AssemblyFileVersion("5.0.1")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
[assembly: ComVisible(false)] [assembly: ComVisible(false)]

View file

@ -1,76 +1,48 @@
<?xml version="1.0" encoding="utf-8"?> <Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <PropertyGroup>
<PropertyGroup> <TargetFrameworks>netcoreapp3.0;netcoreapp3.1;net462;net48</TargetFrameworks>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <UseWPF>true</UseWPF>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <RootNamespace>MapControl.Images</RootNamespace>
<ProjectGuid>{52042F63-563A-45BB-9A08-A8635AAAB84C}</ProjectGuid> <AssemblyName>MapImages.WPF</AssemblyName>
<OutputType>Library</OutputType> <SignAssembly>true</SignAssembly>
<AppDesignerFolder>Properties</AppDesignerFolder> <AssemblyOriginatorKeyFile>..\..\MapControl.snk</AssemblyOriginatorKeyFile>
<RootNamespace>MapControl.Images</RootNamespace> <DelaySign>false</DelaySign>
<AssemblyName>MapImages.WPF</AssemblyName> <Product>XAML Map Control</Product>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion> <Version>5.0.1</Version>
<FileAlignment>512</FileAlignment> <Description>Image Support Library for XAML Map Control</Description>
<Deterministic>true</Deterministic> <Authors>Clemens Fischer</Authors>
<TargetFrameworkProfile /> <Copyright>Copyright © 2020 Clemens Fischer</Copyright>
</PropertyGroup> <GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PackageId>XAML.MapControl.MapImages</PackageId>
<DebugSymbols>true</DebugSymbols> </PropertyGroup>
<DebugType>full</DebugType>
<Optimize>false</Optimize> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<OutputPath>bin\Debug\</OutputPath> <DebugType>none</DebugType>
<DefineConstants>DEBUG</DefineConstants> <DebugSymbols>false</DebugSymbols>
<ErrorReport>prompt</ErrorReport> <DefineConstants></DefineConstants>
<WarningLevel>4</WarningLevel> </PropertyGroup>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebugType>none</DebugType> <DebugType>full</DebugType>
<Optimize>true</Optimize> <DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Release\</OutputPath> <DefineConstants>DEBUG</DefineConstants>
<DefineConstants> </PropertyGroup>
</DefineConstants>
<ErrorReport>prompt</ErrorReport> <ItemGroup>
<WarningLevel>4</WarningLevel> <None Include="..\..\MapControl.snk" />
</PropertyGroup> </ItemGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly> <ItemGroup>
</PropertyGroup> <Compile Include="..\Shared\*" />
<PropertyGroup> </ItemGroup>
<AssemblyOriginatorKeyFile>..\..\MapControl.snk</AssemblyOriginatorKeyFile>
</PropertyGroup> <ItemGroup Condition="'$(TargetFramework)' == 'net462' or '$(TargetFramework)' == 'net48'">
<ItemGroup> <Reference Include="System.IO.Compression" />
<Reference Include="PresentationCore" /> </ItemGroup>
<Reference Include="PresentationFramework" />
<Reference Include="System" /> <ItemGroup>
<Reference Include="System.Core" /> <ProjectReference Include="..\..\MapControl\WPF\MapControl.WPF.csproj" />
<Reference Include="System.IO.Compression" /> <ProjectReference Include="..\..\MapProjections\WPF\MapProjections.WPF.csproj" />
<Reference Include="System.IO.Compression.FileSystem" /> </ItemGroup>
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\Shared\GroundOverlayPanel.cs">
<Link>GroundOverlayPanel.cs</Link>
</Compile>
<Compile Include="..\Shared\WorldFileImage.cs">
<Link>WorldFileImage.cs</Link>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\MapControl\WPF\MapControl.WPF.csproj">
<Project>{a204a102-c745-4d65-aec8-7b96faedef2d}</Project>
<Name>MapControl.WPF</Name>
</ProjectReference>
<ProjectReference Include="..\..\MapProjections\WPF\MapProjections.WPF.csproj">
<Project>{426c21c0-5f14-491f-bcd1-6d2993510420}</Project>
<Name>MapProjections.WPF</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="..\..\MapControl.snk">
<Link>MapControl.snk</Link>
</None>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project> </Project>

View file

@ -1,14 +0,0 @@
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("XAML Map Control Image Support (WPF)")]
[assembly: AssemblyDescription("Image Support Library for XAML Map Control")]
[assembly: AssemblyProduct("XAML Map Control")]
[assembly: AssemblyCompany("Clemens Fischer")]
[assembly: AssemblyCopyright("Copyright © 2020 Clemens Fischer")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyVersion("5.0.0")]
[assembly: AssemblyFileVersion("5.0.0")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]

View file

@ -7,8 +7,8 @@ using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Clemens Fischer")] [assembly: AssemblyCompany("Clemens Fischer")]
[assembly: AssemblyCopyright("Copyright © 2020 Clemens Fischer")] [assembly: AssemblyCopyright("Copyright © 2020 Clemens Fischer")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyVersion("5.0.0")] [assembly: AssemblyVersion("5.0.1")]
[assembly: AssemblyFileVersion("5.0.0")] [assembly: AssemblyFileVersion("5.0.1")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
[assembly: ComVisible(false)] [assembly: ComVisible(false)]

View file

@ -1,85 +1,47 @@
<?xml version="1.0" encoding="utf-8"?> <Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <PropertyGroup>
<PropertyGroup> <TargetFrameworks>netcoreapp3.0;netcoreapp3.1;net462;net48</TargetFrameworks>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <UseWPF>true</UseWPF>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <RootNamespace>MapControl.Projections</RootNamespace>
<ProjectGuid>{426C21C0-5F14-491F-BCD1-6D2993510420}</ProjectGuid> <AssemblyName>MapProjections.WPF</AssemblyName>
<OutputType>library</OutputType> <SignAssembly>true</SignAssembly>
<AppDesignerFolder>Properties</AppDesignerFolder> <AssemblyOriginatorKeyFile>..\..\MapControl.snk</AssemblyOriginatorKeyFile>
<RootNamespace>MapControl.Projections</RootNamespace> <DelaySign>false</DelaySign>
<AssemblyName>MapProjections.WPF</AssemblyName> <Product>XAML Map Control</Product>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion> <Version>5.0.1</Version>
<FileAlignment>512</FileAlignment> <Description>Map Projections Library for XAML Map Control</Description>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> <Authors>Clemens Fischer</Authors>
<WarningLevel>4</WarningLevel> <Copyright>Copyright © 2020 Clemens Fischer</Copyright>
<TargetFrameworkProfile /> <GeneratePackageOnBuild>false</GeneratePackageOnBuild>
</PropertyGroup> <PackageId>XAML.MapControl.MapProjections</PackageId>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> </PropertyGroup>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<Optimize>false</Optimize> <DebugType>none</DebugType>
<OutputPath>bin\Debug\</OutputPath> <DebugSymbols>false</DebugSymbols>
<DefineConstants>DEBUG</DefineConstants> <DefineConstants></DefineConstants>
<ErrorReport>prompt</ErrorReport> </PropertyGroup>
<WarningLevel>4</WarningLevel>
</PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>full</DebugType>
<DebugType>pdbonly</DebugType> <DebugSymbols>true</DebugSymbols>
<Optimize>true</Optimize> <DefineConstants>DEBUG</DefineConstants>
<OutputPath>bin\Release\</OutputPath> </PropertyGroup>
<DefineConstants>
</DefineConstants> <ItemGroup>
<ErrorReport>prompt</ErrorReport> <None Include="..\..\MapControl.snk" />
<WarningLevel>4</WarningLevel> </ItemGroup>
</PropertyGroup>
<PropertyGroup> <ItemGroup>
<SignAssembly>true</SignAssembly> <Compile Include="..\Shared\*" />
</PropertyGroup> </ItemGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>..\..\MapControl.snk</AssemblyOriginatorKeyFile> <ItemGroup>
</PropertyGroup> <PackageReference Include="ProjNET4GeoAPI" Version="1.4.1" />
<ItemGroup> </ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" /> <ItemGroup>
<Reference Include="WindowsBase" /> <ProjectReference Include="..\..\MapControl\WPF\MapControl.WPF.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Compile Include="..\Shared\GeoApiProjection.cs">
<Link>GeoApiProjection.cs</Link>
</Compile>
<Compile Include="..\Shared\PolarStereographicProjection.cs">
<Link>PolarStereographicProjection.cs</Link>
</Compile>
<Compile Include="..\Shared\UtmProjection.cs">
<Link>UtmProjection.cs</Link>
</Compile>
<Compile Include="..\Shared\WebMercatorProjection.cs">
<Link>WebMercatorProjection.cs</Link>
</Compile>
<Compile Include="..\Shared\WorldMercatorProjection.cs">
<Link>WorldMercatorProjection.cs</Link>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
<AppDesigner Include="Properties\" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\MapControl.snk">
<Link>MapControl.snk</Link>
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="ProjNET4GeoAPI">
<Version>1.4.1</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\MapControl\WPF\MapControl.WPF.csproj">
<Project>{a204a102-c745-4d65-aec8-7b96faedef2d}</Project>
<Name>MapControl.WPF</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project> </Project>

View file

@ -1,14 +0,0 @@
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("XAML Map Control Projections (WPF)")]
[assembly: AssemblyDescription("Map Projections Library for XAML Map Control")]
[assembly: AssemblyProduct("XAML Map Control")]
[assembly: AssemblyCompany("Clemens Fischer")]
[assembly: AssemblyCopyright("Copyright © 2020 Clemens Fischer")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyVersion("5.0.0")]
[assembly: AssemblyFileVersion("5.0.0")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]

View file

@ -1,26 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace MapProjections.WPF.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
}
}

View file

@ -7,8 +7,8 @@ using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Clemens Fischer")] [assembly: AssemblyCompany("Clemens Fischer")]
[assembly: AssemblyCopyright("Copyright © 2020 Clemens Fischer")] [assembly: AssemblyCopyright("Copyright © 2020 Clemens Fischer")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyVersion("5.0.0")] [assembly: AssemblyVersion("5.0.1")]
[assembly: AssemblyFileVersion("5.0.0")] [assembly: AssemblyFileVersion("5.0.1")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
[assembly: ComVisible(false)] [assembly: ComVisible(false)]

View file

@ -1,14 +0,0 @@
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("XAML Map Control SQLiteCache (WPF)")]
[assembly: AssemblyDescription("ObjectCache implementation based on SQLite")]
[assembly: AssemblyProduct("XAML Map Control")]
[assembly: AssemblyCompany("Clemens Fischer")]
[assembly: AssemblyCopyright("Copyright © 2020 Clemens Fischer")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyVersion("5.0.0")]
[assembly: AssemblyFileVersion("5.0.0")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]

View file

@ -1,76 +1,55 @@
<?xml version="1.0" encoding="utf-8"?> <Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <PropertyGroup>
<PropertyGroup> <TargetFrameworks>netcoreapp3.0;netcoreapp3.1;net462;net48</TargetFrameworks>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <UseWPF>true</UseWPF>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <RootNamespace>MapControl.Caching</RootNamespace>
<ProjectGuid>{0109C2F0-BA2C-420F-B2CA-DB5B29B1A349}</ProjectGuid> <AssemblyName>SQLiteCache.WPF</AssemblyName>
<OutputType>library</OutputType> <SignAssembly>true</SignAssembly>
<AppDesignerFolder>Properties</AppDesignerFolder> <AssemblyOriginatorKeyFile>..\..\MapControl.snk</AssemblyOriginatorKeyFile>
<RootNamespace>MapControl.Caching</RootNamespace> <DelaySign>false</DelaySign>
<AssemblyName>SQLiteCache.WPF</AssemblyName> <Product>XAML Map Control</Product>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion> <Version>5.0.1</Version>
<FileAlignment>512</FileAlignment> <Description>ObjectCache implementation based on SQLite</Description>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> <Authors>Clemens Fischer</Authors>
<WarningLevel>4</WarningLevel> <Copyright>Copyright © 2020 Clemens Fischer</Copyright>
<TargetFrameworkProfile /> <GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<NuGetPackageImportStamp> <PackageId>XAML.MapControl.SQLiteCache</PackageId>
</NuGetPackageImportStamp> </PropertyGroup>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DebugSymbols>true</DebugSymbols> <DebugType>none</DebugType>
<DebugType>full</DebugType> <DebugSymbols>false</DebugSymbols>
<Optimize>false</Optimize> <DefineConstants></DefineConstants>
<OutputPath>bin\Debug\</OutputPath> </PropertyGroup>
<DefineConstants>DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<WarningLevel>4</WarningLevel> <DebugType>full</DebugType>
</PropertyGroup> <DebugSymbols>true</DebugSymbols>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DefineConstants>DEBUG</DefineConstants>
<DebugType>none</DebugType> </PropertyGroup>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath> <ItemGroup>
<DefineConstants> <None Include="..\..\MapControl.snk" />
</DefineConstants> </ItemGroup>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <ItemGroup>
</PropertyGroup> <Compile Include="..\Shared\*" />
<PropertyGroup> </ItemGroup>
<SignAssembly>true</SignAssembly>
</PropertyGroup> <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0' or '$(TargetFramework)' == 'netcoreapp3.1'">
<PropertyGroup> <PackageReference Include="System.Runtime.Caching" Version="4.7.0" />
<AssemblyOriginatorKeyFile>..\..\MapControl.snk</AssemblyOriginatorKeyFile> </ItemGroup>
</PropertyGroup>
<ItemGroup> <ItemGroup Condition="'$(TargetFramework)' == 'net462' or '$(TargetFramework)' == 'net48'">
<Reference Include="System" /> <Reference Include="System.Runtime.Caching" />
<Reference Include="System.Data" /> </ItemGroup>
<Reference Include="System.Runtime.Caching" />
</ItemGroup> <ItemGroup>
<ItemGroup> <PackageReference Include="System.Data.SQLite.Core" Version="1.0.112" />
<Compile Include="..\Shared\SQLiteCache.cs"> </ItemGroup>
<Link>SQLiteCache.cs</Link>
</Compile> <ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs"> <ProjectReference Include="..\..\MapControl\WPF\MapControl.WPF.csproj" />
<SubType>Code</SubType> </ItemGroup>
</Compile>
<AppDesigner Include="Properties\" />
<Compile Include="SQLiteCache.WPF.cs" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\MapControl.snk">
<Link>MapControl.snk</Link>
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Data.SQLite.Core">
<Version>1.0.112</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\MapControl\WPF\MapControl.WPF.csproj">
<Project>{A204A102-C745-4D65-AEC8-7B96FAEDEF2D}</Project>
<Name>MapControl.WPF</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project> </Project>

View file

@ -4,7 +4,7 @@
<OutputType>WinExe</OutputType> <OutputType>WinExe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework> <TargetFramework>netcoreapp3.1</TargetFramework>
<UseWPF>true</UseWPF> <UseWPF>true</UseWPF>
<Version>5.0.0</Version> <Version>5.0.1</Version>
<Authors>Clemens Fischer</Authors> <Authors>Clemens Fischer</Authors>
<Description>XAML Map Control Map Projection Demo Application</Description> <Description>XAML Map Control Map Projection Demo Application</Description>
<Product>XAML Map Control</Product> <Product>XAML Map Control</Product>

View file

@ -8,7 +8,7 @@ using System.Runtime.InteropServices;
[assembly: AssemblyCopyright("Copyright © 2020 Clemens Fischer")] [assembly: AssemblyCopyright("Copyright © 2020 Clemens Fischer")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("5.0.0")] [assembly: AssemblyVersion("5.0.1")]
[assembly: AssemblyFileVersion("5.0.0")] [assembly: AssemblyFileVersion("5.0.1")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: ComVisible(false)] [assembly: ComVisible(false)]

View file

@ -6,7 +6,7 @@
<UseWPF>true</UseWPF> <UseWPF>true</UseWPF>
<RootNamespace>WpfApplication</RootNamespace> <RootNamespace>WpfApplication</RootNamespace>
<Product>XAML Map Control</Product> <Product>XAML Map Control</Product>
<Version>5.0.0</Version> <Version>5.0.1</Version>
<Description>XAML Map Control WPF Sample Application</Description> <Description>XAML Map Control WPF Sample Application</Description>
<Authors>Clemens Fischer</Authors> <Authors>Clemens Fischer</Authors>
<Copyright>Copyright © 2020 Clemens Fischer</Copyright> <Copyright>Copyright © 2020 Clemens Fischer</Copyright>