Unable to run Uipath code

Hi Team, Need help.
I am not at all able to run any of the program using UiPath.

receiving a error which says
{Main_Aimi.xaml: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = WorkflowFileValidator (ReflectionActivator), Services = [UiPath.Studio.Plugin.Workflow.Validation.WorkflowFileValidator, UiPath.Studio.Plugin.Workflow.Validation.IWorkflowFileValidator], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = LightValidationService (ReflectionActivator), Services = [UiPath.Studio.Plugin.Workflow.Validation.LightValidationService, UiPath.Studio.Plugin.Workflow.Validation.ILightValidationService], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope —> An exception was thrown while invoking the constructor ‘Void .ctor()’ on type ‘LightValidationService’. —> Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. (See inner exception for details.) (See inner exception for details.) (See inner exception for details.)}

have re-installed the UiPath multiple times by deleting all the related folders still no luck.

I really need to continue working and this error just appear from one day to another, I dont know how solve it.

really required your help much appreciated.
Regards,
Sergio Monge.

Hello @Sergio_Monge ,

This is happening for all the projects?
Or for a specific one or for only the new ones?

In this specific one, did you tried to delete the project.json file? When you start Main.xaml it will be recreated.

A comment from this forum was like:
" This error is occurs because of your NuGet.Config file is corrupted.
Solution : Replace NuGet.Config file from another working studio PC
. file Location - C:\Users\user name \AppData\Roaming\NuGet\NuGet.Config"

Also, if you use the enterprise version, you can open a ticket with UiPath Support team.

I hope it helps.

Vasile.