Bugs item #755820, was opened at 2003-06-17 10:24
Message generated for change (Comment added) made by woodybx
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=755820&group_id=31650

Category: Tasks
Group: unknown
Status: Open
Resolution: None
Priority: 5
Submitted By: Ian MacLean (ianm74)
Assigned to: Nobody/Anonymous (nobody)
Summary: <Solution> incorrectly matches framework

Initial Comment:
&#039;m trying to figure out the following problem. I&#039;m
using the new <solution> task from the daily build of
20030605 to build a project that&#039;s perfectly building
in Visual Studio on the same machine. I&#039;m using Visual
Studio.NET 2003 and the .NET Framework 1.1 on Windows
2000 Server. The .NET Framework 1.0 is also installed.

Using NAnt I&#039;m getting the following error: error
CS0117: &#039;System.Web.UI.WebControls.DropDownList&#039; does
not contain a definition for &#039;SelectedValue&#039;.

The SelectedValue property has been added in the
.NET1.1, so I&#039;m thinking the <solution> taks is using
.NET1.0 to compile against. But I don&#039;t understand how.

I changed nant.exe.config in the following ways:

1) I changed the default framework to 1.1 (via
<nantsettings defaultframework="net-1.1">)
2) I deleted the framework 1.0 definition (just to be
sure ;-)
3) I changed the framework 1.1 definition to point
explicitly to the folder
C:\WINNT\Microsoft.NET\Framework\v1.1.4322 instead of a
registry key

Nothing worked. Does anyone have any clue why the
solution task behaves this way? 

----------------------------------------------------------------------

Comment By: Andrew Woodward (woodybx)
Date: 2004-02-26 11:10

Message:
Logged In: YES 
user_id=984789

Try 

<property name="nant.settings.currentframework" value="net-
1.1"/>


----------------------------------------------------------------------

Comment By: Andreas Huber (andreashuber3)
Date: 2004-01-28 09:30

Message:
Logged In: YES 
user_id=962083

I've got the same problem.
After using 
NAnt.exe -buildfile:Test.build -defaultframework:net-1.1
it works fine.

Hope this helps



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=755820&group_id=31650


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to