473,785 Members | 2,220 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2867
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.co m

"Me" <il***@igsoftwa resolutions.co. uk> wrote in message
news:11******** **************@ i40g2000cwc.goo glegroups.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.a t> wrote in message
news:%2******** ********@TK2MSF TNGP03.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1578
by: hoochiegooch | last post by:
Hi, all. I have a couple of questions about NAnt. 1. Is there a better way to invoke NAnt from a C# "Master Test Rig" than shelling out? IOW, how should an ASP.NET web app or Windows Service kick off a NAnt build session? 2. We have some test tools that can
0
2108
by: muesliflakes | last post by:
I have figured out how to get this running by using Ant.Console as a starting point for calling NAnt. I had to include NAnt.Core, NAnt.DotNet & NDoc.Core in my project and it worked correctly. But, since I already have NAnt installed on my system, I was hoping that I would not need to include references to NAnt.Core, NAnt.DotNet & NDoc.Core I removed the references and set my path environment varible to point at the NAnt\bin folder...
2
2499
by: Ireneus Broncel | last post by:
Maybe I am wrong here, but I have a problem with nant that I don't unterstand, I'm trying to compile an example ConsoleApp Project with net-1.1, and get the errror: log4net:ERROR LogLog: Exception while reading ConfigurationSettings. Check your .config file is well formed XML. System.Configuration.ConfigurationException: Unknown configuration section appSettings (c:\Development\NET\Tools\nant-0.85-rc3\bin\nant.exe.config line 8) at
3
4266
by: prabhupr | last post by:
Hi Folks Not sure if this is the right group, if not please re-direct me to the right one. Here is my question =============== When I compile my ASP.NET WEB project from VS 2005 (.NET Framework 2.0) IDE, it works fine, but if I use NANT (Build Automation) it gives me an error as follows:
4
2616
by: SenthilVel | last post by:
Hi I am in a conversion project of Code from .Net 1.1 -->.Net 2.0 . 1. I am going to build all my projects with NAnt RC4 version and also with VS2005 to check the affected Areas. 2. I have both the Versions of my code in my machine, 1.1 and 2.0. 3. My requirement is to use NAnt RC4 version for building both my 1.1 and 2.0 code ad RC4 supports both. 4. I am able to Build both the 1.1 and 2.0 code with NAnt RC4.
12
18809
by: michael sorens | last post by:
So I have compiled a .dll file from a Visual Studio 2005 project containing a few dozen c# files. Now I want to automate this build using ant (have not yet looked at nant, but the rest of my complex build is done with plain ant). Could someone point me to any tutorial or other guide for doing this? I would even settle for just how to do it from a command-line.
3
5298
by: con.brady | last post by:
Hi Folks, Disclaimer: I apologize if this is the wrong place for this type of question, but if so, I don't know where the right place is and I'd be very grateful if someone could point me in the right direction. Question:
0
2120
by: james.mcdonagh | last post by:
Hi I am a newbie using nAnt for .net 2.0. As such I have not come across this bug before, and I would be happy of any help that you may be able to provide. In order to help I have included the nant file which is causing the problem, the object code that is not being built and the error message which is being produced. The weird thing is that VS.net builds without a problem. And the intellisense within the object WorkQueue knows that...
1
6181
by: jamesmcdonagh | last post by:
Hi newbie using nAnt for .net 2.0. I would be happy of any help that you may be able to provide. The weird thing is that VS.net builds without a problem. And the intellisense within the object WorkQueue knows that Master is referring to the PanelManager reference. nant file ------------------------------------------------------------------------------------------------------------------- <?xml version="1.0" encoding="utf-8"?>...
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9959
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8988
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7509
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5396
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5528
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2893
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.