Rely on the standard .NET logging system, so it integrates better with external libraries we might be logging through.
94 lines
4.2 KiB
XML
94 lines
4.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Razor">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net9.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<EnableDefaultEmbeddedResourceItems>false</EnableDefaultEmbeddedResourceItems>
|
|
<ApplicationIcon>LANCommanderDark.ico</ApplicationIcon>
|
|
<Company>LANCommander</Company>
|
|
<Product>Launcher</Product>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<BeautySharedRuntimeMode>False</BeautySharedRuntimeMode>
|
|
<!-- beauty into sub-directory, default is libs, quote with "" if contains space -->
|
|
<BeautyLibsDir Condition="$(BeautySharedRuntimeMode) == 'True'">../Libraries</BeautyLibsDir>
|
|
<BeautyLibsDir Condition="$(BeautySharedRuntimeMode) != 'True'">./Libraries</BeautyLibsDir>
|
|
<!-- dlls that you don't want to be moved or can not be moved -->
|
|
<!-- <BeautyExcludes>dll1.dll;lib*;...</BeautyExcludes> -->
|
|
<!-- dlls that end users never needed, so hide them -->
|
|
<!-- <BeautyHiddens>hostfxr;hostpolicy;*.deps.json;*.runtimeconfig*.json</BeautyHiddens> -->
|
|
<!-- set to True if you want to disable -->
|
|
<DisableBeauty>False</DisableBeauty>
|
|
<!-- set to False if you want to beauty on build -->
|
|
<BeautyOnPublishOnly>True</BeautyOnPublishOnly>
|
|
<!-- DO NOT TOUCH THIS OPTION -->
|
|
<BeautyNoRuntimeInfo>False</BeautyNoRuntimeInfo>
|
|
<!-- set to True if you want to allow 3rd debuggers(like dnSpy) debugs the app -->
|
|
<BeautyEnableDebugging>False</BeautyEnableDebugging>
|
|
<!-- the patch can reduce the file count -->
|
|
<!-- set to False if you want to disable -->
|
|
<!-- SCD Mode Feature Only -->
|
|
<BeautyUsePatch>True</BeautyUsePatch>
|
|
<!-- App Entry Dll = BeautyDir + BeautyAppHostDir + BeautyAppHostEntry -->
|
|
<!-- see https://github.com/nulastudio/NetBeauty2#customize-apphost for more details -->
|
|
<!-- relative path based on AppHostDir -->
|
|
<!-- .NET Core Non Single-File Only -->
|
|
<!-- <BeautyAppHostEntry>bin/MyApp.dll</BeautyAppHostEntry> -->
|
|
<!-- relative path based on BeautyDir -->
|
|
<!-- .NET Core Non Single-File Only -->
|
|
<!-- <BeautyAppHostDir>..</BeautyAppHostDir> -->
|
|
<!-- <BeautyAfterTasks></BeautyAfterTasks> -->
|
|
<!-- valid values: Error|Detail|Info -->
|
|
<BeautyLogLevel>Info</BeautyLogLevel>
|
|
<!-- set to a repo mirror if you have troble in connecting github -->
|
|
<!-- <BeautyGitCDN>https://gitee.com/liesauer/HostFXRPatcher</BeautyGitCDN> -->
|
|
<!-- <BeautyGitTree>master</BeautyGitTree> -->
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Update="wwwroot\**">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Remove="package.json;package-lock.json;tsconfig.json;webpack.config.js" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Include="package.json">
|
|
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Extensions.Configuration" />
|
|
<PackageReference Include="Microsoft.Extensions.Localization" />
|
|
<PackageReference Include="Microsoft.Toolkit.Uwp.Notifications" />
|
|
<PackageReference Include="nulastudio.NetBeauty" />
|
|
<PackageReference Include="Photino.Blazor" />
|
|
<PackageReference Include="Photino.Blazor.CustomWindow" />
|
|
<PackageReference Include="Photino.NET" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\LANCommander.Launcher.Data\LANCommander.Launcher.Data.csproj" />
|
|
<ProjectReference Include="..\LANCommander.Launcher.Models\LANCommander.Launcher.Models.csproj" />
|
|
<ProjectReference Include="..\LANCommander.Launcher.Services\LANCommander.Launcher.Services.csproj" />
|
|
<ProjectReference Include="..\LANCommander.SDK\LANCommander.SDK.csproj" />
|
|
<ProjectReference Include="..\LANCommander.ServiceDefaults\LANCommander.ServiceDefaults.csproj" />
|
|
<ProjectReference Include="..\LANCommander.UI\LANCommander.UI.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="Resources\**\*.resx" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="CompileGlobalSass" BeforeTargets="Compile">
|
|
<Message Text="Compiling global SCSS files" Importance="high" />
|
|
<Exec Command="npm run package" />
|
|
</Target>
|
|
</Project>
|