I get following error message:
Description: An error occurred during the compilation of a resource
required to service this request. Please review the following specific
error details and modify your source code appropriately.
Compiler Error Message: CS1002: ; expected
It is obviously a standard compile error, but I get it from IIS not
from Visual Studio.
I created another web service solution and everything works fine there
(build realy does the syntax control). I compared the property
settings for this and the broken solution but I didn't find any
difference. The only difference is, that the build in the corrupted
solution outputs only:
------ Build started: Project: S:\...\MyWebService\, Configuration:
Debug .NET ------
Validating Web Site
Validation Complete
========== Build: 2 succeeded or up-to-date, 0 failed, 0 skipped
==========
Building the working solution outputs:
------ Build started: Project: C:\...\MyWebService\, Configuration:
Debug .NET ------
Validating Web Site
Building directory '/MyWebService/'.
Validation Complete
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped
==========
It looks like VS is ignoring the webservice directory, but I' m not
able to find anything relevant in settings.
Another difference is that the corrupted solution is placed on drive S:
which is just subst for some directory on C:. I thougt that might be
the reason, but new web service solution created on this virtual drive
was also working...