-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMessageDialog.Uno.WinUI.csproj
More file actions
80 lines (67 loc) · 3.12 KB
/
MessageDialog.Uno.WinUI.csproj
File metadata and controls
80 lines (67 loc) · 3.12 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net10.0;net10.0-windows10.0.22621.0;net10.0-android;net10.0-ios;net10.0-maccatalyst;net10.0-macos</TargetFrameworks>
<LangVersion>14</LangVersion>
<!-- Ensures the .xr.xml files are generated in a proper layout folder -->
<GenerateLibraryLayout>true</GenerateLibraryLayout>
<RootNamespace>MessageDialogService</RootNamespace>
<Authors>nventive</Authors>
<Company>nventive</Company>
<AssemblyName>MessageDialogService.Uno.WinUI</AssemblyName>
<PackageId>MessageDialogService.Uno.WinUI</PackageId>
<Description>MessageDialogService.Uno.WinUI</Description>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>messagedialog;mvvm;maui;winui;ios;android</PackageTags>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/nventive/MessageDialogService</PackageProjectUrl>
<DefineConstants>$(DefineConstants);WINUI</DefineConstants>
<!--
Needed to use unsafe code for interop with WinRT.
WinRT.SourceGenerator\Generator.WinRTAotSourceGenerator\WinRTGenericInstantiation.g.cs(450,31,450,48):
error CS0227: Unsafe code may only appear if compiling with /unsafe
-->
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<!--Needed for Source Link support -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)'!='net10.0-windows10.0.22621.0'">
<PackageReference Include="Uno.WinUI" Version="6.3.62" />
</ItemGroup>
<ItemGroup>
<!--Microsoft.SourceLink.GitHub is needed for Source Link support -->
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='net10.0'">
<DefineConstants>$(DefineConstants);__WASM__</DefineConstants>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)'=='net10.0-windows10.0.22621.0'">
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.7.250606001" />
</ItemGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='net10.0-windows10.0.22621.0'">
<WindowsSdkPackageVersion>10.0.22621.38</WindowsSdkPackageVersion>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)'!='net10.0-windows10.0.22621.0'">
<Page Include="**\*.xaml" Exclude="bin\**\*.xaml;obj\**\*.xaml" />
<Compile Update="**\*.xaml.cs">
<DependentUpon>%(Filename)</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<UpToDateCheckInput Include="**\*.xaml" Exclude="bin\**\*.xaml;obj\**\*.xaml" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MessageDialog\MessageDialog.csproj" />
</ItemGroup>
<Import Project="..\MessageDialog.Shared\MessageDialog.Shared.projitems" Label="MessageDialog.Shared" />
<Import Project="winappsdk-workaround.targets" />
</Project>