Fix diagnostics project build targets
This commit is contained in:
@@ -116,14 +116,6 @@
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<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>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" Condition=" '$(OS)' == 'Windows_NT' " />
|
||||
<Import Project="LiamWorkflowDiagnostics.NonWindows.targets" Condition=" '$(OS)' != 'Windows_NT' " />
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user