マイブーム@技術と生活

仕事や生活に関わる技術的なことを記述します。

開発プロジェクトのひな型作成

参考: http://michaelcrump.net/creating-and-debugging-console-apps-with-vscode/

 

【インストール】

参考: http://yeoman.io/learning/index.html

npm を使うために Node.js コマンドプロンプトから
① YEOMAN インストール
    npm install -g yo bower grunt-cli gulp
ASP.NET ジェネレータのインストール
    npm install -g generator-aspnet


参考: https://azure.microsoft.com/ja-jp/documentation/articles/web-sites-create-web-app-using-vscode/

Win コマンドプロンプトから
① DNVM (.NET Version Manager) インストール
    @powershell -NoProfile ...
② DNX (.NET Execution Environment) ダウンロード
    dnvm upgrade

MySQL のアプリケーションパスが原因で、Node.js コマンドプロンプトのパス設定が失敗していると思われる。なので、Win コマンドプロンプトから

 

【プロジェクト作成】

Node.js コマンドプロンプトから
yo aspnet

f:id:sato7411:20151129182020p:plain

 

【ビルド】

Win コマンドプロンプトから
dnu restore
dnu build
dnx ConsoleApplication

  

【参考・その他】

Building Projects with Yeoman
http://docs.asp.net/en/latest/client-side/yeoman.html
Visual Studio Code を使ってUbuntuC# コンソールアプリをデバッグhttp://troushoo.blog.fc2.com/blog-entry-248.html