SapphireSteel Forum
Welcome, Guest. Please login or register.
May 20, 2013, 02:27:37 PM

Login with username, password and session length
Search:     Advanced search
Welcome to the SapphireSteel forum - for discussion of the Ruby In Steel and Amethyst IDEs
3883 Posts in 799 Topics by 669 Members
Latest Member: m
* Home Help Search Login Register
+  SapphireSteel Forum
|-+  General
| |-+  Amethyst
| | |-+  Converting a 1.2 library project to 1.5
« previous next »
Pages: [1] Print
Author Topic: Converting a 1.2 library project to 1.5  (Read 677 times)
Dermot
Administrator
Hero Member
*****
Posts: 1005


« on: May 05, 2011, 12:18:33 PM »

There's a minor incompatibility between 1.2 library projects and 1.5 libraries. This is easily fixed (all you need to do is set two project properties) ...

1) open the Project properties page and select the Application tab.
2) Set the project type to Library (it will be Flex for a 1.2 library). The project will reload.
3) Then save the project and close it.
4) Re-open the project and select the Classes tab (this should now be visible).
5) Check 'Select classes'. Save. Then check 'Include all classes' and save again. You should now have a 1.5 library project.

If you've still got trouble, unload the project file and make sure that the top part looks something like this:

Code:
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
  <PropertyGroup>
    <AmethystProjectType>Library</AmethystProjectType>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <IncludeAllClasses>True</IncludeAllClasses>
    <LibraryName>AmethystLibrary6</LibraryName>
    <Locale>en_US</Locale>
    <MainSourceFolder>src</MainSourceFolder>
    <ProjectGuid>{9f9174c2-dbcb-4594-b11a-0aebb889c496}</ProjectGuid>
    <SDKDirectory>C:\Flex SDKs\flex_sdk_4.5.0.17689</SDKDirectory>
  </PropertyGroup>

The key bits are the AmethystProjectType and the IncludeAllClasses properties. Obviously, you can select individual classes to be included by using the tree in the Classes tab, but this procedure should get you going with Amethyst 1.5.


Dermot
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!