VS2022 integration flaws
VS2022 integration flaws
16 Nov 2022, 12:33
Using a self-written indicator xxx
xxx i_xxx;
protected override void OnStart()
{
xxx = Indicators.GetIndicator<xxxx>(7);
}
works OK when building in ctrader.
But when doint 'edit in visual studio' and then building it in vs2022 it always comes up with:
Error NU1105 1 Unable to find project information for 'C:\Users\xxxx\Documents\cAlgo\Sources\Indicators\xxxx\xxxx\xxxx.csproj'. If you are using Visual Studio, this may be because the project is unloaded or not part of the current solution so run a restore from the command-line. Otherwise, the project file may be invalid or missing targets required for restore.
Replies
Shares4UsDevelopment
18 Nov 2022, 11:19
RE: That's a work around, so a fix is still needed
PanagiotisChar said:
Hi Shares4UsDevelopment,
Try adding the project to the solution manually.
Need help? Join us on Telegram
Need premium support? Trade with us
Thanks, I already did that and it works but it's a work around, so a fix is still needed for Spotware i think, hence the Post.
@Shares4UsDevelopment
ctid3999979
24 Nov 2022, 11:19
RE: RE: That's a work around, so a fix is still needed
Shares4UsDevelopment said:
PanagiotisChar said:
Hi Shares4UsDevelopment,
Try adding the project to the solution manually.
Need help? Join us on Telegram
Need premium support? Trade with us
Thanks, I already did that and it works but it's a work around, so a fix is still needed for Spotware i think, hence the Post.
I have this same problem. I found that when selecting Edit in Visual Studio it was creating a new csproj file with my computers hostname appended to the filename. I found that deleting the original csproj file created by cTrader and renaming the new csproj file by deleting the hostname portion did the trick.
However, as you say, it's a workaround.
@ctid3999979
PanagiotisChar
16 Nov 2022, 13:40
Hi Shares4UsDevelopment,
Try adding the project to the solution manually.
Aieden Technologies
Need help? Join us on Telegram
Need premium support? Trade with us
@PanagiotisChar