Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

C:\Program Files (x86)\NinjaTrader 8\bin64\System.Memory.dll' could not be found

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

    C:\Program Files (x86)\NinjaTrader 8\bin64\System.Memory.dll' could not be found

    Hello because this is a system .dll I don't understand how to fix?
    Metadata file 'C:\Program Files (x86)\NinjaTrader 8\bin64\System.Memory.dll' could not be found
    CS0006
    Metadata file 'C:\Program Files (x86)\NinjaTrader 8\bin64\System.Text.Json.dll' could not be found
    CS0006

    #2
    chad9777 You should find this useful: https://ninjatrader.com/support/foru...30#post1198630

    Thanks.
    Multi-Dimensional Managed Trading
    jeronymite
    NinjaTrader Ecosystem Vendor - Mizpah Software

    Comment


      #3
      I did this and now it says Ninjatrader.Ninjascript.addonbase from assembly system. text .jason. Unable to load one or more of the requested types. Retrieve the loader exceptions property from more information.

      Comment


        #4
        Hello chad9777,

        Can you please shut down NinjaTrader and navigate to Documents-->NinjaTrader 8-->bin-->Custom. Remove the System.Text.Jason.dll file.

        Start NinjaTrader and open the NinjaScript Editor at Control Center-->New. Right click in the NinjaScript Editor and select 'References'. Remove the reference for System.Text.Jason.dll.

        Comment


          #5
          Hello, I am now getting multiple errors.

          @PriceLevels.cs The type 'System.Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. CS0012 254 4
          @PriceLevels.cs The type 'System.Collections.Generic.IEnumerable`1<T0>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. CS0012 254 4
          @PriceLevels.cs The type 'System.ValueType' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. CS0012 254 4
          @PriceLevels.cs The type 'System.Collections.Generic.IReadOnlyList`1<T0>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. CS0012 254 4
          @PriceLevels.cs The type 'System.Collections.IEnumerable' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. CS0012 254 4
          @PriceLevels.cs The type 'System.Collections.Generic.IReadOnlyCollection`1< T0>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. CS0012 254 4
          @PriceLevels.cs The type 'System.Collections.Generic.IList`1<T0>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. CS0012 254 4
          @PriceLevels.cs The type 'System.Collections.Generic.ICollection`1<T0>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. CS0012 254 4
          @PriceLevels.cs The type 'System.IEquatable`1<T0>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. CS0012 254 4
          @PriceLevels.cs The type 'System.Collections.IList' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. CS0012 254 4
          @PriceLevels.cs The type 'System.Collections.ICollection' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. CS0012 254 4
          @PriceLevels.cs The type 'System.Collections.IStructuralComparable' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. CS0012 254 4
          @PriceLevels.cs The type 'System.Collections.IStructuralEquatable' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. CS0012 254 4
          @PriceLevels.cs The type 'System.Func`2<T0,T1>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. CS0012 254 4

          Comment


            #6
            Can you please shut down NinjaTrader and then navigate to Documents-->NinjaTrader 8-->bin-->Custom-->Indicators. Delete the PriceLevels.cs file. Start NinjaTrader and compile again.

            Comment


              #7
              Thanks, I can't seem to find this @ lines.cs solution after recompiling.

              @Lines.cs The type 'System.Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
              @Lines.cs The type 'System.ValueType' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
              @Lines.cs The type 'System.Collections.Generic.IReadOnlyList`1<T0>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
              @Lines.cs The type 'System.Collections.Generic.IEnumerable`1<T0>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
              @Lines.cs The type 'System.Collections.IEnumerable' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
              @Lines.cs The type 'System.Collections.Generic.IReadOnlyCollection`1< T0>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
              @Lines.cs The type 'System.Collections.Generic.IList`1<T0>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
              @Lines.cs The type 'System.Collections.Generic.ICollection`1<T0>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
              @Lines.cs The type 'System.IEquatable`1<T0>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
              @Lines.cs The type 'System.Collections.IList' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
              @Lines.cs The type 'System.Collections.ICollection' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
              @Lines.cs The type 'System.Collections.IStructuralComparable' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
              @Lines.cs The type 'System.Collections.IStructuralEquatable' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
              @Lines.cs The type 'System.Func`2<T0,T1>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.

              Comment


                #8
                Can you please check all sub folders of the Documents-->NinjaTrader 8-->bin-->Custom folder for this file.

                If you can't find it, I suggest to use Windows search and check if this allows you to find the file.

                Comment


                  #9
                  Hi, one last problem all other issues are fixed in compile. I get this warning when I startup Ninjatrader Click image for larger version

Name:	2022-06-08 13_31_21-Start.png
Views:	562
Size:	6.5 KB
ID:	1205095

                  Comment


                    #10
                    Can you please perform the instructions below once more and check if this error persists.

                    Can you please shut down NinjaTrader and navigate to Documents-->NinjaTrader 8-->bin-->Custom. Remove the System.Text.Jason.dll file.

                    Start NinjaTrader and open the NinjaScript Editor at Control Center-->New. Right click in the NinjaScript Editor and select 'References'. Remove the reference for System.Text.Jason.dll.

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by argusthome, 03-08-2026, 10:06 AM
                    0 responses
                    89 views
                    0 likes
                    Last Post argusthome  
                    Started by NabilKhattabi, 03-06-2026, 11:18 AM
                    0 responses
                    48 views
                    0 likes
                    Last Post NabilKhattabi  
                    Started by Deep42, 03-06-2026, 12:28 AM
                    0 responses
                    31 views
                    0 likes
                    Last Post Deep42
                    by Deep42
                     
                    Started by TheRealMorford, 03-05-2026, 06:15 PM
                    0 responses
                    34 views
                    0 likes
                    Last Post TheRealMorford  
                    Started by Mindset, 02-28-2026, 06:16 AM
                    0 responses
                    69 views
                    0 likes
                    Last Post Mindset
                    by Mindset
                     
                    Working...
                    X