mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
Paket/C#: Automatically restore tools for CSharp.sln.
This is not a general fix, as we not always build the solution file, but this should improve the DX for local developers that use the solution file.
This commit is contained in:
6
csharp/before.CSharp.sln.targets
Normal file
6
csharp/before.CSharp.sln.targets
Normal file
@@ -0,0 +1,6 @@
|
||||
<Project InitialTargets="LocalToolRestore">
|
||||
<Target Name="LocalToolRestore" BeforeTargets="PaketRestore">
|
||||
<Message Text="Restoring tools" Importance="High" />
|
||||
<Exec Command="dotnet tool restore" />
|
||||
</Target>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user