We are recieving the following error in our mobile web projects:
Keyword, identifier, or string expected after verbatim specifier: @
Simply saving the page causes this error to go away, but there are no changes to the page actually made. If you close the page the error comes back, if you close and re-open the solution the error comes back.
I?m at a complete loss as to why this happens, and it is causing us some great pain in our current project. Any help would be greatly appreciated.
I have finally got the minimum steps (at least what I see as minimum) to reproduce the issue.
1) Mobile Web Site
a. Create a new WebSite
b. Remove the default.aspx
c. Add a mobile web.config
d. Add a mobile webform
2) Mobile Web Application
a. Create a new Web Application
b. Remove the default.aspx
c. Remove the web.config
d. Add the mobile WebForm and Web.Config created in the Mobile Web Site to the Mobile Web Application project
e. Right click on the default.aspx page and choose Convert to Web Application.
f. Change the default.aspx Build Action to compile
g. Attempt to build the web application
Upon building the web application you receive the error mentioned above.
Thanks
Wayne