Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Visual Studio question

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

    Visual Studio question

    I realize this forum is for NinjaTrader / NinjaScript questions. However, I am hoping that enough people use Visual Studio that someone can help me understand. I would not normally post this kind of question here, but I do not see a more appropriate place.

    I have been editing an indicator in Visual Studio (porting to NT8). I compiled it in VS -- easier workflow to find my latest problems to fix (plenty of those). All was as expected - in particular, build errors and warnings were shown in the build output pane. The situation was absolutely normal.

    Then I did some more editing and now compiling does not show build errors or warnings in the build output pane (although #warn does show in the build output). The compiling seems fine -- the errors and warnings counts seem correct and the expected errors and warnings are in the Errors pane, just no longer showing in the build output pane. Also, FWIW, Intellisense continues to mark them in the source just fine.

    Compiling other files continues to show build errors and warnings in the Build output window, so the issue is specific to the file I am editing.

    It is as if something I changed in my source file made VS stop showing errors and warnings in the build output window. I'd appreciate it if anyone has any suggestions as to how I can find what is causing the problem. FWIW: I have tried putting #warn before and after an area that IntelliSense shows a problem with. The #warn text shows in the build output, but the compiler error messages do not. I have tried exiting VS and restarting it -- that did not help.

    Thanks,
    EV

    #2
    Just curious, was a NinjaScript Editor window open/closed
    in either case?

    Comment


      #3
      I believe that NT was open, but not the editor. I'm not positive, so I just ran all three scenarios and still have the problem. Same behavior in all three cases:
      • NT not running
      • NT is running but no editor window is open
      • NT is running with an editor window open

      Comment


        #4
        In bin -> Custom there is a .vs directory that can be deleted (while VS is not running) then you can launch it again from NT to start everything over.
        Bruce DeVault
        QuantKey Trading Vendor Services
        NinjaTrader Ecosystem Vendor - QuantKey

        Comment


          #5
          Originally posted by QuantKey_Bruce View Post
          In bin -> Custom there is a .vs directory that can be deleted (while VS is not running) then you can launch it again from NT to start everything over.
          Thanks for the suggestion ... I just tried it ... no joy.

          --EV

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          630 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          364 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          105 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          566 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          568 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X