Not able to Publish package in UIPath - entry point could not be found

Hi , I am trying to publish project and getting following error .

“Could not publish project entry point could not be found” .

tried multiple options
1.Updated all Activities.
2. tried to UN-install and install

Please suggest solution
image

@Yogi

Welcome to the UIpath Community.

Are you trying to publish Main.xaml file of the process or any other file are you publishing it.

2 Likes

Hi lakshman,

Thanks for your reply its Main.xaml

Thanks
Yogi

1 Like

@Yogi

Could you please try to publish some other project and check once.

Hi @Yogi

Is the main.xaml file marked as the main file in your solution where the execution starts?

Also make sure there are no run time or debug errors

1 Like

Thanks all for providing valuable input , it seems in my project.json my main.xaml file name changed to main(Autosaved).xaml , and that was causing this issue.

5 Likes

The issue is possible due to cross package reference in project.json or mail.xaml (or other xaml) file. One way to solve it is to create another new project and copy the activities in the old project to the new project.

If you get this error, right click on the “main” activity and make sure it is set to main (also it should appear bold)

cross Link: