Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.

    JesseNinjaTrader Customer Service

    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 Rapine Heihei, 04-23-2024, 07:51 PM
      2 responses
      30 views
      0 likes
      Last Post Max238
      by Max238
       
      Started by Shansen, 08-30-2019, 10:18 PM
      24 responses
      943 views
      0 likes
      Last Post spwizard  
      Started by Max238, Today, 01:28 AM
      0 responses
      9 views
      0 likes
      Last Post Max238
      by Max238
       
      Started by rocketman7, Today, 01:00 AM
      0 responses
      7 views
      0 likes
      Last Post rocketman7  
      Started by wzgy0920, 04-20-2024, 06:09 PM
      2 responses
      28 views
      0 likes
      Last Post wzgy0920  
      Working...
      X