Visual Studio 2017 & PLStudiesVB2010 compilation failures  [SOLVED]

Questions about MultiCharts .NET and user contributed studies.
bryanzim
Posts: 32
Joined: 26 Mar 2013
Has thanked: 5 times
Been thanked: 1 time

Visual Studio 2017 & PLStudiesVB2010 compilation failures

Postby bryanzim » 25 Apr 2017

Even though I am not currently using VB items in order to get them to compile properly in Visual Studio 2017 enterprise, I had to do the following:

1. add "Imports PowerLanguage.Indicator" to every indicator
2. add "Imports PowerLanguage.Strategy" to every strategy
3. add "Imports PowerLanguage.Function" to every indicator and strategy as needed

Could these corrections be made for future releases?

User avatar
Angelina MultiСharts
Posts: 260
Joined: 28 Dec 2016
Has thanked: 28 times
Been thanked: 66 times

Re: Visual Studio 2017 & PLStudiesVB2010 compilation failures

Postby Angelina MultiСharts » 25 Apr 2017

Hello bryanzim,

It might be possible to implement. Please leave a feature request here: https://www.multicharts.com/pm/

bryanzim
Posts: 32
Joined: 26 Mar 2013
Has thanked: 5 times
Been thanked: 1 time

Re: Visual Studio 2017 & PLStudiesVB2010 compilation failures

Postby bryanzim » 27 Apr 2017

I do not share the opinion that this should be a feature request. It is invalid VB.NET code and should be fixed for future releases. The latest release overwrote the changes and will require manual reentry of all indicators, strategies, functions to get proper compilation.

User avatar
Angelina MultiСharts
Posts: 260
Joined: 28 Dec 2016
Has thanked: 28 times
Been thanked: 66 times

Re: Visual Studio 2017 & PLStudiesVB2010 compilation failures

Postby Angelina MultiСharts » 30 Apr 2017

We usually recommend to create, modify and debug VB.NET studies in PowerLanguage .NET Editor only.
However, I've forwarded this request to the engineers, it is currently under review. I'll keep you posted.
These users thanked the author Angelina MultiСharts for the post:
bryanzim

bryanzim
Posts: 32
Joined: 26 Mar 2013
Has thanked: 5 times
Been thanked: 1 time

Re: Visual Studio 2017 & PLStudiesVB2010 compilation failures  [SOLVED]

Postby bryanzim » 21 May 2017

For anyone having issues here are the exported VB.NET studies which fix compilation in VS2017 so you don't get hundreds of errors. I reimport these everytime there is a release.
Attachments
VB.NET Fixes.pln
Fixed VB.NET studios
(97.82 KiB) Downloaded 17 times


Return to “MultiCharts .NET”