Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Has anyone been able to compile NinjaTrader on Visual Studio Code?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Has anyone been able to compile NinjaTrader on Visual Studio Code?

    Hello everyone,

    I think the question is pretty straightforward, is anyone working with VS Code instead of Visual Studio and has managed to compile with it?

    In my case I'm getting the following errors:
    Code:
    C:\Program Files\dotnet\sdk\7.0.100-rc.2.22477.23\Microsoft.Common.CurrentVersion.targets(2114,5): Error: The referenced project '..\External\Infralution\Infralution.Localization.Wpf.csproj' does not exist.
    C:\Program Files\dotnet\sdk\7.0.100-rc.2.22477.23\Microsoft.Common.CurrentVersion.targets(2114,5): Error: The referenced project '..\NinjaTrader.Core\NinjaTrader.Core.csproj' does not exist.
    C:\Program Files\dotnet\sdk\7.0.100-rc.2.22477.23\Microsoft.Common.CurrentVersion.targets(2114,5): Error: The referenced project '..\NinjaTrader.Gui\NinjaTrader.Gui.csproj' does not exist.
    C:\Program Files\dotnet\sdk\7.0.100-rc.2.22477.23\Microsoft.CSharp.CurrentVersion.targets(129,9): Error: Regelsatzdatei "ManagedMinimumRules.ruleset" konnte nicht gefunden werden.​
    Which makes sense since at least the first 3 don't exist in the .csproj file.

    Thanks for your help,
    - Ginsterfeld

    #2
    Hello Ginsterfeld,

    Compiling from an external application such as Visual Studio or Code is not supported, you need to just save the file from the editor being used and the NinjaScript editor will compile. The external applications don't have the full context of the code to be able to compile.

    Comment


      #3
      Originally posted by NinjaTrader_Jesse View Post
      Hello Ginsterfeld,

      Compiling from an external application such as Visual Studio or Code is not supported, you need to just save the file from the editor being used and the NinjaScript editor will compile. The external applications don't have the full context of the code to be able to compile.
      I see. I thought it was actually possible in Visual Studio.

      Thank you for the answer,
      - Ginsterfeld

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      43 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      20 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      29 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      46 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      38 views
      0 likes
      Last Post CarlTrading  
      Working...
      X