Closed jmecosta closed 7 months ago
Hello, the packaging project does not support the property 'TargetFrameworks' found on your dotnet project. The packaging project needs to build for a specific framework, so specifying the property 'TargetFramework' should fix the error you are seeing.
Alright thanks for the clarification. Maybe improving the error message would help... I would never concluded this based on the entry point 😀
On Wed, May 4, 2022, 01:56 scoban @.***> wrote:
Hello, the packaging project does not support the property 'TargetFrameworks' found on your dotnet project. The packaging project needs to build for a specific framework, so specifying the property 'TargetFramework' should fix the error you are seeing.
— Reply to this email directly, view it on GitHub https://github.com/microsoft/msix-packaging/issues/511#issuecomment-1116735595, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH6HSCXQAIFP37W6U4DWCTVIGVI5ANCNFSM5UPDQJCA . You are receiving this because you authored the thread.Message ID: @.***>
@sbanni do u want to keep this open to improve the error message? otherwise you can closed this.
Hi
We have a sdk type of library that provides custom base for our wpf apps... Then each exe inherits from Fusion.App instead of System.Windows.Application
MSIX is not able to figure out the entry point for this scenario.
exe:
wapproj
appxmanifest:
Results in: 2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\DesktopBridge\Microsoft.DesktopBridge.targets(744,5): error : Specified EntryPointExe '' was not found in the project outputs.
Creating a basic wpf net6-windows with the same basic wap project works...
My guess is that my app entry point is not the default you would find in a wpf app. we have our custom framework that kickoff the app: Like this
So the all msix is confused and doesnt really know where the entry point is...
How to package this kind of tool?
tried also, speficiing directly the exe and entry point that ILSpy provides but same error <Application Id="App" Executable="SupportTool/SupportTool.exe" EntryPoint="SupportTool.SupportToolApp.Main">
Thanks in advance
Regards
Jorge Costa