-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMileXamlBlankAppNetCoreNativeBackend.csproj
More file actions
38 lines (33 loc) · 1.4 KB
/
MileXamlBlankAppNetCoreNativeBackend.csproj
File metadata and controls
38 lines (33 loc) · 1.4 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<Platforms>x86;x64;ARM64</Platforms>
<TargetFramework>net10.0-windows10.0.26100.0</TargetFramework>
<TargetPlatformVersion>10.0.26100.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.19041.0</TargetPlatformMinVersion>
<LangVersion>latest</LangVersion>
<ApplicationManifest>App.manifest</ApplicationManifest>
<PublishAot>true</PublishAot>
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
<ProjectPriFileName>resources.pri</ProjectPriFileName>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.2.0" />
<PackageReference Include="Mile.Xaml" Version="2.5.1616" />
</ItemGroup>
<!-- Remove Mile.Xaml.Managed WinForms Backend -->
<Target Name="RemoveMileXamlManaged" BeforeTargets="MarkupCompilePass1">
<ItemGroup>
<ReferencePath Remove="@(ReferencePath)" Condition="'%(Filename)' == 'Mile.Xaml.Managed'" />
</ItemGroup>
</Target>
<!-- Add resources.pri to publish output -->
<Target Name="AddPriFileToPublishOutput" AfterTargets="ComputeResolvedFilesToPublishList">
<ItemGroup>
<ResolvedFileToPublish Include="$(OutDir)$(ProjectPriFileName)">
<RelativePath>$(ProjectPriFileName)</RelativePath>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</ResolvedFileToPublish>
</ItemGroup>
</Target>
</Project>