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.'
任何帮助,将不胜感激..