ASP.NET Web表单项目与VS2012 RC创建不能在VS2012 RTM运行 [英] ASP.NET Webforms Project created with VS2012 RC does not run in VS2012 RTM

查看:102
本文介绍了ASP.NET Web表单项目与VS2012 RC创建不能在VS2012 RTM运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用的是RC版的Visual Studio 2012中创建ASP.NET Web表单的项目,我故意把项目模板的.Net和的4.0版本的VS2012发布之后,以避免并发症的发生。

I used the RC version of Visual Studio 2012 to create an ASP.NET Webforms project and I intentionally took the 4.0 version of .Net and of the project template to avoid complications after the release of VS2012.

现在我反正碰到的问题,就是揭示了以下错误消息:

Now I anyway bumped into the problem, that is revealed in the following error message:

'jquery' is not a valid script name.  The name must end in '.js'. 

正如我注意到在参考文献中,以下程序集引用被打破:

As I noticed in the references, following assembly references are broken:

  • Microsoft.ScriptManager.jQuery
  • Microsoft.ScriptManager.jQuery.UI.Component
  • System.Web.Providers

我试图重新安装的jQuery使用的NuGet但没有找到这些程序集。 如果我现在就创建在Visual Studio 2012年新的.NET 4.0 ASP.NET Web表单项目中,我得到了很多新的引用不属于present我目前(最初在RC版本中创建,现在在VS2012 RTM开业) ,如:

I tried to re-install jQuery using NuGet but did not find these assemblies. If I now create a new .Net 4.0 ASP.NET Webforms project in Visual Studio 2012 I get a lot of new references which are not present in my current (originally created in the RC-version, now opened in VS2012 RTM), like:

  • AspNet.ScriptManager.jQuery
  • AspNet.ScriptManager.jQuery.UI.Combined

但我无法找到他们的参考来源之一,如果我尝试添加一个新的我原来的项目。

but I can't find them among reference sources if I try to add a new reference to my original project.

我怎样才能使在VS2012我的应用程序可运行?

How can I make my application runnable in VS2012?

推荐答案

体检套餐

AspNet.ScriptManager.jQuery.1.7.1
AspNet.ScriptManager.jQuery.UI.Combined.1.8.20

请确保以下的dll都在lib文件夹

make sure the following dlls are in the lib folder

AspNet.ScriptManager.jQuery.dll
AspNet.ScriptManager.jQuery.UI.Combined.dll

和检查引用您的项目,以确保所有的引用都被解析。

And check the reference in your project to make sure all references are resolved.

有时候,dll文件并没有加入到源代码控制,当你做一个获取最新从源头上控制这两个dll文件丢失。

Sometimes, the dlls didn't added to the source control and when you do a get latest from the source control these two dlls are missing.

这篇关于ASP.NET Web表单项目与VS2012 RC创建不能在VS2012 RTM运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆