Nicholas,
I've got about 40 files which make up my solution. After conversion to 2005,
all of them are in the main solution directory. The conversion just put this
one file (Utils class) in the APP_CODE directory, I believe because it is
just a standalone class. In this standalone class (Utils) in the APP_CODE
directory, I'm declaring an object of a class (WelcomeToPFP) which is one of
the files in the main solution directory. I'm thinking it would not be the
correct thing to do to move it (WelcomeToPFP) into the APP_CODE directory
because it would probably create many more compile errors. I just need a way
(syntax) to let this Utils class in the APP_CODE directory see the
'WelcomeToPFP' class in the main solution directory. But I'm not sure of the
syntax to do this.
Thanks
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote in
message news:OF**************@TK2MSFTNGP06.phx.gbl...
Randy,
Why not move the code file from the main directory to the APP_CODE
directory as well?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Randy" <te**@temp.comwrote in message
news:u$**************@TK2MSFTNGP02.phx.gbl...
>I've converted a VS 2003 project to VS 2005. I have one utility class
that it put in the APP_CODE directory. When I try and compile I'm getting
this error...
Error 1 The type or namespace name 'WelcomeToPFP' could not be found (are
you missing a using directive or an assembly reference?)
C:\Inetpub\wwwroot\PFPApp\App_Code\Utils.cs 19 9
WelcomeToPFP is a class defined in the root directory of the solution.
My question is...I'm drawing a blank as to how to let this Utils class in
the APP_CODE directory know about the WelcomeToPFP class out in the main
solution directory...what is the syntax to correct this?
Thanks
Randy