Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NinjaScript Editor ERRORS

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

    NinjaScript Editor ERRORS

    none of the indicators will compile. keep getting this message (I have Net 4.8 installed on machine)

    \NETFramework,Version=v4\6\1\AssemblyAtttributes.c s ERROR Duplicate 'global::System.Runtime.VersioningTargetFrameworkA ttribute'attribute CODE CS0579 Line 4

    4 [assembly: global::System.Runtime.Versioning.TargetFrameworkA ttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.6.1")]

    #2
    correction from above...

    4 [assembly: global::System.Runtime.Versioning.TargetFrameworkA ttribute(".NETFramework,Version=v4.6.1", FrameworkDisplayName = ".NET Framework 4.6.1")]
    ​​

    Comment


      #3
      Hello hfwiley,

      Thank you for your reply.

      This means that Visual Studio generated project files that are causing duplicate errors. Go into Documents\NinjaTrader 8\bin\Custom and delete the "bin" and "obj" folders that were generated by Visual Studio.

      Also, if you are using Visual Studio, go to Project>NinjaTrader.Custom properties and make sure the target framework setting is set to 4.8.

      ​Please let us know if we may be of further assistance to you.

      Comment


        #4
        That worked..
        Thank You

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        23 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        17 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        182 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        335 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        259 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X