Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Cannot find or open the PDB file -Net 4.8 - Application is in Break Mode

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

    Cannot find or open the PDB file -Net 4.8 - Application is in Break Mode

    I am trying to attach VisualStudio to NT8 and I can't while I have no problems connecting it to NT7.

    I have VisualStudio 2017 and NT8 latest version 8.0.26.0 64-bit
    This is what I observe:

    -When I start visual studio from the NinjaScript editor I get the following message on VS:
    the C# NinjaTrader.Custom is targeting .NetFramework, Version= v4.8 which is not installed in this machine.

    But it is! I have the version 4.8.04084

    It asks me to download it but I did not approve since I have it. I can also answer to Target 4.6.1 but How can I change it back ? Is it safe to do so?

    - If I attach NT8 starting from VS I get in the VS output ending with the following lines:

    'NinjaTrader.exe' (CLR v4.0.30319: NinjaTrader.exe): Loaded 'Microsoft.GeneratedCode'.
    'NinjaTrader.exe' (CLR v4.0.30319: NinjaTrader.exe): Loaded 'Microsoft.GeneratedCode'.
    'NinjaTrader.exe' (CLR v4.0.30319: NinjaTrader.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Access ibility\v4.0_4.0.0.0__b03f5f7f11d50a3a\Accessibili ty.dll'. Cannot find or open the PDB file.
    'NinjaTrader.exe' (CLR v4.0.30319: NinjaTrader.exe): Loaded 'C:\WINDOWS\system32\WinMetadata\Windows.UI.winmd' . Module was built without symbols.
    'NinjaTrader.exe' (CLR v4.0.30319: NinjaTrader.exe): Loaded 'C:\WINDOWS\system32\WinMetadata\Windows.Foundatio n.winmd'. Module was built without symbols.
    'NinjaTrader.exe' (CLR v4.0.30319: NinjaTrader.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System .Runtime.InteropServices.WindowsRuntime\v4.0_4.0.0 .0__b03f5f7f11d50a3a\System.Runtime.InteropService s.WindowsRuntime.dll'. Module was built without symbols.
    'NinjaTrader.exe' (CLR v4.0.30319: NinjaTrader.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System .Runtime.WindowsRuntime\v4.0_4.0.0.0__b77a5c561934 e089\System.Runtime.WindowsRuntime.dll'. Cannot find or open the PDB file.
    'NinjaTrader.exe' (CLR v4.0.30319: NinjaTrader.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Presen tationFramework-SystemDrawing\v4.0_4.0.0.0__b77a5c561934e089\Prese ntationFramework-SystemDrawing.dll'. Cannot find or open the PDB file.
    An unhandled exception of type 'System.ExecutionEngineException' occurred in Unknown Module.

    The program '[11880] NinjaTrader.exe' has exited with code -2146232797 (0x80131623).


    What should I do ?
    Best
    G

    #2
    Hello giogio1,

    NT8 uses .net 4.8, you would need to allow VS to install 4.8 to be able to use it. The warning is coming up because the dependency is not met, the version you have installed separately is not the version that NinjaTrader is requesting. The next step would be to allow visual studio to fix the dependency by using the message it presents.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    637 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    366 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    107 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    569 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    571 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X