Skip to content

Commit

Permalink
Clean up Directory.Build.props/targets a bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed Apr 17, 2024
1 parent a94ea3d commit 6260d52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
3 changes: 3 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<AnalysisLevel>latest-all</AnalysisLevel>
<ApplicationIcon>$(MSBuildThisFileDirectory)novadrop.ico</ApplicationIcon>
<DisableRuntimeMarshalling>true</DisableRuntimeMarshalling>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<EnablePackageValidation>true</EnablePackageValidation>
Expand All @@ -20,8 +21,10 @@
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<PackRelease>false</PackRelease>
<PackageIcon>novadrop.png</PackageIcon>
<PackageLicenseExpression>0BSD</PackageLicenseExpression>
<PackageProjectUrl>https://docs.vezel.dev/novadrop</PackageProjectUrl>
<PackageReadmeFile>PACKAGE.md</PackageReadmeFile>
<PublishRelease>false</PublishRelease>
<RepositoryUrl>https://github.com/vezel-dev/novadrop.git</RepositoryUrl>
<TargetFramework>net8.0</TargetFramework>
Expand Down
11 changes: 1 addition & 10 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,7 @@
<Choose>
<When Condition="'$(IsPackable)' == 'true'">
<PropertyGroup>
<ApplicationIcon>$(MSBuildThisFileDirectory)novadrop.ico</ApplicationIcon>
<PackageIcon>novadrop.png</PackageIcon>
<PackageReadmeFile>PACKAGE.md</PackageReadmeFile>
</PropertyGroup>

<PropertyGroup Condition="'$(OutputType)' == 'Library'">
<EnableAotAnalyzer>true</EnableAotAnalyzer>
<EnableSingleFileAnalyzer>true</EnableSingleFileAnalyzer>
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
<IsTrimmable>true</IsTrimmable>
<IsAotCompatible Condition="'$(OutputType)' == 'Library'">true</IsAotCompatible>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 6260d52

Please sign in to comment.