I was running MAUI-Multi Platform Application UI on a windows machine and couldn’t run the application. while running MAUI Application in windows got the below error. In this write-up, I will share my experience of how I solved this problem.
Error message: “DEP0100: Please ensure that target device has developer mode enabled. Could not check to see id Developer Mode is enabled on the local machine due to error 00000490. To learn more about Developer Mode, please visit https://go.microsoft.com/fwlink/?linkid=2128411”
Reason: .NET MAUI needs developers mode enabled in your machine to run the application and your machine was not configured for this.
When you continue to click on the run option for Windows Machine, you will get the below message box. Click on the highlighted option: Setting for developers as depicted below.
Go to Privacy & security-> For Developers
Then enable the target device to developer mode from your setting as depicted below image.
Then, your error will be resolved, and you can run the MAUI application on your Windows Machine.