I am playing around with MVC and have started setting up an existing site we have built in standard .Net Forms.
I am only including a JS file and as all the requests are being routed via .Net it is trying to compile it.
It is the standard compilation error you would see with invalid c#:
CS1012: Too many characters in character literal
How do you prevent client assets being compiled?
Many thanks
I have resolved my problem. I had the script tag in my Master Page with a runat=’server’ in the declaration. This then made .NET try and compile the included JavaScript file?? I have done this quite happily in .NET 2.0 without problems.