We have the same problem on the project and we also use cefSharp.wpf, but we need to distribute our application through the Store.
There is a workaround through the flag <FilterSatelliteAssembliesForMakePri>false</FilterSatelliteAssembliesForMakePri> in the WAP project, but I'm not sure its display will have a positive impact on the application.
Windows Desktop Applciation installer
I want to create single Click Once Installer for Windows Desktop application So I have added Windows Application Packaging Project. and Added reference of .exe file . now i am going to create app Package and getting these error
Severity Code Description Project File Line Suppression State Error PRI175: 0x8007000b - Processing Resources failed with error: An attempt was made to load a program with an incorrect format. WapProjTemplate1 GENERATEPROJECTPRIFILE 1
Severity Code Description Project File Line Suppression State Error PRI222: 0xdef00001 - Unspecified error occurred. WapProjTemplate1 GENERATEPROJECTPRIFILE 1
I have used below NuGet Package. If I remove these three Packages than it will work fine but i cant remove these package that i needed for other Funcanility.
CefSharp-83.4.20.0
CefSharp.core-83.4.20.0
CefSharp.WinForms-83.4.20.0
Can you suggest me to solve this
i am using VS2019 -16.6.5
2 answers
Sort by: Most helpful
-
Dmitry Naboychenko 6 Reputation points
2020-08-03T08:37:44.977+00:00 -
Richard Zhang-MSFT 6,936 Reputation points
2020-07-28T05:31:06.43+00:00 Hello,
Welcome to Microsoft Q&A.
Windows Application Packaging Project
is used to convert win32 applications into UWP applications (Desktop-Bridge).UWP is a sandbox application. For UWP applications, some desktop APIs are not supported. Applications that include this part of the API will not be able to be converted.
If you only plan to create a single executable file instead of submitting it to the Microsoft Store, then you can try the traditional WinForms packaging method.
Thanks.