[Mono-list] CS2008 : Can't dig to the source of the problem.

Vasili Sviridov vsviridov at exceede.com
Fri Oct 12 20:34:53 EDT 2007


Vasili Sviridov wrote:
> Joel Reed wrote:
>   
>> On Tue, Oct 09, 2007 at 04:27:30PM -0700, Vasili Sviridov wrote:
>>   
>>     
>>> Hello all,
>>>
>>> I have an apache server with mono installed and AutoHosting enabled.
>>>
>>> Despite having several successful tests with mono on my server most of 
>>> the time when I try to access an application I get following response 
>>> from the server
>>>
>>> ---
>>> Compilation Error
>>> Description: Error compiling a resource required to service this 
>>> request. Review your source file and modify it to fix this error.
>>> Error message:
>>> (0,0) : error CS2008: No files to compile were specified
>>> Source File:
>>>
>>> 10/9/2007 11:19:24 PM
>>> ---
>>>
>>> **Source file may contain only <%@ Page declaration and some text, no 
>>> other source code involved.
>>>     
>>>       
>> please post a small sample page / test case that demonstrates this problem. 
>>
>> jr
>>   
>>     
> Any default blank page the MSVS generates...
>
> ---
> <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" 
> Inherits="_Default" %>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
> <html xmlns="http://www.w3.org/1999/xhtml" >
> <head runat="server">
>     <title>Untitled Page</title>
> </head>
> <body>
>     <form id="form1" runat="server">
>     <div>
>    
>     </div>
>     </form>
> </body>
> </html>
> ---
>
> or default *.ashx handler... Anything, really...
>
> Is there a way to enable some kind of "more in-depth" logging for the 
> compiler or XSP process??
>
> Thanks.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>   
Looks like i've found the culprit. My App_Code folder contained .svn 
folder, apparently this breaks compilation. As soon as the .svn was 
removed everything started working fine.
Although this is not the best solution, as I want to have that folder 
under version control. Is there a way to tell the compiler to ignore ".svn"?

Thanks,
V.


More information about the Mono-list mailing list