On Mar 14, 11:55 pm, Balaji S <[email protected]> wrote:
> Hi,
>
> I am developeing a application in ASP.Net using Visual Studio 2008 and .Net
> Framework 3.5 and using page centric architecture. I am unable to compile
> the site, because some of the files shows reference was not found (those
> files are "include" files. so the main/top file has all references). Please
> help me to build and publish the site.
>
You need to do the following:
1. Set up a project. The first project will also establish a
Solution,
encapsulated in an ASCII coded .sln file. Perhaps you've
already done this.
2. For each project, add references as needed. Right click
on references and select "Add Reference". You should
be able to compile each individual project before moving
forward.
If you think your problem is *order of compilation*, then I would
suggest you re-compiile each project in whatever order
is appropriate, and then re-compile each project a second
time. The second time through should resolve any
references which weren't up to date in the first
compilation. (Does this make sense? That is,
do you understand what I'm saying?)
You can compile a specific project inside Visual Studio
by selecting it in the Solution Explorer pane. The
Build menu choice will show that project as well
as the entire solution as separate choices for
build items.
Finally, you mention "include" files. These don't
exist in C#. Are you working on a VC++ project?
The C# equivalent are *using* statements which
add namespace references which include families
of classes. In order for a using statement to
work, you do have to include its assembly
in the list of references.
If I didn't cover your question, please elaborate,
and let's see what I or anyone else can suggest.
Jim