I have an ATL C++ project I want to add to the windows store. I followed the instructions here: https://learn.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-packaging-dot-net But when I go to build my appx package by right clicking on the project, I get an error:
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Microsoft\DesktopBridge\Microsoft.DesktopBridge.targets(179,5): error MSB4044: The "GenerateDesktopBridgeAppxManifest" task was not given a value for the required parameter "EntryPointExe".
I added a reference to my project as in the application section, and set it as the entrypoint. However, the tick box doesn't seem to stay applied, even though the project name shows up in bold below Applications.
Inside the Package.appxmanifest this is under applications:
<Applications>
<Application Id="App"
Executable="$targetnametoken$.exe"
EntryPoint="$targetentrypoint$">...
Should the macros have been substituted at some point?
I also tried by using the project under the C++ section instead of C# as shown in the first instructions, but also got the error.
It appears my problem was caused by a different name being used for the output of the project.