Building Web site : Some folders are ignored...Why ??
am 17.04.2008 20:20:54 von alqui
Hi, I'm actually trying to resolve a simple problem. I'm trying to build my
Web site. The structure of the Web site looks like that :
/Element
/Element/App_Code
/Element/Admin
/Element/Modules
/UserControls
There are aspx pages in every folders except /UserControls where all my ascx
files are.
When I build my web site, this is what I get :
Validating Web Site
Building directory '/Element/App_Code/
Building directory 'Element/Modules/
Validation Complete
Why my other folders are not validated? I have files in every folders and I
know there are errors in those files but the compiler doesn't give me any
errors.
Note :
Visual Studio 2008 Standard Edition
Windows XP Professionnal
It's a Web Site ...not a Web Application
Thank you very much... I tried to find solution over the net for the past
few days and still got nothing.
Re: Building Web site : Some folders are ignored...Why ??
am 18.04.2008 14:16:48 von alqui
Finally I resolved my problem. This is probably a unknown or known bug of
VIsual Studio 2008 so I will probably send a bug report to Microsoft also.
The problem was in one of my ascx file. The Inherits tag name wasn't
pointing on a valid class... Example :
Inherits="Some_UserControl_Class_Name"
and the .cs file was like this Som_UserControl_Class_Name :
System.Web.UI.UserControl.
When I tried to publish my Web site, I received the error about the wrong
class name. But if I only build my web site, everything looks fine, the
only thing is that the compiler stops building exactly where the file in
error was located.
"alqui" a écrit dans le message de news:
O78JCfLoIHA.4672@TK2MSFTNGP05.phx.gbl...
> Hi, I'm actually trying to resolve a simple problem. I'm trying to build
> my Web site. The structure of the Web site looks like that :
>
> /Element
> /Element/App_Code
> /Element/Admin
> /Element/Modules
> /UserControls
>
> There are aspx pages in every folders except /UserControls where all my
> ascx files are.
>
> When I build my web site, this is what I get :
>
> Validating Web Site
> Building directory '/Element/App_Code/
> Building directory 'Element/Modules/
> Validation Complete
>
> Why my other folders are not validated? I have files in every folders and
> I know there are errors in those files but the compiler doesn't give me
> any errors.
>
> Note :
> Visual Studio 2008 Standard Edition
> Windows XP Professionnal
> It's a Web Site ...not a Web Application
>
> Thank you very much... I tried to find solution over the net for the past
> few days and still got nothing.
>
>
>