Re: Is a custom project hierarchy possible for C# projects?
From: Nicholas Paldino [.NET/C# MVP] (mvp_at_spam.guard.caspershouse.com)
Date: 03/07/05
- Next message: Michael Voss: "Re: Percentage Progessbar"
- Previous message: Daniel Perron: "The 10 minutes Windows Forms Tutorial"
- In reply to: SpookyET: "Re: Is a custom project hierarchy possible for C# projects?"
- Next in thread: SpookyET: "Re: Is a custom project hierarchy possible for C# projects?"
- Reply: SpookyET: "Re: Is a custom project hierarchy possible for C# projects?"
- Reply: SpookyET: "Re: Is a custom project hierarchy possible for C# projects?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 7 Mar 2005 11:18:19 -0500
SpookyET,
I understand what you are saying now, and no, you can not decouple the
source and the project file in this manner. The best you could have is the
project file in a directory that is a parent directory of where the source
is.
Also, the VS.NET build system IS MSBUILD for VS.NET 2005, and for the
Express Editions (I believe, since they are locked down versions of VS.NET
2005).
And yes, project files in VS.NET 2005 (and the Express Editions) are
MSBUILD files.
I wouldn't expect the URL for the schema in the file to work either,
since the namespace definition doesn't have to necessarily point to a valid
resource, it just serves as a unique identifier.
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
"SpookyET" <not4_u@hotmail.com> wrote in message
news:op.sm9y9qi11s9n15@saturn...
> Mr. Paldino,
>
> Starting with a blank solution does not help. Visual Studio wants source
> files coupled with .csproj files. The file hierarchy that I want
> decouples the project files from the source code and also have them under
> different root directories.
> This is how VS wants its directories.
> /Foo
> /Foo/Foo.csproj
> /Foo/Foo.cs
> /Foo/Bar/
> /Foo/Bar/Bar.cs
>
> Obviously, the hierarchy that I want goes against it. MSBUILD does not
> care where your files reside on disk. This is a Visual Studio problem.
> Also, the schemas that define the MSBuild tags in the .NET directory do
> not define the VS project files. MSBuild allows you to have additional
> tags that you define like <AppDesigner> that are useful for other tools,
> which it ignores. However, those schemas are missing. The URL for the
> .csproj "http://schemas.microsoft.com/developer/msbuild/2003" returns 404.
>
> PS: You don't have to modify the master files to change something. You
> can overwrite settings in your project files. It works like CSS.
>
> On Mon, 07 Mar 2005 09:50:14 -0500, Nicholas Paldino [.NET/C# MVP]
> <mvp@spam.guard.caspershouse.com> wrote:
>
>> SpookyET,
>>
>> Have yout tried starting with a blank project/solution, and then
>> adding
>> things to that? It's much easier to get the structure you need by doing
>> that.
>>
>> Also, I believe you should be able to create directories in your sub
>> projects like you want, and place your source files in those sub
>> directories.
>>
>> As for the obj files, you will have to go into the project file and
>> modify it yourself to do that. The Express edition should be using the
>> MSBUILD system in order to compile the project. However, it probably
>> will
>> require you to go to the master build files on the system (they are in
>> the
>> .NET install directory) and change those, or replicate the tasks in your
>> project file.
>>
>> Hope this helps.
>>
>>
>
>
>
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
- Next message: Michael Voss: "Re: Percentage Progessbar"
- Previous message: Daniel Perron: "The 10 minutes Windows Forms Tutorial"
- In reply to: SpookyET: "Re: Is a custom project hierarchy possible for C# projects?"
- Next in thread: SpookyET: "Re: Is a custom project hierarchy possible for C# projects?"
- Reply: SpookyET: "Re: Is a custom project hierarchy possible for C# projects?"
- Reply: SpookyET: "Re: Is a custom project hierarchy possible for C# projects?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|