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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        175 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        331 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        253 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        356 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        183 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X