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