Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Visual Studio NT8 NET code Error

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

    Visual Studio NT8 NET code Error

    Hello Support , Please , is there a means of correcting the error below in order to compile a Ninjascript code . (NinjaTrader 8 version
    // <autogenerated />
    using System;
    using System.Reflection;
    [assembly: global::System.Runtime.Versioning.TargetFrameworkA ttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
    Thank you
    Emma1

    #2
    Hello Emma1,

    This can happen if you do a build from visual studio or have other extensions in visual studio that do builds in the background. To resolve this you need to delete some files.
    1. Open the folder Documents\NinjaTrader 8\bin\Custom
    2. Remove the folders bin and obj from the above folder.
    3. Use the NinjaScript editor to compile while visual studio is closed

    To avoid this in visual studio make sure that you are only saving files and not using any of the build features. If this continues to happen while using visual studio that could point to an extension being used in visual studio.

    Comment


      #3
      Thank you it works now .

      Comment


        #4
        Thank you it works now .

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        61 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        40 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        21 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        23 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        51 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X