🔧 Adds guards for specific properties & targets instead of applying them on all projects
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<Project>
|
||||
<Target Name="RestoreNpmAssets">
|
||||
<Target Name="RestoreNpmAssets" Condition="Exists('$(MSBuildProjectDirectory)/package.json')" BeforeTargets="Restore">
|
||||
<Exec Command="npm install" />
|
||||
</Target>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user