English 中文(简体)
App_GlobalResourcesbreak in ASP. NET MVC 2 and VS 2010?
原标题:App_GlobalResources broken in ASP.NET MVC 2 and VS 2010?

一天!

我已在<代码>App_GlobalResources上安装了VS 2010快递和资源文档。 未编入严格分类的<代码>Resources类别。 更具体地说,没有再产生法典。

我用我的MVC项目(从MVC 1.0和VS2008年更新)和空白伙伴关系进行了测试。 NET MVC 2.0项目,由VS生成,并出现差错(即使试图通过右边的点菜单手操作代码生成):

Cannot find custom tool ‘GlobalResourceProxyGenerator’ on this system.

When I change custom tool to PublicResXFileCodeGenerator like suggested here: http://odetocode.com/blogs/scott/archive/2009/07/15/resource-files-and-asp-net-mvc-projects.aspx

这些班级的产生。

The App_GlobalResourcesworking for Web Forms projects on the same organVS.

我是否应当不使用<代码>App_GlobalResources 用于MVC?

感谢!

最佳回答
问题回答

暂无回答




相关问题
building .net applications without Visual Studio

I m interested to hear about people working with building .net applications using MSBuild, NAnt or similar tools. What are you using, why are you using it instead of the VS IDE? I like to use ...

Tips for debugging a made-for-linux application on windows?

I m trying to find the source of a bug I have found in an open-source application. I have managed to get a build up and running on my Windows machine, but I m having trouble finding the spot in the ...

Visual Studio 2010 Beta 2: Can I print in color?

I have to turn in a hard copy of some code with an assignment. Is there any way in Visual Studio 2010 to print C# source code with syntax highlighting? PS: The assignment is solving a math problem, ...

Set Select command in code

On button Click I want to Set the Select command of a Gridview. I do this and then databind the grid but it doesn t work. What am i doing wrong? protected void bttnView_Click(object sender, ...

WPF design-time context menu

I am trying to create a custom wpf control, I m wondering how I can add some design-time features. I ve googled and can t seem to get to my goal. So here s my simple question, how can I add an entry ...

热门标签