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

Comment