Added Directory.Build.props to avoid mixed app.settings

This commit is contained in:
Matthias Heil
2026-04-05 07:33:29 +02:00
parent 6e3bd075f1
commit dfb879bfb3
3 changed files with 24 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<Project>
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
<LangVersion>latest</LangVersion>
<AnalysisLevel>latest-recommended</AnalysisLevel>
<BinDir>$(MSBuildThisFileDirectory)bin</BinDir>
<RestorePackagesPath>$(MSBuildThisFileDirectory)packages</RestorePackagesPath>
<OutputDirectory>$(MSBuildProjectName)</OutputDirectory>
<OutputDirectory Condition=" '$(AssemblyName)' != '' ">$(AssemblyName)</OutputDirectory>
<OutputPath>$(BinDir)\$(Configuration)\$(MSBuildProjectName)\</OutputPath>
<BaseIntermediateOutputPath>$(BinDir)\obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
<EnableUnsafeBinaryFormatterSerialization>false</EnableUnsafeBinaryFormatterSerialization>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<None Remove="*.DotSettings" />
<None Remove="packages.lock.json" />
</ItemGroup>
</Project>