There is no SLN file inside the folder to open with Visual Studio
27.05.2020 08.03

Algorithmic Trading with NinjaTrader

Yuri Zolotarev

This has been a very often question so all discussion about it is moved to this forum thread. The problem happens, which is not a problem really, when you have just installed NinjaTrader and you want to open the code in Visual Studio for the first time. 

You expect to see an SLN file as in my videos but its not there. It will not be there the first time so you have to open the CSPROJ file using visual studio File -> Open Project/Solution.

When you open it once you save the solution an SLN file will be added that you can use in the future.

  • Yuri Zolotarev
    27.05.2020 08:08

    The problem sometimes extends with a further issue, when you try top open the CSPROJ file you get this.

    Currently, we have received the following response from NT support on this issue:

    "You should be able to open visual studio by clicking the toolbar button in the NinjaScript editor. If the .csproj is not present please try compiling from the NinjaScript editor first. "