468,310 Members | 1,380 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,310 developers. It's quick & easy.

nant question?

Me
I have a simple solution file which I am looking to build using Nant

However this is written in .net 2.0 and when I try building this .net
2.0, I get an error message saying "Microsoft Visual Studio.NET 2005
solutions are not supported."

Does nant not support building .net projects?

Many thanks

May 25 '06 #1
3 2672
Well, nant probably used to parse the old project file. However, for
..NET 2.0, VS.NET project files have changed to be MSBUILD project files,
with a completely different (XML) structure. The old structure was not XML,
from what I recall.

I don't know if there is a conversion program for NANT to MSBUILD (or
vice versa), but you might want to look. Of course, custom build tasks are
probably not going to map well.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Me" <il***@igsoftwaresolutions.co.uk> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
I have a simple solution file which I am looking to build using Nant

However this is written in .net 2.0 and when I try building this .net
2.0, I get an error message saying "Microsoft Visual Studio.NET 2005
solutions are not supported."

Does nant not support building .net projects?

Many thanks

May 25 '06 #2
Me wrote:
I have a simple solution file which I am looking to build using Nant

However this is written in .net 2.0 and when I try building this .net
2.0, I get an error message saying "Microsoft Visual Studio.NET 2005
solutions are not supported."

Does nant not support building .net projects?


No it doesn't support building VS2005 solutions directly. Take a look at
the exec task. You can use it to execute devenv.exe directly with some
command line arguments. I haven't tried that with VS2005 yet, but we use
it with VS2003 (instead of the solution task) and it works fine.

hth,
Max
May 25 '06 #3
We're using nant to invoke msbuild rather than devenv.

-Brian
"Markus Stoeger" <sp******@gmx.at> wrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
Me wrote:
I have a simple solution file which I am looking to build using Nant

However this is written in .net 2.0 and when I try building this .net
2.0, I get an error message saying "Microsoft Visual Studio.NET 2005
solutions are not supported."

Does nant not support building .net projects?


No it doesn't support building VS2005 solutions directly. Take a look at
the exec task. You can use it to execute devenv.exe directly with some
command line arguments. I haven't tried that with VS2005 yet, but we use
it with VS2003 (instead of the solution task) and it works fine.

hth,
Max

May 26 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by hoochiegooch | last post: by
reply views Thread by muesliflakes | last post: by
2 posts views Thread by Ireneus Broncel | last post: by
3 posts views Thread by prabhupr | last post: by
4 posts views Thread by SenthilVel | last post: by
12 posts views Thread by michael sorens | last post: by
3 posts views Thread by con.brady | last post: by
reply views Thread by james.mcdonagh | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.