Hi, Just for the record. I got it to work. I changed the path environment variable to point the 1.1 version of the framework. Looks like csc.exe is directly called without minding the config settings.
Thnx for the support. Carlo Poli Macaw -----Original Message----- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: dinsdag 17 juni 2003 12:27 To: Carlo Poli Cc: [EMAIL PROTECTED] Carlo, looks like a bug that needs fixing. I've logged it here: https://sourceforge.net/tracker/index.php?func=detail&aid=755820&group_i d=31650&atid=402868 btw I think its time we started using the sf bug tracker to keep a record of outstanding bugs and issues. I think its great to post here first though so that duplicates and non-bugs can be weeded out. Ian > Thnx for the reply, > > that does have impact, but not the desired one. Now I get loads of > warnings like this one 'warning CS1595: 'System.Web.UI.Control' is > defined in multiple places; using definition from > 'C:\WINNT\Microsoft.NET\Framework\v1.0.3705\System.Web.dll'' > > It seems like it does recognize .NET Framework 1.1 now, but also still > uses 1.0. I even deleted the <supportedRuntime version="v1.0.3705" /> > bit, but that didn't work either. The <csc> task has the noconfig-flag > to prohibit autofinding assemblies. I tried to use it on the > <solution> task, but it doesn't seem to be supported there. > > Any more idea's? > > Carlo Poli > Macaw > > > > ---------------------------------------------------------------------- > -- > *From:* Jaroslaw Kowalski [mailto:[EMAIL PROTECTED] > *Sent:* dinsdag 17 juni 2003 11:32 > *To:* Carlo Poli; [EMAIL PROTECTED] > > This may help: make sure your NAnt is running on net-1.1. heck/add the > following at the end of your nant.exe.config: > > <startup> > <supportedRuntime version="v1.1.4322" /> > <supportedRuntime version="v1.0.3705" /> </startup> but looks > like a bug of <solution> > > Jarek > > ----- Original Message ----- > *From:* Carlo Poli <mailto:[EMAIL PROTECTED]> > *To:* [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > *Sent:* Tuesday, June 17, 2003 9:56 AM > *Subject:* [Nant-users] Solution incorrectly compiled against .NET > version 1.0 (bug?) > > Hi, > > I'm trying to figure out the following problem. I'm using the new > <solution> task from the daily build of 20030605 to build a > project that's perfectly building in Visual Studio on the same > machine. I'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'm getting the following error: error CS0117: > 'System.Web.UI.WebControls.DropDownList' does not contain a > definition for 'SelectedValue'. > > The SelectedValue property has been added in the .NET1.1, so I'm > thinking the <solution> taks is using .NET1.0 to compile against. > But I don'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? > > Thanx in advance, > > > Carlo Poli > Macaw > ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users