Asp.net mvc T4mvc for VB打破一切

Asp.net mvc T4mvc for VB打破一切,asp.net-mvc,vb.net,asp.net-mvc-4,t4mvc,Asp.net Mvc,Vb.net,Asp.net Mvc 4,T4mvc,我对T4MVC产生了一种不健康的依赖,因为它是一个非常棒的库,我在c#中使用了多年,从来没有遇到过太多问题 我正在用VB开发一个新的MVC4项目,它似乎破坏了我的很多代码,我已经尝试过在设置中更改MVC链接生成类的名称,但它似乎仍然阻止了我的许多代码,它似乎主要出现在附带的帐户控制器和一些microsoft命名空间上。有人在VB中成功地实现了这一点 Error 6 Type 'ContactsManager.Web.Mvc.LoginModel' is not defined. C:

我对T4MVC产生了一种不健康的依赖,因为它是一个非常棒的库,我在c#中使用了多年,从来没有遇到过太多问题

我正在用VB开发一个新的MVC4项目,它似乎破坏了我的很多代码,我已经尝试过在设置中更改MVC链接生成类的名称,但它似乎仍然阻止了我的许多代码,它似乎主要出现在附带的帐户控制器和一些microsoft命名空间上。有人在VB中成功地实现了这一点

Error   6   Type 'ContactsManager.Web.Mvc.LoginModel' is not defined.   C:\Users\Chris McGrath\Documents\Visual Studio 2012\Projects\LinqToNextbus\VBATeamAsignment2013\Assignment2-branch-natesh\ContactsManager.Web.Mvc\AccountController.generated.vb    148 56  ContactsManager.Web.Mvc

Error   7   Type 'ContactsManager.Web.Mvc.RegisterModel' is not defined.    C:\Users\Chris McGrath\Documents\Visual Studio 2012\Projects\LinqToNextbus\VBATeamAsignment2013\Assignment2-branch-natesh\ContactsManager.Web.Mvc\AccountController.generated.vb    165 59  ContactsManager.Web.Mvc

Error   8   Type 'ContactsManager.Web.Mvc.AccountController.ManageMessageId' is not defined.    C:\Users\Chris McGrath\Documents\Visual Studio 2012\Projects\LinqToNextbus\VBATeamAsignment2013\Assignment2-branch-natesh\ContactsManager.Web.Mvc\AccountController.generated.vb    178 59  ContactsManager.Web.Mvc

Error   9   Type 'ContactsManager.Web.Mvc.LocalPasswordModel' is not defined.   C:\Users\Chris McGrath\Documents\Visual Studio 2012\Projects\LinqToNextbus\VBATeamAsignment2013\Assignment2-branch-natesh\ContactsManager.Web.Mvc\AccountController.generated.vb    184 57  ContactsManager.Web.Mvc

Error   10  Type 'ContactsManager.Web.Mvc.RegisterExternalLoginModel' is not defined.   C:\Users\Chris McGrath\Documents\Visual Studio 2012\Projects\LinqToNextbus\VBATeamAsignment2013\Assignment2-branch-natesh\ContactsManager.Web.Mvc\AccountController.generated.vb    203 76  ContactsManager.Web.Mvc

Error   12  Type 'ContactsManager.Web.Mvc.ContactCreate' is not defined.    C:\Users\Chris McGrath\Documents\Visual Studio 2012\Projects\LinqToNextbus\VBATeamAsignment2013\Assignment2-branch-natesh\ContactsManager.Web.Mvc\ContactsController.generated.vb   260 53  ContactsManager.Web.Mvc

Error   13  Type 'ContactsManager.Lib.Models.Web.Address' is not defined.   C:\Users\Chris McGrath\Documents\Visual Studio 2012\Projects\LinqToNextbus\VBATeamAsignment2013\Assignment2-branch-natesh\ContactsManager.Web.Mvc\ContactsController.generated.vb   295 78  ContactsManager.Web.Mvc

Error   14  Type 'ContactsManager.Lib.Models.Web.Address' is not defined.   C:\Users\Chris McGrath\Documents\Visual Studio 2012\Projects\LinqToNextbus\VBATeamAsignment2013\Assignment2-branch-natesh\ContactsManager.Web.Mvc\ContactsController.generated.vb   309 104 ContactsManager.Web.Mvc

Error   15  Type 'ContactsManager.Lib.Models.Web.Email' is not defined. C:\Users\Chris McGrath\Documents\Visual Studio 2012\Projects\LinqToNextbus\VBATeamAsignment2013\Assignment2-branch-natesh\ContactsManager.Web.Mvc\ContactsController.generated.vb   330 76  ContactsManager.Web.Mvc

Error   16  Type 'ContactsManager.Lib.Models.Web.Email' is not defined. C:\Users\Chris McGrath\Documents\Visual Studio 2012\Projects\LinqToNextbus\VBATeamAsignment2013\Assignment2-branch-natesh\ContactsManager.Web.Mvc\ContactsController.generated.vb   344 102 ContactsManager.Web.Mvc

Error   17  Type 'ContactsManager.Lib.Models.Web.SocialNetwork' is not defined. C:\Users\Chris McGrath\Documents\Visual Studio 2012\Projects\LinqToNextbus\VBATeamAsignment2013\Assignment2-branch-natesh\ContactsManager.Web.Mvc\ContactsController.generated.vb   365 84  ContactsManager.Web.Mvc

Error   18  Type 'ContactsManager.Lib.Models.Web.SocialNetwork' is not defined. C:\Users\Chris McGrath\Documents\Visual Studio 2012\Projects\LinqToNextbus\VBATeamAsignment2013\Assignment2-branch-natesh\ContactsManager.Web.Mvc\ContactsController.generated.vb   379 110 ContactsManager.Web.Mvc

Error   19  Type 'ContactsManager.Lib.Models.Web.Phone' is not defined. C:\Users\Chris McGrath\Documents\Visual Studio 2012\Projects\LinqToNextbus\VBATeamAsignment2013\Assignment2-branch-natesh\ContactsManager.Web.Mvc\ContactsController.generated.vb   400 76  ContactsManager.Web.Mvc

Error   20  Type 'ContactsManager.Lib.Models.Web.Phone' is not defined. C:\Users\Chris McGrath\Documents\Visual Studio 2012\Projects\LinqToNextbus\VBATeamAsignment2013\Assignment2-branch-natesh\ContactsManager.Web.Mvc\ContactsController.generated.vb   414 102 ContactsManager.Web.Mvc

Error   21  Type 'ContactsManager.Lib.Models.Web.Url' is not defined.   C:\Users\Chris McGrath\Documents\Visual Studio 2012\Projects\LinqToNextbus\VBATeamAsignment2013\Assignment2-branch-natesh\ContactsManager.Web.Mvc\ContactsController.generated.vb   435 78  ContactsManager.Web.Mvc

Error   22  Type 'ContactsManager.Lib.Models.Web.Url' is not defined.   C:\Users\Chris McGrath\Documents\Visual Studio 2012\Projects\LinqToNextbus\VBATeamAsignment2013\Assignment2-branch-natesh\ContactsManager.Web.Mvc\ContactsController.generated.vb   449 104 ContactsManager.Web.Mvc

Error   27  Identifier expected.    C:\Users\Chris McGrath\Documents\Visual Studio 2012\Projects\LinqToNextbus\VBATeamAsignment2013\Assignment2-branch-natesh\ContactsManager.Web.Mvc\SharedController.generated.vb 38  30  ContactsManager.Web.Mvc

Error   32  Unable to load referenced library 'C:\Users\Chris McGrath\Documents\Visual Studio 2012\Projects\LinqToNextbus\VBATeamAsignment2013\Assignment2-branch-natesh\ContactsManager.Web.Mvc\Bin\Mono.Math.dll': The system cannot find the file specified. 

Error   33  Unable to load referenced library 'C:\Users\Chris McGrath\Documents\Visual Studio 2012\Projects\LinqToNextbus\VBATeamAsignment2013\Assignment2-branch-natesh\ContactsManager.Web.Mvc\Bin\Mono.Math.dll': The system cannot find the file specified. C:\Users\Chris McGrath\Documents\Visual Studio 2012\Projects\LinqToNextbus\VBATeamAsignment2013\Assignment2-branch-natesh\ContactsManager.Web.Mvc\Bin\Mono.Math.dll 

Error   34  Unable to load referenced library 'C:\Users\Chris McGrath\Documents\Visual Studio 2012\Projects\LinqToNextbus\VBATeamAsignment2013\Assignment2-branch-natesh\ContactsManager.Web.Mvc\Bin\Org.Mentalis.Security.Cryptography.dll': The system cannot find the file specified.    

Error   35  Unable to load referenced library 'C:\Users\Chris McGrath\Documents\Visual Studio 2012\Projects\LinqToNextbus\VBATeamAsignment2013\Assignment2-branch-natesh\ContactsManager.Web.Mvc\Bin\Org.Mentalis.Security.Cryptography.dll': The system cannot find the file specified.    C:\Users\Chris McGrath\Documents\Visual Studio 2012\Projects\LinqToNextbus\VBATeamAsignment2013\Assignment2-branch-natesh\ContactsManager.Web.Mvc\Bin\Org.Mentalis.Security.Cryptography.dll    

请注意,VB版本没有与C#版本保持同步,因此它基于更旧的T4MVC版本。据我所知,它在那个时候起作用了,但我自己还没用过


理想情况下,我们需要有人拥有并维护它,但对VB的需求有限。

是的,当我查看代码和设置文件时,我觉得它看起来有点过时了。感谢您提供的信息,虽然它只是一个学校项目,但我认为一个项目可以没有它