|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk.Web"> |
2 | 2 |
|
3 | 3 | <PropertyGroup> |
4 | | - <TargetFramework>net8.0-windows10.0.19041.0</TargetFramework> |
| 4 | + <TargetFramework>net8.0-windows</TargetFramework> |
5 | 5 | <Nullable>enable</Nullable> |
6 | 6 | <ImplicitUsings>enable</ImplicitUsings> |
7 | 7 | <InvariantGlobalization>false</InvariantGlobalization> |
8 | 8 | <Platforms>x64</Platforms> |
9 | 9 | <IsTransformWebConfigDisabled>True</IsTransformWebConfigDisabled> |
10 | 10 | <StaticWebAssetsEnabled>True</StaticWebAssetsEnabled> |
11 | 11 | <OutputType>WinExe</OutputType> |
| 12 | + <ValidateExecutableReferencesMatchSelfContained>False</ValidateExecutableReferencesMatchSelfContained> |
| 13 | + <RuntimeIdentifier>win-x64</RuntimeIdentifier> |
| 14 | + <PublishTrimmed>False</PublishTrimmed> |
| 15 | + <PublishAot>False</PublishAot> |
| 16 | + <StartupObject>MaiChartManager.Program</StartupObject> |
| 17 | + <GenerateAssemblyInfo>False</GenerateAssemblyInfo> |
| 18 | + <ApplicationHighDpiMode>PerMonitorV2</ApplicationHighDpiMode> |
| 19 | + <UseWindowsForms>true</UseWindowsForms> |
12 | 20 | </PropertyGroup> |
13 | 21 |
|
14 | 22 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
15 | | - <IsPublishable>False</IsPublishable> |
| 23 | + <IsPublishable>True</IsPublishable> |
16 | 24 | <PlatformTarget>x64</PlatformTarget> |
17 | 25 | </PropertyGroup> |
18 | 26 |
|
19 | 27 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
20 | | - <IsPublishable>False</IsPublishable> |
| 28 | + <IsPublishable>True</IsPublishable> |
21 | 29 | <PlatformTarget>x64</PlatformTarget> |
22 | 30 | </PropertyGroup> |
23 | 31 |
|
|
119 | 127 | </EmbeddedResource> |
120 | 128 | </ItemGroup> |
121 | 129 |
|
| 130 | + <Target Name="PreBuild" BeforeTargets="PreBuildEvent"> |
| 131 | + <Exec Command="cd Front
pnpm build" /> |
| 132 | + </Target> |
| 133 | + |
122 | 134 | </Project> |
0 commit comments