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

Adding ClassLibrary (.NET Core) and Creating new VSIX for ClassLibrary (.NET Standard) #510

Merged
merged 5 commits into from
Dec 20, 2016

Conversation

jinujoseph
Copy link
Contributor

@jinujoseph jinujoseph commented Dec 16, 2016

Copy link
Member

@dsplaisted dsplaisted left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, though I can't really speak for the template setup. Also I realized that you marked this as a WIP only after I'd already looked at it, so I'm not sure if it was ready for review or not. :-)

<Metadata>
<Identity Id="45474e92-a5d6-4ffb-8689-d7e8064cec90" Version="|%CurrentProject%;GetBuildVersion|" Language="en-US" Publisher="Microsoft" />
<DisplayName>CSharp Standard Templates</DisplayName>
<Description xml:space="preserve">CSharp Standard Templates</Description>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The DisplayName and Description should probably be "C# .NET Standard Templates".

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Can we also make the project name\folder name be CSharpNetStandardTemplatesSetup?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do the display name for the template vsixes surface to the user?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Normally yes (in the extension manager dialog). However since these VSIXes will be marked as Productcomponent they won't show up in the package manager dialog. So no.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good because otherwise we have missed loc strings ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did add a new string in roslyn project system dotnet/project-system#965

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes thanks. This is a different string that doesn't surface if I've understood correctly

Copy link
Contributor

@srivatsn srivatsn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also need authoring for the new vsix

<Metadata>
<Identity Id="45474e92-a5d6-4ffb-8689-d7e8064cec90" Version="|%CurrentProject%;GetBuildVersion|" Language="en-US" Publisher="Microsoft" />
<DisplayName>CSharp Standard Templates</DisplayName>
<Description xml:space="preserve">CSharp Standard Templates</Description>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Can we also make the project name\folder name be CSharpNetStandardTemplatesSetup?

<ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<ProjectGuid>{440F1724-1830-4C7A-9500-8D9323A7FE71}</ProjectGuid>
<OutputType>Library</OutputType>
<AssemblyName>CSharpStandardClassLibrary</AssemblyName>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Call these projects CSharpNetStandardClassLibrary as well?

Adding Authoring for NetStandard Templates
@jinujoseph
Copy link
Contributor Author

Thanks @dsplaisted this should be now ready for review :-)

@jinujoseph jinujoseph changed the title [WIP] Adding ClassLibrary (.NET Core) and Creating new VSIX for ClassLibrary (.NET Standard) Adding ClassLibrary (.NET Core) and Creating new VSIX for ClassLibrary (.NET Standard) Dec 17, 2016

<ItemGroup>
<MergeManifest Include="$(OutputPath)\Microsoft.VisualStudio.Templates.CSharp.NetStandard.json" />
<MergeManifest Include="$(OutputPath)\Microsoft.NET.Sdk.json" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't include the NET SDK - otherwise the same component is being included in two vsmanprojs. Ideally we should split out the SDK into a separate vsmanproj later when we move to the model for pulling in unzipped sdks.

Copy link
Contributor

@srivatsn srivatsn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good modulo the one comment about not including the SDK in the new component.

@jinujoseph jinujoseph merged commit 30fb880 into dotnet:master Dec 20, 2016
mmitche pushed a commit to mmitche/sdk that referenced this pull request Jun 5, 2020
…310.1 (dotnet#510)

This change updates the following dependencies
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19160.1
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.

Add new project template for "Class Library (.NET Core)"
5 participants