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?
Visual Studio 2017 & PLStudiesVB2010 compilation failures [SOLVED]
- Angelina MultiСharts
- Posts: 260
- Joined: 28 Dec 2016
- Has thanked: 28 times
- Been thanked: 66 times
Re: Visual Studio 2017 & PLStudiesVB2010 compilation failures
Hello bryanzim,
It might be possible to implement. Please leave a feature request here: https://www.multicharts.com/pm/
It might be possible to implement. Please leave a feature request here: https://www.multicharts.com/pm/
Re: Visual Studio 2017 & PLStudiesVB2010 compilation failures
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.
- Angelina MultiСharts
- Posts: 260
- Joined: 28 Dec 2016
- Has thanked: 28 times
- Been thanked: 66 times
Re: Visual Studio 2017 & PLStudiesVB2010 compilation failures
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.
However, I've forwarded this request to the engineers, it is currently under review. I'll keep you posted.
Re: Visual Studio 2017 & PLStudiesVB2010 compilation failures [SOLVED]
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 457 times