Rank: Newbie
Joined: 8/5/2008 Posts: 2 Location: italy
|
Roger Martin wrote:
Quote:
The Ajax in .NET 3.5 won't work for GS unless you - at a minimum - update the web.config file to point to the newer version. The key to success is having .NET 2.0 and then installing MS Ajax 1.0 on top of that. Posted: Sunday, April 20, 2008 9:59:36 PM
I believe - but am not sure - that you can also use the free Visual Web Developer 2008 Express edition with Service Pack 1. At the time I write this SP1 is still in beta, but it should be released by September 2008. Posted: Tuesday, June 10, 2008 9:22:37 PM
I don’t see a how to build section in this forum. Btw It seems that product is targeted for M$ Visual Studio, a closed and non-free product. Actually I managed to compile with .Net 3.5. I used the open source SharpDevelop 3.0 Beta 1 and GalleryServerPro v2.0.2898.
After expanding the zip, these are the steps I used.
1) First you need to get .Net 3.5 version of the Microsoft AJAX Control Toolkit and ComponentArt Web.UI. 2) As for Microsoft AjaxControlToolkit, go to asp.net/ajax and look for Asp.Net Ajax Control Toolkit. Download the zip version for framework 3.5 (with or without source). Find and extract from the zip AjaxControlToolkit.dll. 3) As for ComponentArt Web.UI, go to componentart.com and download your trial version of Web.UI optimized for Asp.Net 3.5 (you need to register). Install the trial and from the program folder find and get ComponentArt.Web.UI.dll (you can uninstall the trial). 4) Now you need to update old DLLs in the solution with the 3.5 versions. Therefore replace both AjaxControlToolkit.dll and ComponentArt.Web.UI.dll in \gsweb\assemblies folder and in \TIS.GSP.WebControls\assemblies folder (only the latter dll needed here) 5) (May be because of a bug) with your favourite editor find and remove the line: <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v8.0\WebApplications\Microsoft.WebApplication.targets" Condition="" /> in \gsweb\gsweb.csproj 6) We can now open the TIS.GSP.sln with SharpDevelop, but of course before building we need to set references to the fresh downloaded assemblies. 7) In SharpDevelop solution explorer tree expand gsweb->References node and remove the reference to AjaxControlToolkit, then right-click gsweb->References and select “Add reference”. With the .Net Assembly Browser, browse to the AjaxControlToolkit.dll and update the reference. 8) Repeat the updating task for gsweb->References-> ComponentArt.Web.UI and for TIS.GSP.WebControls ->References-> ComponentArt.Web.UI. 9) We need updating System.Web.Extensions reference, but this time there is no need to download files because the assembly is now part of .Net 3.5. So delete gsweb->References-> System.Web.Extensions and go to Add Reference->GAC tab. Select System.Web.Extensions in the list and *click* select button. 10) Retarget each project from 2.0 to 3.5 framework one at time (if you know a way to retarget them all together, let me know). To do so in solution explorer tree right-click on each project and select properties, go to Compiling tab and change the drop-down Target Framework from 2.0 to 3.5. Save each change (explicitly save with menu or button; don’t let SharpDevelop ask, because, due to a bug, the change would be lost). 11) You can build now.
Note you can open \gsweb as a website in Visual Web Developer Express, a Microsoft freebie. With MS Express tools you can manage solution with similar projects (only C#, only VB or only Web projects). So you can’t manage a heterogeneous solution like this. Btw Visual Web Developer has powerful designing capabilities for web (there is an ASP.net server integrated and a dreamveaver-like split view for pages), perhaps it could be a good idea to mix SharpDevelop for coding and VWD for art.
If you discover more tricks let me know.
I tested the build with UltiDev Cassini 2.0 and everything ran smooth, of course for the limited time and conditions given by ComponentArt control. Let us hope that Roger will move to an open solution. Open with open :-)
Ciao, antonio
|
Rank: Administration
Joined: 8/3/2007 Posts: 844 Location: Fort Atkinson, WI
|
Thanks for posting the tips about getting the source code into SharpDevelop.
However, I don't quite understand your criticism about Gallery Server not being open. It is released under an open source license and can be edited in the freely available Visual Web Developer 2008 Express SP1. You may not be aware that SP1 now allows you to open a solution with multiple projects, so you are not limited to opening Gallery Server one project at a time.
The .NET Framework is of course not open - are you requesting that it be written in an open source language? I don't see that happening any time soon...
Roger Martin Lead Developer for Gallery Server Pro
|
Rank: Newbie
Joined: 8/5/2008 Posts: 2 Location: italy
|
Sorry, I was perhaps inaccurate. I was referring to the ComponentArt control, which seems quite expensive. By the way, it is not a criticism; AFAIK your app is the best open in the kind.
I actually did not try SP1 for Visual Web Developer 2008 Express, thanks for your feedback.
Antonio
|