initial commit
This commit is contained in:
commit
d701598350
67 changed files with 9351 additions and 0 deletions
11
Directory.Build.targets
Normal file
11
Directory.Build.targets
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<Project>
|
||||
<Target Name="StripHostProvidedAssemblies" AfterTargets="Publish" Condition="'$(EnableDynamicLoading)' == 'true'">
|
||||
<ItemGroup>
|
||||
<_HostProvided Include="$(PublishDir)Microsoft.Extensions.*.dll" />
|
||||
<_HostProvided Include="$(PublishDir)CounterStrikeSharp.*.dll" />
|
||||
</ItemGroup>
|
||||
<Delete Files="@(_HostProvided)" />
|
||||
<Message Importance="high" Condition="'@(_HostProvided)' != ''"
|
||||
Text="Stripped host-provided assemblies from publish: @(_HostProvided->'%(Filename)%(Extension)', ', ')" />
|
||||
</Target>
|
||||
</Project>
|
||||
Loading…
Add table
Add a link
Reference in a new issue