I'm new to VS 2003 so please bear with me... is there any way to build
(or compile, or just error-check) a C# file without it being part of a
project? In other words, to just build the Object defined in a .cs
file that is not in a project?
No. Classes must be declared inside of a namespace and namespaces must be
part of an assembly. In VS.NET the assembly is represented by the project.
Why not just create a Class Library project and include only your class that
you wish to build? That way, when you build this project, it will consist
of just your one class.
> I'm new to VS 2003 so please bear with me... is there any way to build
> (or compile, or just error-check) a C# file without it being part of a
> project? In other words, to just build the Object defined in a .cs
> file that is not in a project?