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

Visual Studio Mac problem

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

    Visual Studio Mac problem

    I've been using Visual Studio for editing Ninjascript for the last month or so.

    I do my debugging in VS for Windows.

    But discovered I can us VS Mac for editing, and the Intellisense has been working fine. I share my Windows drive, and mount it on the Mac side to get to the NT VS project.

    Yesterday the Mac version suddenly can't seem to see any Ninja libraries, and I get the error you can see in images below. The Windows version is working fine.

    Still fairly new to C# and VS (not to programming).

    I know this isn't an NT issue, but if anyone has any idea how to get it working again I'd appreciate it; it would suck to lose the capability to edit on the Mac side.
    ​​​​​​​

    Click image for larger version

Name:	img1.png
Views:	0
Size:	0
ID:	1115545Click image for larger version

Name:	img2.png
Views:	174
Size:	126.4 KB
ID:	1115546



    Last edited by Wick Wrangler; 08-25-2020, 01:28 PM.

    #2
    Hello, thanks for your post.

    Visual Studio for Macintosh supports .NET Core. Unfortunately, it will not recognize NinjaTrader DLLs because NinjaTrader 8 uses standard .NET 4, and that is only available on Windows machines. To edit through Visual Studio you should install VS community on your Windows machine.

    Best regards,
    -ChrisL

    Chris L.NinjaTrader Customer Service

    Comment


      #3
      As I said, it was working fine for a month on the Mac version, until yesterday.

      Maybe it shouldn't have, but it did, regardless of the .NET version.

      Comment


        #4
        Hello Wick Wrangler, Thanks for your reply.

        I wouldn't expect the Mac version to work since it can not load the same debug symbols as a standard Windows 10 installation. If .NET standard does not exist on the machine, it probably will not work.

        Chris L.NinjaTrader Customer Service

        Comment


          #5
          Interesting, it can't see these:
          using NinjaTrader.Cbi;
          using NinjaTrader.Gui;
          using NinjaTrader.Gui.Chart;
          using NinjaTrader.Gui.SuperDom;
          using NinjaTrader.Gui.Tools;
          using NinjaTrader.Data;
          using NinjaTrader.Core.FloatingPoint;


          But does see these:
          using NinjaTrader.NinjaScript.Indicators;
          using NinjaTrader.NinjaScript.DrawingTools;
          using NinjaTrader.NinjaScript;

          So, I'm getting Intellisense completions on Indicators and Drawing Tools.

          Comment


            #6
            Hello Wick Wrangler, thanks for your reply.

            We do not have any mac machines to test on, and since it is the mac version that would go outside of the scope of support I can provide, regrettably.
            Chris L.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by DayTradingDEMON, Today, 09:28 AM
            2 responses
            15 views
            0 likes
            Last Post DayTradingDEMON  
            Started by Stanfillirenfro, Today, 07:23 AM
            6 responses
            23 views
            0 likes
            Last Post Stanfillirenfro  
            Started by navyguy06, Today, 09:28 AM
            1 response
            6 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by cmtjoancolmenero, Yesterday, 03:58 PM
            8 responses
            32 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by helpwanted, Today, 03:06 AM
            2 responses
            22 views
            0 likes
            Last Post NinjaTrader_LuisH  
            Working...
            X