ctid1779370
19 Jun 2024, 01:45
( Updated at: 19 Jun 2024, 04:58 )
RE: .NET 6.0 Simulator never works.
Hi Panagiotis,
After that video i uninstalled cTrader and did a brand new install. I created a new project and opened it in visual studio, it said i needed to download the necessary .net for it to work so i did.
It still doesn't work and i get all these errors. It seems like cTrader.Automate isn't even installed and i have no idea how to problem solve this.
I'm not sure why installing cTrader and starting a new project doesn't include all the necessary parts it should to begin working on the project?
After that video i uninstalled cTrader and did a brand new install. I created a new project and opened it in visual studio, it said i needed to download the necessary .net for it to work so i did.
It still doesn't work and i get all these errors. It seems like cTrader.Automate isn't even installed and i have no idea how to problem solve this.
I'm not sure why installing cTrader and starting a new project doesn't include all the necessary parts it should to begin working on the project?
I now have cTrader.Automate installed which was the problem. It was not able to find the package the package url would break. So i had to manually download 1.0.9 and reference it locally from the package manager. The application is also using .NET6
However i still have the exact same problem from the first video. When i hit play in cTrader it does not print anything and using the simulator freezes.
After that video i uninstalled cTrader and did a brand new install. I created a new project and opened it in visual studio, it said i needed to download the necessary .net for it to work so i did.
It still doesn't work and i get all these errors. It seems like cTrader.Automate isn't even installed and i have no idea how to problem solve this.
I'm not sure why installing cTrader and starting a new project doesn't include all the necessary parts it should to begin working on the project?
I now have cTrader.Automate installed locally which was the problem. It was not able to find the package the package url would break. So i had to manually download 1.0.9 and reference it locally from the package manager. The application is also using .NET6
STEPS: - Make sure you have Visual Studio installed - Make sure you have the correct version of .NET installed, visual studio will prompt you to do so with a button click. - Download cTrader automate to your computer. https://www.nuget.org/packages/cTrader.Automate
- Save it into a folder on your computer like C:\LocalNuGetPackages. - Open Visual Studio:
Go to Tools > NuGet Package Manager > Package Manager Settings.
Add the Local Package Source:
In the Package Sources section, click the + button to add a new source.
Set the Name to something like LocalPackages.
Set the Source to the path of your local package directory, e.g., C:\LocalNuGetPackages.
Click Update to save the new package source.
Step 4: Install the Package from the Local Source
Open the NuGet Package Manager Console:
Go to Tools > NuGet Package Manager > Package Manager Console.
Install the Package:
In the Package Manager Console, run the following command:
Create a new project in cTrader, open it in visual studio, make sure its connected to the local version of ctrader.Automate and it should start working.
PanagiotisCharalampous
18 Jun 2024, 09:10
Hi there,
Please provide more information about your problem. What is the exact issue?
Best regards,
Panagiotis
@PanagiotisCharalampous