Hi,
My Windows Store package manifest declares the application like this :
<Application Id="MyApp.App" Executable="$targetnametoken$.exe" EntryPoint="MyApp.App">
I have several target builds (debug & release) each one outputs a .exe with a specific name, respectively MyApp_Debug.exe & MyApp_Release.exe.
If I build & run the debug target, everything work well. But, then if I switch to the release target and build & run it, I got an error :
"Package.AppxManifest : error APPX0703: Manifest references file 'MyApp_Debug.exe' which is not part of the playload."
It seems that Visual still looking for the .exe file related to the previous build of the debug target.
If I edit the Package.AppxManifest as XML with any fake modification (like adding any space or line return somewhere), just to force it saved again, the error is finally solved and the release build works as well.
Of course, If I go back to debug: same issue, it's seraching the release .exe instead of the debug one until I put a modification in the manifest.
It looks like there is a kinf of cache not refreshed.
Any idea to workaround thi Visual bug more conveniently ?
Thanks.