Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Project file expected at <path>.

What does this mean and how do I solve it?

Thanks,

Sachin

like image 989
Sachin Kainth Avatar asked Jul 25 '12 10:07

Sachin Kainth


1 Answers

Are you using ReSharper? If so, it may be due to this issue: 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'.

like image 152
Ian Newson Avatar answered Sep 23 '22 20:09

Ian Newson