Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Compilation Problems: AssemblyAttributes.cs

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

    Compilation Problems: AssemblyAttributes.cs

    Dear NT Team,
    I ran into Debugging Problems with Visual Studio which always crashed. I found out it was the Ninza Addons that caused that problem for some reason. Anyway while trying to fix the problem I must have done something wrong and now I receive the attached error message. Now nothing works anymore. Any help would be appreciated. Thanks!

    Click image for larger version

Name:	Screenshot 2025-01-20 224835.png
Views:	105
Size:	9.7 KB
ID:	1331702

    #2
    Hello,

    Thank you for your post.

    Generally, getting this compile error indicates a 3rd party compiler (such as Visual Studio) has attempted to compile the NinjaTrader Project and has generated duplicate project files. This can occur when attempting to build or run the NinjaTrader Project when opened in Visual Studio.

    To resolve:
    • Navigate to Documents\NinjaTrader 8\bin\Custom
    • Right-click the ‘obj’ folder → select Delete

    As a tip, leave the NinjaScript Editor window open, and this will auto-detect changes to open source files saved with Ctrl + s in Visual Studio (or any 3rd party editor) and will automatically trigger a compile.

    In other words, from Visual Studio or other external editors just saving the script .cs file will cause NinjaTrader to detect the saved file and automatically compile.

    Comment


      #3
      Thank you, Gaby
      Your instructions worked and thank you for the tip. It all works again.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      558 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      324 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      545 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      547 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X