Looks like a bug.
Steps to reproduce.
1. Create an indicator that references an external assembly.
2. Compile the indicator.
3. Take note of folders in directory: C:\ProgramData\TS Support\MultiCharts .NET64\StudyServer\Techniques\CompAssms
4. Above directory has required files
5. Go into chart, insert new indicator
6. Stop application. Notice that folders in C:\ProgramData\TS Support\MultiCharts .NET64\StudyServer\Techniques\CompAssms are deleted.
7. Start application and open chart. Can't load indicator. Sometimes the required files get recompiled sometimes they dont.
MC 8.5 does not work with external assemblies [SOLVED]
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: MC 8.5 does not work with external assemblies
Hello davewolfs,
Do you add a reference through Visual Studio or PowerLanguage .Net editor?
Do you add a reference through Visual Studio or PowerLanguage .Net editor?
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: MC 8.5 does not work with external assemblies [SOLVED]
davewolfs, please let us know if this behavior will reappear.Oddly, I am having difficulties reproducing myself. I wonder if the application put itself in some sort of weird state at the time.
-
- Posts: 36
- Joined: 04 Feb 2010
- Location: Calgary, AB Canada
- Has thanked: 7 times
- Been thanked: 19 times
- Contact:
Re: MC 8.5 does not work with external assemblies
I have also seen this problem - in VS2010 I add a reference in my indicator to System.ServiceModel, and my indicator that uses WCF compiles correctly. However in PowerEditor, the "using System.ServiceModel" generates an error. PowerEditor appears to not allow the additional references.
thanks,
Jeff
thanks,
Jeff
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: MC 8.5 does not work with external assemblies
From MC .NET FAQ:in VS2010 I add a reference in my indicator to System.ServiceModel, and my indicator that uses WCF compiles correctly. However in PowerEditor, the "using System.ServiceModel" generates an error. PowerEditor appears to not allow the additional references.
+ 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.
-
- Posts: 36
- Joined: 04 Feb 2010
- Location: Calgary, AB Canada
- Has thanked: 7 times
- Been thanked: 19 times
- Contact:
Re: MC 8.5 does not work with external assemblies
Thanks Henry - found it - right clicking in the indicator code itself.
Last edited by rjelles on 04 Apr 2013, edited 1 time in total.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: MC 8.5 does not work with external assemblies
rjelles, the reply to this question was in my post above:
The references you have added are global and available for all studies.