-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContextMenuManager.csproj
More file actions
36 lines (31 loc) · 1.39 KB
/
Copy pathContextMenuManager.csproj
File metadata and controls
36 lines (31 loc) · 1.39 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows</TargetFramework>
<UseWPF>true</UseWPF>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<ApplicationManifest>Assets\app.manifest</ApplicationManifest>
<ApplicationIcon>Assets\app.ico</ApplicationIcon>
<RootNamespace>ContextMenuManager</RootNamespace>
<AssemblyName>ContextMenuManager</AssemblyName>
<Version>1.0.0</Version>
<Description>Manage and restore Windows right-click menus (Windows 10/11)</Description>
<PublishSingleFile>true</PublishSingleFile>
<SelfContained>false</SelfContained>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<PublishTrimmed>false</PublishTrimmed>
</PropertyGroup>
<ItemGroup>
<None Remove="Assets\app.ico" Condition="!Exists('Assets\app.ico')" />
</ItemGroup>
<ItemGroup>
<!-- App.xaml moved under src/, but must stay ApplicationDefinition to generate entry point -->
<Page Remove="src\\App.xaml" />
<ApplicationDefinition Include="src\\App.xaml" />
</ItemGroup>
<!-- Keep satellite assemblies inside single-file exe so language works after publish -->
<PropertyGroup Condition="'$(PublishSingleFile)' == 'true'">
<IncludeAllContentForSelfExtract>false</IncludeAllContentForSelfExtract>
</PropertyGroup>
</Project>