Announcement

Collapse
No announcement yet.

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:	212
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

    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.

        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.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by NullPointStrategies, Yesterday, 05:17 AM
            0 responses
            62 views
            0 likes
            Last Post NullPointStrategies  
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            134 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            75 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            45 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            50 views
            0 likes
            Last Post TheRealMorford  
            Working...
            X