View unanswered posts | View active topics



Reply to topic  [ 5 posts ] 
Info about posting patches 
Author Message
Admin

Joined: Tue Aug 30, 2005 6:14 pm
Posts: 3043
Location: Finland
Reply with quote
Please note that the patches posted here will be used as the community or main developers see fit.

General guidelines

* You can post code fixes, new features or bigger patches here. All registered users can talk, review and modify them in here.
* The code patches can be code snippets or real SVN patch files that the main developers can apply to the code repository.

Building and viewing code

* You can use the free Visual C# Express to build FlashDevelop: http://www.microsoft.com/express/vcsharp/
* The FlashDevelop code repository (SVN) is here: http://code.google.com/p/flashdevelop/


Fri Oct 23, 2009 9:24 pm
Profile WWW
Member

Joined: Thu Jul 26, 2007 7:06 pm
Posts: 215
Location: Toronto, Ontario, Canada
Reply with quote
Great idea! Hopefully this board will take off!


Sat Oct 24, 2009 3:21 am
Profile WWW
Member

Joined: Thu Nov 03, 2011 9:41 am
Posts: 7
Location: Berlin, Germany
Reply with quote
I've downloaded the source and planned to contribute to FlashDevelop. The project file is for Visual C# 2008 Express, but I only have the newer Visual Studio 2010. Microsoft also doesn't offer Visual C# 2008 Express anymore. I think, we could experience some difficulties on versioning the source if I use Visual Studio 2010 to deliver patches on a Visual Studio 2008 project.

Visual C# 2010 Express has been released a while ago. Will you convert the project to the newer version?


Sat Jan 07, 2012 9:04 pm
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
Reply with quote
You can still get C# Express 2008 actually:
http://www.microsoft.com/download/en/de ... x?id=20682

We certainly should look into upgrading to 2010, it's already 2012 :)


Sat Jan 07, 2012 10:30 pm
Profile WWW
Member

Joined: Mon Sep 20, 2010 8:55 am
Posts: 92
Reply with quote
Building FD4 in C# Express 2010

Prerequisites:
Checkout latest FD code from SVN (http://flashdevelop.googlecode.com/svn/trunk/FD4).

1. Convert solution to VS 2010.
- Open C# Express 2010, drag FlashDevelop.sln in it.
You'll be prompted to convert this project to newer version.
- In Convert dialog press Finish and wait while it converts. You shouldn't get any errors.

2. Switch configuration to x86.
- In main menu select Tools -> Settings -> Expert Settings.
Two new comboboxes will appear in the toolbar: 'Debug' and 'Any CPU'.
- Select 'x86' from 'Any CPU' box.

3. Change framework version to 2.0
Solution converter messed up all your framework versions, you need to restore them.
If you try to build, you'll get errors like 'The type or namespace name 'PluginCore' could not be found (are you missing a using directive or an assembly reference?).

- Run search&replace on the FD4 folder (*.csproj files). Search for:
Code:
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
replace with:
Code:
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>

If C# Express was open, you'll get lots of 'Reload/Ignore' dialogs. Press 'Reload' in every one of them.

4. Run the project.
FD4 should build and run normally.


Tue May 15, 2012 1:42 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.