Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Compiling in VS 2008

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

    Compiling in VS 2008

    Hi,
    I use VS 2008 to edit and compile my NinjaTrader.Custom project. After I edit and successfully compile the project using pre-created project file:
    Documents\NinjaTrader 7\bin\Custom\NinjaTrader.Custom.csproj
    I still need to recompile the edited script from the Control Center in order the changes to take in effect.
    I noticed that the compiled by Control Center dll is placed at Documents\NinjaTrader 7\bin\Custom. Then I compiled the project in Release mode and copied the NinjaTrader.Custom.xml and NinjaTrader.Custom.dll into Documents\NinjaTrader 7\bin\Custom directory, but still my changes were not picked up by the Control Center, because when I reloaded the edited indicator it was outdated.
    So what is the trick to compile in VS 2008 and make the changes reflected by the Control Center?

    Thank you.

    #2
    corrado, I believe it is necessary to restart NinjaTrader in order for it to recognize the new .dlls because NT will "lock" the .dll when it starts up to prevent changes.
    AustinNinjaTrader Customer Service

    Comment


      #3
      NinjaTrader_Austin,
      Actually it is sufficient to open any existing script from Control Center and recompile it for changes from VS to take in effect, no reloading needed. This just adds one more step when using VS. I hoped to avoid it.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      601 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      347 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      103 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      559 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      558 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X