Hycoonie / chatter-bot-api

Automatically exported from code.google.com/p/chatter-bot-api
0 stars 0 forks source link

Port code into 4.0 #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently, the code is using .net framework 3.5! Could you please consider 
porting it into .net 4.0 as it is quite useful, this api.

Original issue reported on code.google.com by alexzha...@gmail.com on 19 Oct 2011 at 5:32

GoogleCodeExporter commented 8 years ago
Thank you for your feedback. it is always appreciated.

Currently I configured the project to use the .NET Framework 2.0. I just double 
checked, using the Environment.Version property (it prints 2.0.50727.1433). I 
did  it, so it supports a wider range of projects.

The compiled assembly for .NET Framework 2.0 should run just fine under .NET 
Framework 4.0, as .NET Frameworks are always back compatible.

I am from a JAVA world, so maybe there is something I do not understand here, 
please let me know.

I am open to discuss this. Please tell me why I should explicitly compile for 
.NET Framework 4.0.

Thank you.

Original comment by pierredavidbelanger@gmail.com on 19 Oct 2011 at 2:20

GoogleCodeExporter commented 8 years ago
WontFix, no return from the reporter, and the code works

Original comment by pierredavidbelanger@gmail.com on 1 Nov 2011 at 11:25

GoogleCodeExporter commented 8 years ago
The OP should target the full 4.0 profile. It's likely he was targeting the 4.0 
Client Profile, which is the default setting in many Visual Studio 2010 project 
templates. Targeting the full 3.5 or 4.0 profiles will likely fix his problem.

The Client Profile is lacking System.Web.Security, which you're using in 
Utils.cs for HttpUtility.UrlEncode and MD5 hashing 
(FormsAuthentication.HashPasswordForStoringInConfigFile). 

The Client Profile approach has been deprecated in 4.5 and later, which ship 
with only full profiles:
http://msdn.microsoft.com/library/cc656912(v=vs.100).aspx

Original comment by ericbo...@gmail.com on 11 May 2013 at 12:08