Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Building Web site : Some folders are ignored...Why ??

Reply
 
Old 04-17-2008   #1 (permalink)
alqui


 
 

Building Web site : Some folders are ignored...Why ??

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.




My System SpecsSystem Spec
Old 04-18-2008   #2 (permalink)
alqui


 
 

Re: Building Web site : Some folders are ignored...Why ??

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" <alqui@xxxxxx> a écrit dans le message de news:
O78JCfLoIHA.4672@xxxxxx...
Quote:

> 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.
>
>
>

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Building a PC Gaming
Building your own Rig General Discussion
Site forum site vista tutorials do not play General Discussion
Vista seems to have messed up my web building site Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46