Adding a reference/component to PLStudies2010  [SOLVED]

Questions about MultiCharts .NET and user contributed studies.
Fabrice
Posts: 182
Joined: 14 Jun 2011
Has thanked: 44 times
Been thanked: 30 times

Adding a reference/component to PLStudies2010

Postby Fabrice » 28 Dec 2012

Each time I add a reference to PLStudies2010, it is listed in the Solution Explorer but the study refuses to compile under PowerLanguage.NET Editor ("The type or namespace name 'xxx' does not exit...") And when quitting VS 2010, PowerLanguage.NET Editor and MC.Net, the reference is missing at the next launch.

I have tried with a simple reference : System.Speech. But the real matter for me is to handle database using ADO.Net and Entity Framework. ADO.Net requires to add a reference (a DLL) for the specific database. Entity Framework requires to add at least the component "ADO.Net Entity Data Model" (I have not tried to add a component).

User avatar
Henry MultiСharts
Posts: 8479
Joined: 25 Aug 2011
Has thanked: 1211 times
Been thanked: 2719 times

Re: Adding a reference/component to PLStudies2010  [SOLVED]

Postby Henry MultiСharts » 28 Dec 2012

Hello Fabrice,

All references should be added through MultiCharts .Net Editor only. The references you have added are global and available for all studies. There is only one direction of synchronization: from МultiСharts .Net editor to PlStudies* project. The changes done in VS for PlStudies* project would not be saved and would not show up in MC.Net editor.

Fabrice
Posts: 182
Joined: 14 Jun 2011
Has thanked: 44 times
Been thanked: 30 times

Re: Adding a reference/component to PLStudies2010

Postby Fabrice » 28 Dec 2012

Hello Henry,

How to add a reference with MC.Net Editor ? For example, System.Speech.

Fabrice
Posts: 182
Joined: 14 Jun 2011
Has thanked: 44 times
Been thanked: 30 times

Re: Adding a reference/component to PLStudies2010

Postby Fabrice » 28 Dec 2012



Return to “MultiCharts .NET”