Skip to content

.NET Core Template - #293

Closed
davkean wants to merge 3 commits into
dotnet:masterfrom
davkean:Templates
Closed

davkean wants to merge 3 commits into
dotnet:masterfrom
davkean:Templates

Conversation

@davkean

@davkean davkean commented Jul 8, 2016

Copy link
Copy Markdown
Member

This is first initial stab at .NET Core template, there's still a couple of TODOs:

  • Design-time build is broken
  • Need to verify against "dotnet.exe build3", there's a couple of changes needed
  • Need to pull in the designer targets
  • Template build is a little hacky due to bugs in the VS SDK targets not handling linked files

@davkean

davkean commented Jul 8, 2016

Copy link
Copy Markdown
Member Author

tag @dotnet/project-system

<data name="2" xml:space="preserve">
<value>C# Project Files (*.csproj);*.csproj</value>
</data>
<data name="3" xml:space="preserve">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Where are these used?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Open Project dialog.

@davkean

davkean commented Jul 8, 2016

Copy link
Copy Markdown
Member Author

@dotnet-bot retest Windows Release please

@srivatsn

srivatsn commented Jul 9, 2016

Copy link
Copy Markdown
Contributor

👍

{
"dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should include "type: platform" to match the current "dotnet new" template in .net core.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can we revisit the need for type platform?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We can revisit it. But the current approach we agreed to take is to get the existing functionality ported to MSBuild and then fix any issues with the existing design.

There are reasons for the "type: platform". Mostly because:

  • How else are we supposed to know which dependency is the Shared Framework dependency?
  • The existing design allows for other Shared Frameworks besides the Microsoft.NETCore.App.

/cc @davidfowl @anurse

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We shouldn't be revisiting any of this right now. We're keeping the current design for every high because we know it works. Once we move to msbuild we can talk about how else we can express things.

@333fred

333fred commented Jul 18, 2016

Copy link
Copy Markdown
Member

@davkean, can we get this merged in?

@richlander

Copy link
Copy Markdown
Member

Is there a dotnet new version of these templates, too?

@davkean

davkean commented Jul 19, 2016

Copy link
Copy Markdown
Member Author

There are plans. Make note, we're moving this template + targets to another repro.

}
},
"frameworks": {
"netcoreapp1.0": {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This one should go away and come from the project. It will only be needed if we have a fx specific depenedncy

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

From above:

The Microsoft.NETCore.App dependency should go "under" the netcoreapp1.0 framework, as this only applies to that framework

@srivatsn

Copy link
Copy Markdown
Contributor

Closing this since the template is moving to a different repo.

@srivatsn srivatsn closed this Aug 16, 2016
@natidea natidea mentioned this pull request Aug 18, 2016
5 tasks done
@davkean
davkean deleted the Templates branch April 2, 2017 23:23
eric62369 pushed a commit to eric62369/project-system that referenced this pull request Jul 10, 2020
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.

9 participants