forked from leotsarev/hardcode-analyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.targets
More file actions
18 lines (18 loc) · 819 Bytes
/
Directory.Build.targets
File metadata and controls
18 lines (18 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<Project>
<ItemGroup Condition="'$(IsPackable)' == 'true'">
<None Update="tools\*.ps1" CopyToOutputDirectory="Always" Pack="true" PackagePath="tools" />
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
</ItemGroup>
<Target Name="IlRepack" AfterTargets="Build" Condition="'$(IsPackable)' == 'true'">
<ItemGroup>
<InputAssemblies Include="Tsarev.Analyzer.Helpers.dll" />
</ItemGroup>
<ILRepack
Parallel="true" Internalize="False" InputAssemblies="@(InputAssemblies)" OutputType="Dll"
MainAssembly="$(AssemblyName).dll"
OutputAssembly="$(OutputPath)\$(AssemblyName).dll"
WorkingDirectory="$(OutputPath)"
/>
<Delete Files="$(OutputPath)\Tsarev.Analyzer.Helpers.dll" />
</Target>
</Project>