T4mvc for VB打破一切

时间:2013-04-12 09:21:03

标签: asp.net-mvc vb.net asp.net-mvc-4 t4mvc

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

我正在VB中开发一个新的MVC 4项目,它似乎打破了我的很多代码,任何想法如何修复这个我已经尝试在设置中更改MVC链接生成类的名称但它似乎仍然要制动我的很多代码它似乎主要是在运送的帐户控制器和一些微软命名空间,任何人都成功地在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    

1 个答案:

答案 0 :(得分:0)

请注意,VB版本并未与C#版本保持同步,因此它基于较旧版本的T4MVC。据我所知,它当时有效,但我自己没有使用它。

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