Project file expected in

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

Visual Studio is highlighted with an error

The project file is expected in <path>.

What does this mean and how to solve it?

Thank,

Sechin

+5
source share
1 answer

Do you use ReSharper? If so, this may be due to this problem: http://devnet.jetbrains.com/thread/287081

In conclusion, make sure that the jquery file is actually included in the project by right-clicking on it in the solution explorer and selecting "Include in project".

+10
source

All Articles