Advertisement
lunkums

MonoGame/NetBeauty .csproj

Oct 5th, 2022
940
-1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.07 KB | Gaming | 0 1
  1. <Project Sdk="Microsoft.NET.Sdk">
  2.  
  3.     <!-- Override with NetBeauty -->
  4.     <!--<PropertyGroup>
  5.         <OutputType>WinExe</OutputType>
  6.     </PropertyGroup>-->
  7.  
  8.     <!-- NetBeauty -->
  9.     <PropertyGroup>
  10.         <OutputType>Exe</OutputType>
  11.         <TargetFramework>net6.0</TargetFramework>
  12.         <RollForward>Major</RollForward>
  13.         <PublishReadyToRun>false</PublishReadyToRun>
  14.         <TieredCompilation>false</TieredCompilation>
  15.     </PropertyGroup>
  16.  
  17.     <PropertyGroup>
  18.         <BeautySharedRuntimeMode>False</BeautySharedRuntimeMode>
  19.         <!-- beauty into sub-directory, default is libs, quote with "" if contains space  -->
  20.         <BeautyLibsDir Condition="$(BeautySharedRuntimeMode) == 'True'">../libraries</BeautyLibsDir>
  21.         <BeautyLibsDir Condition="$(BeautySharedRuntimeMode) != 'True'">./libraries</BeautyLibsDir>
  22.         <!-- dlls that you don't want to be moved or can not be moved -->
  23.         <!-- <BeautyExcludes>dll1.dll;lib*;...</BeautyExcludes> -->
  24.         <!-- dlls that end users never needed, so hide them -->
  25.         <!-- <BeautyHiddens>hostfxr;hostpolicy;*.deps.json;*.runtimeconfig*.json</BeautyHiddens> -->
  26.         <!-- set to True if you want to disable -->
  27.         <DisableBeauty>False</DisableBeauty>
  28.         <!-- set to False if you want to beauty on build -->
  29.         <BeautyOnPublishOnly>True</BeautyOnPublishOnly>
  30.         <!-- set to True if you want to allow 3rd debuggers(like dnSpy) debugs the app -->
  31.         <BeautyEnableDebugging>False</BeautyEnableDebugging>
  32.         <!-- the patch can reduce the file count -->
  33.         <!-- set to False if you want to disable -->
  34.         <!-- SCD Mode Feature Only -->
  35.         <BeautyUsePatch>True</BeautyUsePatch>
  36.         <!-- <BeautyAfterTasks></BeautyAfterTasks> -->
  37.         <!-- valid values: Error|Detail|Info -->
  38.         <BeautyLogLevel>Info</BeautyLogLevel>
  39.         <!-- set to a repo mirror if you have troble in connecting github -->
  40.         <!-- <BeautyGitCDN>https://gitee.com/liesauer/HostFXRPatcher</BeautyGitCDN> -->
  41.         <!-- <BeautyGitTree>master</BeautyGitTree> -->
  42.     </PropertyGroup>
  43.  
  44.     <ItemGroup>
  45.         <PackageReference Include="nulastudio.NetBeauty" Version="2.0.0.0-beta.7" />
  46.     </ItemGroup>
  47.     <!-- NetBeauty -->
  48.  
  49.   <PropertyGroup>
  50.     <ApplicationManifest>app.manifest</ApplicationManifest>
  51.     <ApplicationIcon>Icon.ico</ApplicationIcon>
  52.   </PropertyGroup>
  53.   <ItemGroup>
  54.     <None Remove="Icon.ico" />
  55.     <None Remove="Icon.bmp" />
  56.   </ItemGroup>
  57.   <ItemGroup>
  58.     <EmbeddedResource Include="Icon.ico" />
  59.     <EmbeddedResource Include="Icon.bmp" />
  60.   </ItemGroup>
  61.   <ItemGroup>
  62.     <PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.1.303" />
  63.     <PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.1.303" />
  64.     <PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
  65.   </ItemGroup>
  66.   <ItemGroup>
  67.     <None Update="settings\settings.json">
  68.       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  69.     </None>
  70.   </ItemGroup>
  71.   <Target Name="RestoreDotnetTools" BeforeTargets="Restore">
  72.     <Message Text="Restoring dotnet tools" Importance="High" />
  73.     <Exec Command="dotnet tool restore" />
  74.   </Target>
  75.   <ProjectExtensions><VisualStudio><UserProperties /></VisualStudio></ProjectExtensions>
  76. </Project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement