Comments (17)
@xtianus79 which other project templates? Do you mean something like home project templates?
https://github.com/aspnet/Home/tree/master/samples
Thanks!
from generator-aspnet.
@peterblazejewicz I would like to have the template for C# web Starter Web... is that possible?
from generator-aspnet.
Also @peterblazejewicz what node.js versions does this iteration of VS Vnext actually use? seems to be in clonflict with my node.js 0.12.0
from generator-aspnet.
@xtianus79 the package.json file spcifies node.js version >= 0.10
https://github.com/OmniSharp/generator-aspnet/blob/master/package.json#L37-L38
from generator-aspnet.
@spboyer so can this be changed to 0.12? moreover... I have 0.12 installed on my machine... is there a way to change the engine that VS is using? thanks
Also, is it possible to get a forked version going that is specific to a template i.e. starter web?
from generator-aspnet.
Wait I just rethought that... the setting is saying this needs to run on node.js .10 or later. doesn't mean that is what VS is running on. is this an official answer?
from generator-aspnet.
@xtianus79 the generator needs to run on nodejs >= 0.10, it is unrelated to VS. You don't Visual Studio to run this, change the output, compile, or build and view. Just the ASPNET runtime or KLR. Which is also now known as DNX.
from generator-aspnet.
No im asking what node does vs vnext have baked in?. What version is it running or at least looking for. Perhaps I said that wrong.
Sent from my Windows Phone
From: Shayne Boyermailto:[email protected]
Sent: 3/18/2015 6:43 PM
To: OmniSharp/generator-aspnetmailto:[email protected]
Cc: xtianus79mailto:[email protected]
Subject: Re: [generator-aspnet] Is it possible to create specific generators i.e. Starter Web so they can be forked and modded? (#88)
@xtianus79 the generator needs to run on nodejs >= 0.10, it is unrelated to VS. You don't Visual Studio to run this, change the output, compile, or build and view. Just the ASPNET runtime or KLR. Which is also now known as DNX.
Reply to this email directly or view it on GitHub:
#88 (comment)
from generator-aspnet.
so is this possible?
from generator-aspnet.
@xtianus79 it's not clear to me what your question/suggestion is. Can you be more specific?
I would like to have the template for C# web Starter Web
In the generators the web template is equivalent to the Starter Web template
You can fork this repo and modify that if you like.
No im asking what node does vs vnext have baked in?. What version is it running or at least looking for. Perhaps I said that wrong.
In Visual Studio I modified project.json
to include the following in the scripts section to the following.
"scripts": {
"postrestore": [ "node -v" ]
}
The result printed in the Package Manager Log
was v0.10.31
.
from generator-aspnet.
@sayedihashimi thanks for the reply. 2 things.
- https://github.com/OmniSharp/generator-aspnet/blob/master/templates/projects/web/_gruntfile.js <<< yes I can deal with that. Awesome!!!
So basically I can use the generator and use this template<<< is this template connected to the generator or is this separate unto itself?
- is there an official way to change this to use the node that is installed globally on the system?
from generator-aspnet.
this is my print out... Resolving complete, 7127ms elapsed
npm WARN package.json @0.0.0 No description
npm WARN package.json @0.0.0 No repository field.
npm WARN package.json @0.0.0 No README data
v0.10.31
when I right click on NPM and choose configure external tools it comes to the choice to edit the "External Web tools"
I unchecked the first box which is .node_modules.bin and then added C: \Program Files\Nodejs and hit ok and I still get the information from above... no change seems to take affect.
from generator-aspnet.
@sayedihashimi @spboyer Ok I am going to clone the project now and try to implement my bits and setup from here... it i can get it working it would be amazing.
https://github.com/xtianus79/generator-zf5
from generator-aspnet.
@xtianus79 this repository is for the asp.net 5 yeoman generators. This is not the right place for getting info on how VS interacts with node/grunt. I noticed that Mads published a blog today at http://blogs.msdn.com/b/webdev/archive/2015/03/19/customize-external-web-tools-in-visual-studio-2015.aspx which relates to that. That seems like a good place to ask those questions.
from generator-aspnet.
yes you are correct and the blog post worked out perfectly. Thanks!
Date: Thu, 19 Mar 2015 13:41:56 -0700
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [generator-aspnet] Is it possible to create specific generators i.e. Starter Web so they can be forked and modded? (#88)
@xtianus79 this repository is for the asp.net 5 yeoman generators. This is not the right place for getting info on how VS interacts with node/grunt. I noticed that Mads published a blog today at http://blogs.msdn.com/b/webdev/archive/2015/03/19/customize-external-web-tools-in-visual-studio-2015.aspx which relates to that. That seems like a good place to ask those questions.
—
Reply to this email directly or view it on GitHub.
from generator-aspnet.
@xtianus79 So are you satisfied with responses? Can we go and close this issues?
from generator-aspnet.
@peterblazejewicz Yes thanks.
from generator-aspnet.
Related Issues (20)
- Remove 'usersecrets` subgenerator for RC HOT 1
- Update Docker template content for 2017RC HOT 1
- Update global.json generator/template for VS2017 RC HOT 1
- How to create controller in vscode using yo HOT 2
- [Possible Bug] Can't seem to run Yeoman generate project on Heroku HOT 10
- Can find project.json inside of new project HOT 18
- Log off should be Logout in mvc template
- Cant project in visual studio HOT 2
- The target "Restore" does not exist in the project HOT 2
- The specified framework 'Microsoft.NETCore.App', version '1.0.4' was not found HOT 5
- Subgenerators are not available HOT 5
- Can not bundle Js and css file in aspcore/angular2 HOT 2
- How to install previous generators HOT 1
- Bower is deprecated HOT 3
- double '<' character in csproj files HOT 1
- Error when using --version-current HOT 2
- Upgrade project templates to .NET Core 2.0 HOT 2
- Can't install generator-aspnet
- Sematic UI template - Index.cshtml content still has "ASP.NET MVC 5" or "ASP.NET 6" naming reference HOT 1
- Deprecate generator-aspnet package HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-aspnet.