Enable WSL solution builds

This commit is contained in:
Meik
2026-03-16 14:33:28 +01:00
parent 7f3415c690
commit c330627f0f
4 changed files with 23 additions and 4 deletions

View File

@@ -117,4 +117,13 @@
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
<Target Name="Build" Condition=" '$(OS)' != 'Windows_NT' ">
<Message Text="Skipping LiamWorkflowDiagnostics on non-Windows because the WPF diagnostics tool requires Windows MSBuild." Importance="high" />
<MakeDir Directories="$(OutputPath)" />
<WriteLinesToFile File="$(OutputPath)LiamWorkflowDiagnostics.skipped.txt" Lines="Skipped on non-Windows because the WPF diagnostics tool requires Windows MSBuild." Overwrite="true" />
</Target>
<Target Name="Rebuild" Condition=" '$(OS)' != 'Windows_NT' " DependsOnTargets="Clean;Build" />
<Target Name="Clean" Condition=" '$(OS)' != 'Windows_NT' ">
<Delete Files="$(OutputPath)LiamWorkflowDiagnostics.skipped.txt" />
</Target>
</Project>