Is there a way to recompile Dll with Multichart.net running?

Questions about MultiCharts .NET and user contributed studies.
MikeJ
Posts: 3
Joined: 07 Nov 2020
Been thanked: 1 time

Is there a way to recompile Dll with Multichart.net running?

Postby MikeJ » 31 Aug 2021

When I try to recompile the Dll that I have made is says that Multicharts has locked it. Is there a way to unlock it so that he can be recompiled while running? It would be nice to be able to make changes to the baseclass library that I have made and have it act similar to how regular scripts act.
eg - just save it and them multicharts will just reload.

Is there a way to set up a baseclass library that would act the same way?

User avatar
Svetlana MultiCharts
Posts: 645
Joined: 19 Oct 2017
Has thanked: 3 times
Been thanked: 163 times

Re: Is there a way to recompile Dll with Multichart.net running?

Postby Svetlana MultiCharts » 03 Sep 2021

Hello MikeJ,

Unfortunately, there is no such option.
As a workaround you can use different functions in your DLL and call one of another function from the script depending on your goal.

jules190
Posts: 20
Joined: 06 Aug 2014
Been thanked: 4 times

Re: Is there a way to recompile Dll with Multichart.net running?

Postby jules190 » 22 Sep 2021

Hello MikeJ,

Unfortunately, there is no such option.
As a workaround you can use different functions in your DLL and call one of another function from the script depending on your goal.
This isn't a workaround at all.

If changes need to be made to the code inside the DLL, currently we need to close MultiCharts to release the DLL. There really needs to be a better way to achieve this, as it's incredibly difficult to test code inside a library when we have to repeatedly open and close MultiCharts.


Return to “MultiCharts .NET”