-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Roslyn to create ref/ assemblies #23403
Merged
dougbu
merged 10 commits into
release/5.0-preview8
from
dougbu/roslyn.ref.assemblies.14801
Jul 17, 2020
Merged
Changes from 1 commit
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
32dd707
Remove all ref/ projects
dougbu 67106b5
Remove GenAPI infrastructure
dougbu b8149f4
Remove notion of a reference assembly project
dougbu 792074d
Move .0 package version workaround into Versions.props
dougbu 3067d97
Expose `%(LatestPackageReference.RTMVersion)` metadata
dougbu 436cfb1
Enable Roslyn reference assemblies
dougbu 7abaf77
Update documentation to reflect recent changes
dougbu c65704f
!fixup! Remove another irrelevant doc file
dougbu 46b6d1d
!fixup! Address PR review suggestions
dougbu 7ebf486
Actually use `%(LatestPackageReference.RTMVersion)` metadata
dougbu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<Project> | ||
<!-- Minimize what gets set to avoid useless references in this simple project. --> | ||
<Import Project="..\Common.props" /> | ||
<Import Project="..\Versions.props" /> | ||
<Import Project="..\Dependencies.props" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<Project /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<!-- | ||
Gather project references for compilation against RTM packages. %(RTMVersion) is set for about a dozen packages | ||
in all servicing builds. Cannot reference two versions of a package, mandating this separate package. | ||
--> | ||
<PropertyGroup> | ||
<TargetFramework>net5.0</TargetFramework> | ||
<IsPackable>false</IsPackable> | ||
|
||
<!-- Don't bother building anything here. We only need to ensure the RTM packages are on disk. --> | ||
<DebugType>none</DebugType> | ||
<IncludeBuildOutput>false</IncludeBuildOutput> | ||
<CopyBuildOutputToPublishDirectory>false</CopyBuildOutputToPublishDirectory> | ||
<CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory> | ||
<CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory> | ||
<GenerateDependencyFile>false</GenerateDependencyFile> | ||
|
||
<!-- This project should not be referenced via the `<Reference>` implementation. --> | ||
<IsProjectReferenceProvider>false</IsProjectReferenceProvider> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="@(LatestPackageReference->HasMetadata('RTMVersion'))" Version="%(RTMVersion)" /> | ||
</ItemGroup> | ||
|
||
<!-- Arcade SDK calls Test target on every project in the repo but provides an empty fallback. Do same here. --> | ||
<Target Name="Test" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't be parameterized?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not unless I remove the
Directory.Build.*
files. I'll test out whether that causes any problems after getting this in and doing the merge to 'master'. It's no worse at the moment than the hard-coded TFMs in (say) our project templates. But, I'll clean it up next if possible.