Skip to content

Use already defined generateAssemblyReferenceSource rather defining a new target#35818

Merged
Anipik merged 7 commits intodotnet:masterfrom
Anipik:generateAssemblyReferenceSource
May 11, 2020
Merged

Use already defined generateAssemblyReferenceSource rather defining a new target#35818
Anipik merged 7 commits intodotnet:masterfrom
Anipik:generateAssemblyReferenceSource

Conversation

@Anipik
Copy link
Contributor

@Anipik Anipik commented May 4, 2020

Fixes #948
Fixes #34604

@ghost
Copy link

ghost commented May 4, 2020

Tagging subscribers to this area: @ViktorHofer
Notify danmosemsft if you want to be subscribed.

@Anipik
Copy link
Contributor Author

Anipik commented May 5, 2020

c:\git\runtime\src\libraries\System.Runtime\src>dotnet msbuild /t:GenerateReferenceAssemblySource /bl
Microsoft (R) Build Engine version 16.7.0-preview-20229-03+2cee6d020 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Program Files\dotnet\sdk\5.0.100-preview.5.20254.3\MSBuild.dll -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,C:\Program Files\dotnet\sdk\5.0.100-preview.5.20254.3\dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,C:\Program Files\dotnet\sdk\5.0.100-preview.5.20254.3\dotnet.dll -maxcpucount -verbosity:m /bl /t:GenerateReferenceAssemblySource .\System.Runtime.csproj
  Generated reference assembly source code: c:\git\runtime\src\libraries\System.Runtime\ref\System.Runtime.cs

@Anipik
Copy link
Contributor Author

Anipik commented May 8, 2020

should wait until this dotnet/arcade#5419 is avaliable in runtime

@ViktorHofer
Copy link
Member

I don't want to be over-aggressive with the batched rollout but you are renaming a target that devs are used to. That's a candidate for the next batched rollout: #35895.

@ViktorHofer ViktorHofer added the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label May 8, 2020
@ericstj
Copy link
Member

ericstj commented May 8, 2020

You can keep the old target and just have it depend on the new one. If you want to be cute you could emit a warning in the old target about deprecation. Then delete the old one in next batched rollout.

@ViktorHofer
Copy link
Member

I like cute.

@safern
Copy link
Member

safern commented May 8, 2020

You can keep the old target and just have it depend on the new one. If you want to be cute you could emit a warning in the old target about deprecation. Then delete the old one in next batched rollout.

I like this idea to not block until next batch rollout.

@Anipik Anipik removed the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label May 11, 2020
@Anipik
Copy link
Contributor Author

Anipik commented May 11, 2020

i added the target back to unblock this and also updated the genapi version. I have tested the change locally and both the targets work

@Anipik Anipik merged commit 322257f into dotnet:master May 11, 2020
@Anipik Anipik deleted the generateAssemblyReferenceSource branch May 11, 2020 20:59
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Attempting to GenerateReferenceSource for System.Runtime fails Unify functionality GenerateReferenceAssemblySource and GenerateReferenceSource

5 participants