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 Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      558 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      324 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      545 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      547 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X