Skip to content

Commit

Permalink
Sync Directory.Build.targets
Browse files Browse the repository at this point in the history
  • Loading branch information
SyncFileContents authored and SyncFileContents committed Jun 27, 2024
1 parent 89cf75d commit 89b03bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
<IsPrimaryProject Condition="$(MSBuildProjectName) == '$(SolutionName)'">True</IsPrimaryProject>
</PropertyGroup>

<PropertyGroup Condition="$(IsExecutable) == true">
<PublishSingleFile>true</PublishSingleFile>
<PublishAot>true</PublishAot>
</PropertyGroup>

<PropertyGroup Condition="$(IsTest) == true">
<NoWarn>$(NoWarn);CS1591;CA2225;CA1707;IDE0022;IDE0058;CA1305;S4056;S104;CA5394;</NoWarn>
</PropertyGroup>
Expand Down

0 comments on commit 89b03bc

Please sign in to comment.