ERROR during publishing a package

Hello there,
Make sure your project folder doesn’t contains any xaml file which is incomplete (any error ).
Also make sure all the xaml related to main(in case your invoking any child workflow) resides in same project folder.