ASP.NET MVC を使用してアプリケーションを構築しています。足場が失敗していますが、失敗した理由に関する出力が表示されません。
PM> get-scaffolder
Name Description Package
---- ----------- -------
T4Scaffolding.CustomScaffolder Creates an entirely new scaffolder with a PS1 script and a T4 template T4Scaffolding.Core.VS2015 1...
T4Scaffolding.CustomTemplate Allows you to modify the T4 template rendered by a scaffolder T4Scaffolding.Core.VS2015 1...
BasicModel Starts at the Model and Scaffolds everything needed to get the model displayed
Controller Enter a description of Controller here
ControllerUnitTest Enter a description of ControllerUnitTest here
Core Enter a description of Core here
EmptyModel Scaffold an empty Model
Module Creates default module controller, service, model, view model and views
Service Enter a description of Service here
ServiceUnitTest Enter a description of ServiceUnitTest here
Validator Enter a description of Validator here
ValidatorUnitTest Enter a description of ValidatorUnitTest here
ViewModel Enter a description of ViewModel here
PM> Scaffold CustomScaffolder BlankCanvas
PM> Scaffold CustomScaffolder BlankCanvas -Verbose
Found template 'DefaultPs1Script' at 'C:\Users\R\Source\Repos\Chase Nexus\packages\T4Scaffolding.Core.VS2015.1.0.3\tools\CustomScaffolder\DefaultPs1Script.ps1.t4'
Found template 'DefaultT4Template' at 'C:\Users\R\Source\Repos\Chase Nexus\packages\T4Scaffolding.Core.VS2015.1.0.3\tools\CustomScaffolder\DefaultT4Template.cs.t4'
PM>
昨夜しばらくは動いていたのですが、今朝起動したらまた壊れていました。以前、T4Scaffolding.Core.VS2015 パッケージをアンインストールしました。これは、使用しているスキャフォールディングを提供する NuGet パッケージです。同じ足場が私の同僚のマシンでも完璧に機能します。
この時点で、どの scaffolder を使用しようとしても、出力は同じです。エラーは表示されませんが、必要なファイルも作成されません。
私が使用している: Visual Studio Enterprise 2015、Microsoft.AspNet.Mvc 5.2.3、EntityFramework 6.1.3