Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Sudden compiler error ...

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

    Sudden compiler error ...

    I get the following compiler error from NS Editor: see attachment

    It results in a file Attributes.cs containing:

    // <autogenerated />
    using System;
    using System.Reflection;
    [assembly: global::System.Runtime.Versioning.TargetFrameworkA ttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]​

    I did not modify or change anything regarding this.

    Any hint/idea what I should do ?

    I use Visual Studio to write code and NS Editor to compile ist.


    Attached Files

    #2
    Hello TraderChris123,

    Thank you for your post.

    We have seen this compile error when using Visual Studio and you run or build the solution in Visual Studio. When using VS as a code editor (see the tip at the bottom of this page), you should only save the file and you should not run/build/compile as this can result in errors within NinjaTrader. To resolve this, please follow these steps:
    • Open a file explorer and navigate to Documents\NinjaTrader 8\bin\Custom\obj
    • Look for a folder inside of 'obj' called release. Delete the 'release' folder
    • Recompile in NinjaTrader
    Please let us know if we may be of further assistance.

    Comment


      #3
      Thx Emily, you are Golden !

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      656 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      371 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      109 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      574 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      579 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X