Hello,

 

I just started using nant today.  I tried to search sourceforge.net’s mail archives for this group but I received broken link errors.  So I apologize (in advance) if this list answered this question already. 

 

I tried to overwrite a framework property (through the PROPERTY tag) and I’m getting an error because it’s a read only property (see below).

 

Ie.. <property name="nant.settings.defaultframework" value="net-1.1" dynamic="true" verbose="true"/>

 

I’m having this issue because I don’t have the .net 1.0 sdk and I need to change the default nant framework properties to use 1.1.

 

How are the default properties set and how can I change them?

 

Thanks!

 

 

 

C:\WORK\QA\BUILD>runBusinessLogic

NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003)

Copyright (C) 2001-2003 Gerry Shaw

http://nant.sourceforge.net

 

Buildfile: file:///C:/WORK/QA/BUILD/BusinessLogic.build

Target(s) specified: build

 [property] Read-only property 'nant.settings.defaultframework' cannot be overwr

itten.

     [echo] default framework to use is net-1.0

     [echo] Compiling Com.SmartBargains.Presentation.UI.dll

 

build:

 

      [vbc] Compiling 13 files to C:\WORK\QA\BUILD\Com.SmartBargains.Presentatio

n.UI.dll.

 

BUILD FAILED

 

C:\WORK\QA\BUILD\BusinessLogic.build(23,14):

[vbc] C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\vbc.exe failed to start.

 The system cannot find the file specified

 

Total time: 0.1 seconds.

 

C:\WORK\QA\BUILD>

Reply via email to