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 tkaboris, Yesterday, 05:13 PM
      2 responses
      37 views
      0 likes
      Last Post tkaboris  
      Started by trader3000a, Yesterday, 02:48 PM
      2 responses
      34 views
      0 likes
      Last Post trader3000a  
      Started by lyrad82, Today, 02:58 AM
      1 response
      30 views
      0 likes
      Last Post NinjaTrader_Jason  
      Started by elliot5, Today, 04:07 AM
      0 responses
      19 views
      0 likes
      Last Post elliot5
      by elliot5
       
      Started by rafaelcoisa, 01-29-2023, 07:56 PM
      20 responses
      214 views
      0 likes
      Last Post rafaelcoisa  
      Working...
      X