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:	146
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 Mindset, 04-21-2026, 06:46 AM
      0 responses
      44 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      54 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      34 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      95 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      57 views
      0 likes
      Last Post PaulMohn  
      Working...
      X