Main.xaml: System.ArgumentException: Error in project-level import 'Global' at 'Global' : 'Global' not allowed in this context; identifier expected. at Microsoft.CodeAnalysis.VisualBasic.GlobalImport.Parse(IEnumerable`1 importedNames) at System.Acti

hello can you explain why this error while iam debugging this code showing validation error

Regards
Dhanush

@Anil_G @ppr can you please explain why this error

Regards
Sathyagiri

@Dhanush_S,

It seems there is something wrong at Import namespace level and it’s not giving any specific reason also.

If possible please share the code here if not possible, try to create new project check if the issue is appearing in it also or not.

Thanks,
Ashok :slight_smile:

Hi @Dhanush_S

Try by removing unused Imports as shown below

Hope it helps!!

tried but still not working @pravallikapaluri