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.
    ​​​​​​​

    img1.pngClick image for larger version

Name:	img2.png
Views:	15
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 RobotSyndicate, Today, 04:27 AM
            0 responses
            1 view
            0 likes
            Last Post RobotSyndicate  
            Started by Ray12345, Today, 04:10 AM
            0 responses
            2 views
            0 likes
            Last Post Ray12345  
            Started by Behungr101, Today, 02:16 AM
            1 response
            8 views
            0 likes
            Last Post NinjaTrader_Jason  
            Started by omermirza, Yesterday, 08:37 PM
            2 responses
            12 views
            0 likes
            Last Post NT-Roland  
            Started by aelagha, Today, 01:28 AM
            1 response
            12 views
            0 likes
            Last Post NinjaTrader_Jason  
            Working...
            X