Unless someone has some pearls of wisdom to cast my way, I believe there is an error in the documentation of GCN, in the developer.htm page. I discovered the hard way my laptop was running .net 1.0, and GCN will not run under that. The developer guidelines
also claim that Visual Studio 2002 will work for GCN, but, as GCN seems to need 1.1, Visual Studio will not compile GCN. More specifically, It coughs at -->using System.Web.UI.Design, my guess is that it is new to 1.1. I did put 1.1 on my computer, and GCN
now runs, but still can't recompile in VS 2002. Has anyone done it? I am hoping I am missing something obvious. Tim
Probably just an oversight in the documentation. I think you will also have to manually add a reference in your project for the System.Design namespace (System.Design.dll)
Thanks Redd, got it to work now. Did have to add a reference to System.Design, and everything worked fine, except for one more error when compiling. In SendPrivateMessage.cs, recipientUserName = ddlRecipients.SelectedValue does not compile. SelectedValue is
a new property in 1.1. I am on day 3 of c# after giving up relearning VB from scratch, so I replaced it with recipientUsername = ddlRecipients.SelectedItem.Text. Haven't tested it yet, but it sounds good at any rate, and does compile. Tim
You should probably use ddlRecipients.SelectedItem.Value instead. In many cases the value and text properties are different, and this one needs the .Value one.
you do no need to change ddlRecipients.SelectedValue to ddlRecipients.SelectedItem.Value if you make sure that all the references relating to "system." DLLs in your project point to the 1.1 .NET Framework Being 1.0 .NET Framework related, Visual Studio 2002
defines some default references, when you create your project, to 1.0 framework "system." DLLs. You need to change these Visual Studio 2002 generated references to 1.1 FrameWork "system." DLLs and everything is then OK.
None
0 Points
45 Posts
Using Visual Studio 2002 (or not)
Nov 09, 2003 03:37 PM|TimParsons|LINK
Member
35 Points
1052 Posts
Re: Using Visual Studio 2002 (or not)
Nov 10, 2003 11:06 AM|Redd|LINK
http://www.reddnet.net
None
0 Points
45 Posts
Re: Using Visual Studio 2002 (or not)
Nov 11, 2003 07:19 AM|TimParsons|LINK
Member
35 Points
1052 Posts
Re: Using Visual Studio 2002 (or not)
Nov 11, 2003 11:03 AM|Redd|LINK
http://www.reddnet.net
Member
10 Points
20 Posts
Re: Using Visual Studio 2002 (or not)
Nov 21, 2003 04:37 PM|ejay|LINK