-
Notifications
You must be signed in to change notification settings - Fork 121
/
Toolkit.SampleApp.WPF.csproj
55 lines (50 loc) · 2.07 KB
/
Toolkit.SampleApp.WPF.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>$(NetWindowsTargetFramework)</TargetFramework>
<SupportedOSPlatformVersion>10.0.19041.0</SupportedOSPlatformVersion>
<!--<TargetFramework>net472</TargetFramework>-->
<UseWPF>true</UseWPF>
<RootNamespace>Esri.ArcGISRuntime.Toolkit</RootNamespace>
<NoWarn>$(NoWarn);NU5105;MC3074;MSB4181;MC1000;MC3066</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$([MSBuild]::GetTargetFrameworkIdentifier($(TargetFramework)))'=='.NETFramework'">
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition="'$([MSBuild]::GetTargetFrameworkIdentifier($(TargetFramework)))'=='.NETCoreApp'">
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
<UseRidGraph>true</UseRidGraph>
</PropertyGroup>
<ItemGroup>
<Content Include="**\*.png" Exclude="bin\**">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.39" />
</ItemGroup>
<Choose>
<When Condition="'$(UseNugetPackage)'==''">
<ItemGroup>
<PackageReference Include="Esri.ArcGISRuntime.WPF">
<Version>$(ArcGISRuntimePackageVersion)</Version>
</PackageReference>
<ProjectReference Include="..\..\Toolkit\Toolkit.WPF\Esri.ArcGISRuntime.Toolkit.WPF.csproj">
<Project>{332171e3-4d72-4148-9ddf-341cafb61ca3}</Project>
<Name>Esri.ArcGISRuntime.Toolkit.WPF</Name>
</ProjectReference>
</ItemGroup>
</When>
<Otherwise>
<ItemGroup>
<PackageReference Include="Esri.ArcGISRuntime.WPF">
<Version>$(UseNugetPackage)</Version>
</PackageReference>
<PackageReference Include="Esri.ArcGISRuntime.Toolkit.WPF">
<Version>$(UseNugetPackage)</Version>
</PackageReference>
</ItemGroup>
</Otherwise>
</Choose>
</Project>