When using UWP extension to open Consult app(.NET framework) will get (Error DEP0700: Registration of the app failed. [0x80073CF6] AppxManifest.xml(33,10): Error 0x80080204: Registration failed: b0b2f355-4232-447c-890a-feec3ec7ad4c_1.0.0.0_x86__hbnhee7zt39k0 package,because can't not find EntryPoint or StartPage )
in visual studio 2019.
in Windows10.
Using FullTrustProcessLauncher to lunch other app
protected async override void OnNavigatedTo(NavigationEventArgs e)
{
base.OnNavigatedTo(e);
if (ApiInformation.IsApiContractPresent("Windows.ApplicationModel.FullTrustAppContract", 1, 0))
{
await FullTrustProcessLauncher.LaunchFullTrustProcessForCurrentAppAsync();
}
}
Cousule app start here
namespace CollectDataAP
{
class Program
{
static private AppServiceConnection connection = null;
static void Main(string[] args)
{
Console.ReadLine();
InitializeWMIHandler();
InitGlobalVariable();
string tempForUWP = "", tempForOutput = "";
For side loading in Windows Application package project
<Extensions>
<uap:Extension Category="windows.appService">
<uap:AppService Name="SampleInteropService" />
</uap:Extension>
<desktop:Extension Category="windows.fullTrustProcess" Executable="CollectDataAP\CollectDataAP.exe" />
</Extensions>
File structure
When I redo this this UWP project and just only side-loading Console App. it can normally run. Can give me some direction?

Just commend
in Package.appxmanifest
Remove all project except UWP
commend
await FullTrustProcessLauncher.LaunchFullTrustProcessForCurrentAppAsync();And compiler, only show UWP.
Than revert to original can sove this problem.