|
1 | | -<!-- Copyright (c) 2024 Files Community. Licensed under the MIT License. See the LICENSE. --> |
| 1 | +<!-- Copyright (c) 2024 Files Community. Licensed under the MIT License. See the LICENSE. --> |
2 | 2 | <Project Sdk="Microsoft.NET.Sdk"> |
3 | 3 |
|
4 | 4 | <PropertyGroup> |
|
17 | 17 | <DisableXbfLineInfo>False</DisableXbfLineInfo> |
18 | 18 | <AppxBundlePlatforms>x86|x64|arm64</AppxBundlePlatforms> |
19 | 19 | <HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks> |
20 | | - <Nullable>Enable</Nullable> |
21 | 20 | <ApplicationManifest>app.manifest</ApplicationManifest> |
22 | | - <Platforms>x86;x64;arm64</Platforms> |
23 | | - <RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers> |
24 | 21 | <UseWinUI>true</UseWinUI> |
25 | 22 | <BuiltInComInteropSupport>true</BuiltInComInteropSupport> |
26 | | - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
27 | | - <Configurations>Debug;Release;Stable;Preview;Store</Configurations> |
28 | 23 | <CsWinRTIncludes>Files.App.Server;Microsoft.UI.Content.ContentExternalOutputLink;Microsoft.UI.Content.IContentExternalOutputLink</CsWinRTIncludes> |
29 | 24 | <PublishDir>bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\</PublishDir> |
30 | 25 | <PublishReadyToRun Condition="'$(Configuration)' == 'Debug'">False</PublishReadyToRun> |
31 | 26 | <PublishReadyToRun Condition="'$(Configuration)' != 'Debug'">True</PublishReadyToRun> |
32 | 27 | <PublishReadyToRunComposite Condition="'$(Configuration)' != 'Debug'">True</PublishReadyToRunComposite> |
33 | 28 | <ApplicationIcon>..\Files.App (Package)\Assets\AppTiles\Dev\Logo.ico</ApplicationIcon> |
34 | | - </PropertyGroup> |
35 | | - |
36 | | - <PropertyGroup Condition="'$(Configuration)' == 'Debug'"> |
37 | | - <DefineConstants>TRACE;DEBUG;NETFX_CORE;DISABLE_XAML_GENERATED_MAIN</DefineConstants> |
38 | | - </PropertyGroup> |
39 | | - <PropertyGroup Condition="'$(Configuration)' != 'Debug'"> |
40 | | - <DefineConstants>TRACE;RELEASE;NETFX_CORE;DISABLE_XAML_GENERATED_MAIN</DefineConstants> |
41 | | - <Optimize>true</Optimize> |
| 29 | + <DefineConstants Condition="'$(Configuration)' == 'Debug'">DISABLE_XAML_GENERATED_MAIN</DefineConstants> |
| 30 | + <DefineConstants Condition="'$(Configuration)' != 'Debug'">DISABLE_XAML_GENERATED_MAIN</DefineConstants> |
42 | 31 | </PropertyGroup> |
43 | 32 |
|
44 | 33 | <ItemGroup> |
|
0 commit comments