Fix diagnostics project build targets
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Target Name="Build">
|
||||||
|
<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" DependsOnTargets="Clean;Build" />
|
||||||
|
|
||||||
|
<Target Name="Clean">
|
||||||
|
<Delete Files="$(OutputPath)LiamWorkflowDiagnostics.skipped.txt" />
|
||||||
|
</Target>
|
||||||
|
</Project>
|
||||||
@@ -116,14 +116,6 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="App.config" />
|
<None Include="App.config" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" Condition=" '$(OS)' == 'Windows_NT' " />
|
||||||
<Target Name="Build" Condition=" '$(OS)' != 'Windows_NT' ">
|
<Import Project="LiamWorkflowDiagnostics.NonWindows.targets" 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>
|
</Project>
|
||||||
|
|||||||
Reference in New Issue
Block a user