Skip to content

[.NET 5] Start adding some project capabilities - #4493

Merged
pjcollins merged 1 commit into
masterfrom
net5-proj-capabilities
Apr 1, 2020
Merged

[.NET 5] Start adding some project capabilities#4493
pjcollins merged 1 commit into
masterfrom
net5-proj-capabilities

Conversation

@pjcollins

@pjcollins pjcollins commented Mar 31, 2020

Copy link
Copy Markdown
Member

Context: #4383

Visual Studio uses CPS to load SDK-style projects. In CPS, most things
are keyed-off so-called capabilities which replace other methods that
were used previously like project type GUIDs.

While capabilities can be defined in the IDE, they make most sense to be
directly expressed in the targets themselves where CPS will pick them up
automatically.

After discussing with @kzu, simply using Android could be confusing
with native C++ Android project that export the same capability. By
combining Managed + Mobile + Android we can make a clear distinction
that we are dealing with a Xamarin.Android project.

Context: #4383

Visual Studio uses CPS to load SDK-style projects. In CPS, most things
are keyed-off so-called capabilities[0] which replace other methods that
were used previously like project type GUIDs.

While capabilities can be defined in the IDE, they make most sense to be
directly expressed in the targets themselves where CPS will pick them up
automatically.

After discussing with @kzu, simply using `Android` could be confusing
with native C++ Android project that export the same capability. By
combining `Managed + Mobile + Android` we can make a clear distinction
that we are dealing with a Xamarin.Android project.

[0]  https://github.com/microsoft/VSProjectSystem/blob/master/doc/overview/about_project_capabilities.md
@pjcollins
pjcollins requested a review from jonpryor as a code owner March 31, 2020 20:02
@pjcollins
pjcollins requested a review from garuma March 31, 2020 20:03
@pjcollins

Copy link
Copy Markdown
Member Author

Pulling this out of the net5-preview branch as we're working to break it up and piecewise merge items back in.

@pjcollins
pjcollins merged commit 637b4c4 into master Apr 1, 2020
@pjcollins
pjcollins deleted the net5-proj-capabilities branch April 1, 2020 15:32
@github-actions github-actions Bot locked and limited conversation to collaborators Jan 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants