Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
214 views
in Technique[技术] by (71.8m points)

javascript - 项目文件预计在(Project file expected at)

I have this line in my code

(我的代码中有这一行)

<script src="@Url.Content("~/Scripts/jquery-1.7.2.min.js")" type="text/javascript"> </script>

and this part of it

(而这部分)

jquery-1.7.2.min.js

gets highlighted by Visual Studio with the error

(被Visual Studio突出显示并显示错误)

Project file expected at <path> .

(项目文件应位于<path> 。)

What does this mean and how do I solve it?

(这是什么意思,我该如何解决?)

Thanks,

(谢谢,)

Sachin

(萨钦)

  ask by Sachin Kainth translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Are you using ReSharper?

(您在使用ReSharper吗?)

If so, it may be due to this issue: http://devnet.jetbrains.com/thread/287081

(如果是这样,则可能是由于此问题引起的: http : //devnet.jetbrains.com/thread/287081)

In summary, make sure the jquery file is actually included in the project by right clicking it in solution explorer and selecting 'Include in project'.

(总之,通过在解决方案资源管理器中右键单击jquery文件并选择“包含在项目中”,确保将jquery文件实际包含在项目中。)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...