question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if youā€™re still stuck at the end, weā€™re happy to hop on a call to see how we can help out.

What's the guidance when you have projects that only build on Windows?

See original GitHub issue

(see title)

Is there a recipe for this? The projects in question have WPF inside them and donā€™t build on Mac/Linux (though they try).

Iā€™m solving it right now using the following in Build.props

<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup>
    <ProjectToBuild Condition="'$(OS)'=='WINDOWS_NT'" Include="$(MSBuildThisFileDirectory)..\src\Razor\Razor.sln" />

    <ProjectToBuild Condition="'$(OS)'!='WINDOWS_NT'" Include="$(MSBuildThisFileDirectory)..\src\Razor\Razor.Slim.sln" />
  </ItemGroup>
</Project>

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
rynowakcommented, Dec 18, 2018

Doc updates look great. Iā€™m closing this since I think itā€™s super done šŸ‘

0reactions
natemcmastercommented, Dec 18, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

Understanding the Build Process
This topic provides a walkthrough of an enterprise-scale build and deployment process. The approach described in this topic uses customĀ ...
Read more >
Understanding the Project File
It describes the key components you'll come across when you work with project files, and it works through an example of how you...
Read more >
What are solutions and projects in Visual Studio?
Visual Studio uses MSBuild to build each project in a solution, and each project contains an MSBuild project file. The file extension reflectsĀ ......
Read more >
How to: Specify build events (C#) - Visual Studio (Windows)
In Solution Explorer, select the project for which you want to specify the build event. On the Project menu, click {ProjectName} PropertiesĀ ...
Read more >
Walkthrough: Use MSBuild
You can run MSBuild from Visual Studio, or from the Command Window. In this walkthrough, you create an MSBuild project file using Visual...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found