0
我嘗試在mac上使用「Microsoft.Extensions.CodeGenerators.Mvc」:「1.0.0-rc1-final」上的visual studio代碼使用dnx腳手架模板,並添加了「gen」命令使用「Microsoft.Extensions.CodeGeneration」。但似乎不順利後,我在終端上鍵入:aspnet核心dnx MVC腳手架
DNX根控制器-name HelloController中
我得到了以下錯誤:
Finding the generator 'controller'...
Running the generator 'controller'...
There was an error running the template /Users/tebe/.dnx/packages/Microsoft.Extensions.CodeGenerators.Mvc/1.0.0-rc1-
final/Templates/ControllerGenerator/EmptyController.cshtml: Template Processing
Failed:error CS0041: Unexpected error writing debug information
-- 'Operation is not supported on this platform.'
任何幫助,將不勝感激..