Why does visual studio think js file is a cs file?

Posted by divitiae on Stack Overflow See other posts from Stack Overflow or by divitiae
Published on 2010-05-25T17:35:22Z Indexed on 2010/05/25 17:41 UTC
Read the original article Hit count: 178

Filed under:
|

I have a ASP.NET solution in Visual Studio 2008 and I added a file identical to http://plugins.jquery.com/files/jquery.cookie.js.txt named jquery.cookie.js in a subfolder of my project containing other javascript files and Visual Studio is treating it as a C# file, giving me errors like CS1012: Too many characters in character literal and Semicolon after method or accesssor block is not valid.

Why?

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about visual