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:
- Created 5 years ago
- Comments:7 (7 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Doc updates look great. Iām closing this since I think itās super done š
Iāve merged https://github.com/dotnet/arcade/pull/1567 and updated docs for Arcade SDK.
@rynowak let me know if you think this docs update makes it clear enough what to do: https://github.com/dotnet/arcade/blob/f657be5cb7cd4920334dd9162173b131211a1e17/Documentation/ArcadeSdk.md#example-conditionally-specifying-which-projects-to-build