Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Compile with debug enabled fails

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

    Compile with debug enabled fails

    Hi guys,

    I'm getting following error when I enable debugging for indicator. Mentioned file exists on FS. Any ideas?

    I have VM Windows 11 running in Parallels, NT8, VS community 2019. Many Thanks



    UPDATE: I have to manually delete file, run compile again and it works. Then I need to repeat this process over and over again.
    Last edited by Jozef Neuschl; 02-08-2022, 02:57 AM.

    #2
    Hello Josef Neuschl,

    Thank you for your post.

    This can occur when trying to run the project from Visual Studio or building from Visual Studio instead of saving and running the compile in the NinjaScript Editor. When using Visual Studio if you do so there's a generated folder that gets created and that's what's causing the error. You should always compile from the Editor and not build the project in VS.

    Check in Documents > NinjaTrader 8 > bin > Custom >obj > Debug for a file named AssemblyAttributes.cs. If you find this file, delete the Debug folder and then compile in the NinjaScript editor.

    Please let us know if we may be of further assistance to you.
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      Thanks when I delete the folder it works fine.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Kicks.Spin, Today, 05:16 PM
      0 responses
      6 views
      0 likes
      Last Post Kicks.Spin  
      Started by MrBrunotte, Today, 12:52 PM
      0 responses
      20 views
      0 likes
      Last Post MrBrunotte  
      Started by AndyM, Today, 12:22 PM
      0 responses
      21 views
      0 likes
      Last Post AndyM
      by AndyM
       
      Started by Carter, Today, 12:07 PM
      0 responses
      7 views
      0 likes
      Last Post Carter
      by Carter
       
      Started by llanqui, Today, 12:05 PM
      0 responses
      7 views
      0 likes
      Last Post llanqui
      by llanqui
       
      Working...
      X