The project.json file is taking a wrong .xaml file in the “main” parameter in the project workflow, how to change it to the actual Main.xaml file. If i manually edit the project.json, and i publish the Project, the project.json takes back the wrong file name as the entry point to the bot flow.
I had renamed the first Main.xaml file that was created when the Project was first created to “GetSmartSheetData.xaml”, Later i created a separate workflow file by name. “Main.xaml” file, now it takes the "GetSmartSheetData.xaml’ as the “main” parameter in project.json. Even if i manually change it in project.json, while publishing the project, the value of “main” get set to “GetSmartSheetData.xaml”
Yes i have edited the project.json to use “Main.xaml” file, but when i Publish the project, it takes the other file as “main” and project.json get changed to the other file.
If we right click on the .xaml file there is an option to “Set as Main” i enabled it now the project.json is taking the Main.xaml file as the “main” parameter even when i publish it. It looks to be working.