Skip to content
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

Remove dotnet-core feed & Update GenAPI Assembly Name #6141

Merged
merged 2 commits into from
Feb 10, 2021

Conversation

benvillalobos
Copy link
Member

@benvillalobos benvillalobos commented Feb 9, 2021

Fixes CI

Context

The new NuGet security analysis will fail builds that don't meet certain criteria.

Microsoft.DotNet.BuildTools.GenAPI binaries were generated by the dotnet/buildtools repo. Looking at the repo it looks like its been replaced with arcade. The arcade feed we have (dotnet-eng) contains the GenAPI binaries under a slightly different name (buildtools removed from the name).

Changes Made

Remove the dotnet-core feed because it doesn't point to an internal site.
Look for Microsoft.DotNet.GenAPI instead of Microsoft.DotNet.BuildTools.GenAPI. It exists on the dotnet-eng feed.

Testing

CI will tell us if this doesn't work.

Notes

https://docs.opensource.microsoft.com/tools/nuget_security_analysis.html

@benvillalobos benvillalobos changed the title Remove dotnet-core feed Remove dotnet-core feed & Change GenAPI Assembly Name Feb 9, 2021
@benvillalobos benvillalobos changed the title Remove dotnet-core feed & Change GenAPI Assembly Name Remove dotnet-core feed & Update GenAPI Assembly Name Feb 9, 2021
@benvillalobos
Copy link
Member Author

@benvillalobos
Copy link
Member Author

@benvillalobos benvillalobos merged commit 6bad8ea into dotnet:master Feb 10, 2021
@benvillalobos benvillalobos deleted the remove-dotnet-core-feed branch February 10, 2021 00:41
KirillOsenkov added a commit that referenced this pull request Feb 16, 2021
…ource

When #6141 updated from Microsoft.DotNet.BuildTools.GenAPI to Microsoft.DotNet.GenAPI our reference assembly source generation logic stopped working.

Turns out the new NuGet package targets relies on singular spelling to insert itself after PrepareForRun:

<PrepareForRunDependsOn Condition="'$(GenerateReferenceAssemblySource)' == 'true'">

Update our spelling to singular everywhere now that we're using the new package.
ladipro added a commit that referenced this pull request Feb 23, 2021
…emblySource

When #6141 updated from Microsoft.DotNet.BuildTools.GenAPI to Microsoft.DotNet.GenAPI our reference assembly source generation logic stopped working.

Turns out the new NuGet package targets relies on singular spelling to insert itself after PrepareForRun:

<PrepareForRunDependsOn Condition="'$(GenerateReferenceAssemblySource)' == 'true'">

Update our spelling to singular everywhere now that we're using the new package.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants