dotnet / dotnet/source-build

Unable to build upstream roslyn repository using a source-built SDK

Open
#3,106 1 comment 0 reactions 0 assignees View on GitHub
area-build
Dominant language
No language data
Stars
287
Forks
145
Avg merge
1d 22h
Merged PRs (30d)
10

Description

We are trying to build and test the roslyn repo (standalone) on a ppc64le machine to verify that it's fully working and all known bugs have been fixed. On that architecture, the only SDK that's generally available for users is a source-build SDK. Unfortunately, roslyn has a number of projects that need the `Microsoft.NET.Sdk.WindowsDesktop` sdk. So a source-build SDK can't actually build or test roslyn.

From what I can tell, the errors are all in projects that are not used in source-build. The projects are (eventually) marked as `ExcludeFromSourceBuild=true`. When source-build is building roslyn, it uses arcade overrides to feed it an empty SDK to get those projects to restore (but not build). But that approach of overriding arcade isn't really available when we want to build/test roslyn standalone.

Is there some way to use a source-build SDK to build+test roslyn standalone?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.