🔧 Adds guards for specific properties & targets instead of applying them on all projects

This commit is contained in:
2026-03-02 16:00:30 +02:00
parent ce0ba9b3b2
commit b59e0d12ab
2 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
<Project>
<Target Name="RestoreNpmAssets">
<Target Name="RestoreNpmAssets" Condition="Exists('$(MSBuildProjectDirectory)/package.json')" BeforeTargets="Restore">
<Exec Command="npm install" />
</Target>