Skip to content
This repository was archived by the owner on Feb 13, 2019. It is now read-only.

Update templates based on VS CTP6 #70

Closed
sayedihashimi opened this issue Feb 24, 2015 · 8 comments
Closed

Update templates based on VS CTP6 #70

sayedihashimi opened this issue Feb 24, 2015 · 8 comments
Assignees

Comments

@sayedihashimi
Copy link
Member

We should update the project templates to match what we have in VS 2015 CTP6. I briefly spoke to @spboyer and he is investigating this. Will assign the item to him for now. Shayne if you need help let us know.

@peterblazejewicz
Copy link
Member

👍 (I don't have VS2015 - but as I wrote previously that is what I expect - to have the same content on *nix machine that in VS)

@sayedihashimi
Copy link
Member Author

@peterblazejewicz some templates in VS have options like Auth which we don't have yet in yeoman. Maybe we can add those but maybe we should wait until things stabilize a bit.

I'm chatting with @rustd and @coolcsh to see if we can have a single repo for templates which drive the following.

  • Visual Studio templates
  • Yeoman generators
  • Sublime extensions
  • Shell extensions
  • Whatever other editors need

We need a single source for VS project/item templates. From there we can create a build process which extracts files from the official repo and generate templates for yeoman and editor specifics.

I think it would be easier to start with Item Templates but it doesn't really matter much which we do first. I'd like to see what @rustd thinks of this.

@sayedihashimi
Copy link
Member Author

@peterblazejewicz FYI you can create a VS2015 CTP6 VM in Windows Azure. Click on the More Images link to get the VS CTP configs.

@spboyer
Copy link
Contributor

spboyer commented Feb 26, 2015

Finding one issue with the web template, EntityFramework isn't fully baked. Migrations are not complete and are currently mocked in the template. In order to support on OSX you must use EntityFramework.InMemory, however there is a new/existing error introduced in beta3 - aspnet/HttpAbstractions#203
Looking for ideas here.

Other note: Commented out "Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0-beta3" from project.json as it does not restore from nuget using kpm restore , getting the following in terminal

Unable to locate Microsoft.VisualStudio.Web.BrowserLink.Loader >= 14.0.0-beta3

Seeing as how this is a Visual Studio specific assembly, it was rem and the app.UseBrowerLink() was also rem in Startup.cs

I am assuming the interest to to keep the generator and templates here as xplat as possible.

webapi and empty are ready with test coverage. Waiting for thoughts on the web template.

@sayedihashimi @shanselman

@sayedihashimi
Copy link
Member Author

Thanks @spboyer

Finding one issue with the web template, EntityFramework isn't fully baked. Migrations are not complete and are currently mocked in the template. In order to support on OSX you must use EntityFramework.InMemory, however there is a new/existing error introduced in beta3 - aspnet/HttpAbstractions#203
Looking for ideas here.

I think some of these issues may take time to solve. Whenever we run into a blocking issue we should create an issue (like you have in this case) and make sure to indicate that it's blocking xplat scenarios.

In the mean time perhaps we should trim down the template to not rely on a DB? Once we get unblocked on the DB then we can add it back and get to parity with VS. Thoughts?

Other note: Commented out "Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0-beta3" from >project.json as it does not restore from nuget using kpm restore , getting the following in terminal

Seeing as how this is a Visual Studio specific assembly, it was rem and the app.UseBrowerLink() >was also rem in Startup.cs

I am assuming the interest to to keep the generator and templates here as xplat as possible.

Sounds good, yes we should try and be as xplat as possible

@spboyer
Copy link
Contributor

spboyer commented Feb 26, 2015

@sayedihashimi commented the Register link from the _Layout.cshtml and set some if mono on the DB functionality to gain a full web template.

@sayedihashimi
Copy link
Member Author

@spboyer ok sounds good thanks.

@spboyer
Copy link
Contributor

spboyer commented Feb 27, 2015

v 0.0.31 published. Blog post coming asap.

@spboyer spboyer closed this as completed Feb 27, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants