Skip to content

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

@rynowak

Description

@rynowak

(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>

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions