从我的 VS2010 解决方案中删除 T4MVC
我对 VS2010 非常陌生,所以这更多是关于使用 Visual Studio 2010 而不是 T4MVC 的问题。
不管怎样,我想从我的解决方案中删除 T4MVC,所以我从根目录中删除了这两个文件。但是,当我重建和调试解决方案时,我仍然看到与 T4MVC.tt 相关的编译警告。我在这里缺少哪一步?提前致谢!
I'm very new to VS2010, so this is more a question about using Visual Studio 2010 than T4MVC.
Anyway, I wanted to remove T4MVC from my solution, so I deleted the two files from my root directory. However, when I rebuild and debug my solution, I still see compilation warnings associated with T4MVC.tt. What step am I missing here? Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要确保从 Visual Studio 而不是从资源管理器中删除这两个文件(也许这就是您已经在做的事情?)。这样,它不仅会删除 t4mvc.tt,还会删除其下所有生成的文件。
这应该就是删除 T4MVC 所需的全部操作。如果这不起作用,您可以用有关您看到的特定警告的更多详细信息来更新您的问题吗?另外,您是在一个全新的项目上还是仅在一些更复杂的项目上看到这个问题?
You need to make sure that you delete the two files from Visual Studio and not from the explorer (maybe that's what you;re doing already?). This way, it not only deletes t4mvc.tt, but also all the generated files that are under it.
That should be all it takes to remove T4MVC. If that doesn't do it, can you update your question with more details about the specific warnings you're seeing? Also, do you see this issue on a brand new project, or only on some more complex project?