The Discord.cs file does not need updating. To fix the project so it works with .NET 4.8, follow these steps:
- Manually remove all the 3rd party assemblies we provided from the custom and bin folder.
- Add the references from the NinjaScript code editor window.
- Restart NinjaTrader to load assemblies into memory. (if it does not build).
- Attempt to build again from the NT code editor window.
This is not an add-on, so you cannot import.
Adding the references to the assemblies from the NinjaScript code editor window is highly recommended.
Any issues, try clearing the NT cache. Documents\NinjaTrader 8\db\cache