Build Release version issues
When I build the Release version, the using Microsoft.Tools is missing in the PMPreProcessor.cs file, and I've installed Extension for WIX. when building in vs, I get the error
23>D:\Software\VS2022\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(166,5): error MSB3073: The command “Batch\post- build.bat “Release” “... ... \build\Release\” ‘PresentMon.exe’ uiAccessOn 23>D:\Software\VS2022\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(166,5): error MSB3073: :VCEnd “Exited with code 1. 23> Completed generating project “CefNano.vcxproj” - failed.
At this point if I use the Debug configuration it can be generated successfully, but after I start CefNano, the window only shows a white background, and I'm sure that the Service that has been started, so I would also like to consult me on how to start the Debug configuration of CefNano
Have you modified the hintpath of wix?
This issue you describe seems not to relate to WiX.
23>D:\Software\VS2022\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(166,5): error MSB3073: The command “Batch\post- build.bat “Release” “... ... \build\Release\” ‘PresentMon.exe’ uiAccessOn
This indicates that the post-build batch command is failing. That command primarily deploys CEF resources to their destination folders and signs the executable. Have you followed the exact steps in building.md to setup the build environment? If not, I suggest that as a first step.
As for the issue running in Debug configuration, it is possible that the executable is not able to find the web resources required for the front end. You may need to edit the Visual Studio debug configuration to specify the correct working directory (suggest setting to $(OutDir) and possible supplying command line parameters to instruct the application to load its resources from the working directory (--p2c-files-working).
Closed due to inactivity. If additional help is needed, feel free to re-open.