Simulator Not Enabled

To enable it, simply open the Package Manager Console once (in Visual Studio), then launch the project again.

screenshot

What is the Simulator?

The Simulator lets you debug your application in C# using the powerful Visual Studio debugging features.

Why do I need to open the Package Manager Console?

When you open the Package Manager Console the first time, it will automatically start a Powershell command that will configure this project for you and locate the Simulator.

If you update the NuGet package of OpenSilver to a newer version, you will then need to repeat this step.

What if it still doesn't work?

If you keep arriving on this page or if the Simulator still does not work, please fix the path that is in the "Start Program" field of the project properties of the project with the ".Simulator" suffix.

To do so, please right-click on the project that has the ".Simulator" suffix, click "Properties", go to the "Debug" section, and check "Start external program".

Make sure to enter the following path, where you need to replace "YOUR-USER-NAME-GOES-HERE" with your actual Windows user name:

C:\Users\YOUR-USER-NAME-GOES-HERE\.nuget\packages\opensilver\1.0.0-alpha-007\tools\simulator\CSharpXamlForHtml5.Simulator.exe

You will also need to change the version number in bold in the path above to reflect the version of OpenSilver that you are using.

 

If you keep arriving on this page or if the Simulator still does not work, please contact us at:

support@cshtml5.com