Code Monkey home page Code Monkey logo

Comments (17)

peterblazejewicz avatar peterblazejewicz commented on June 11, 2024

@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.

xtianus79 avatar xtianus79 commented on June 11, 2024

@peterblazejewicz I would like to have the template for C# web Starter Web... is that possible?

from generator-aspnet.

xtianus79 avatar xtianus79 commented on June 11, 2024

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.

spboyer avatar spboyer commented on June 11, 2024

@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.

xtianus79 avatar xtianus79 commented on June 11, 2024

@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.

xtianus79 avatar xtianus79 commented on June 11, 2024

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.

spboyer avatar spboyer commented on June 11, 2024

@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.

xtianus79 avatar xtianus79 commented on June 11, 2024

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.

xtianus79 avatar xtianus79 commented on June 11, 2024

so is this possible?

from generator-aspnet.

sayedihashimi avatar sayedihashimi commented on June 11, 2024

@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.

xtianus79 avatar xtianus79 commented on June 11, 2024

@sayedihashimi thanks for the reply. 2 things.

  1. 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?

  1. is there an official way to change this to use the node that is installed globally on the system?

from generator-aspnet.

xtianus79 avatar xtianus79 commented on June 11, 2024

@sayedihashimi

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.

xtianus79 avatar xtianus79 commented on June 11, 2024

@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.

sayedihashimi avatar sayedihashimi commented on June 11, 2024

@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.

xtianus79 avatar xtianus79 commented on June 11, 2024

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.

peterblazejewicz avatar peterblazejewicz commented on June 11, 2024

@xtianus79 So are you satisfied with responses? Can we go and close this issues?

from generator-aspnet.

xtianus79 avatar xtianus79 commented on June 11, 2024

@peterblazejewicz Yes thanks.

from generator-aspnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.