Why Compilation failed or was cancelled error is coming while running the process in studio X?

I have updated all the packages in manage package section to its latest version but why this compilation error is coming?

Hey @vignesh_S.M

Analyze the project from
image
and check if any validation error is there.

Thanks,
Arslan

1 Like

This may happen if a variable or argument in your project shares the same name of a .net class or namespace.

For example, using the word “System” for a variable name, will run fine but cause an issue when publishing. Try checking that you don’t have any named variables that could be causing problems (avoid using any of the words listed in your Imports tab)