Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct Packing Pattern (Support C# & C++/WinRT) #1

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

kitUIN
Copy link

@kitUIN kitUIN commented Jun 24, 2024

  • Fix .nuspec/.targets To Support C# and C++/WinRT
  • Use Generic.xaml , automatic merging of xaml resource files
  • Fix WinUI3 x86 __cdecl -> __stdcall

@HO-COOH
Copy link
Owner

HO-COOH commented Jun 25, 2024

After the changes, a newly created C++UWP project is not able to run.
c7c26a363a05e6b1e9a951f8a278517f

@kitUIN kitUIN changed the title Correct Packing Pattern Correct Packing Pattern (Support C# & C++/WinRT) Jun 25, 2024
UWPExample/UWPExample.vcxproj Outdated Show resolved Hide resolved
UWPExample/App.xaml Outdated Show resolved Hide resolved
@HO-COOH
Copy link
Owner

HO-COOH commented Jul 4, 2024

Sorry, but I am no longer able to build the UWPCsharpExample project, and got these errors

1>------ Build started: Project: UWPCSharpExample, Configuration: Debug x64 ------
NU1202: Package WinUIEssential.UWP 1.2.7 is not compatible with uap10.0.17763 (UAP,Version=v10.0.17763). Package WinUIEssential.UWP 1.2.7 does not support any target frameworks.
NU1202: Package WinUIEssential.UWP 1.2.7 is not compatible with uap10.0.17763 (UAP,Version=v10.0.17763) / win10-arm. Package WinUIEssential.UWP 1.2.7 does not support any target frameworks.
NU1202: Package WinUIEssential.UWP 1.2.7 is not compatible with uap10.0.17763 (UAP,Version=v10.0.17763) / win10-arm-aot. Package WinUIEssential.UWP 1.2.7 does not support any target frameworks.
NU1202: Package WinUIEssential.UWP 1.2.7 is not compatible with uap10.0.17763 (UAP,Version=v10.0.17763) / win10-arm64-aot. Package WinUIEssential.UWP 1.2.7 does not support any target frameworks.
NU1202: Package WinUIEssential.UWP 1.2.7 is not compatible with uap10.0.17763 (UAP,Version=v10.0.17763) / win10-x64. Package WinUIEssential.UWP 1.2.7 does not support any target frameworks.
NU1202: Package WinUIEssential.UWP 1.2.7 is not compatible with uap10.0.17763 (UAP,Version=v10.0.17763) / win10-x64-aot. Package WinUIEssential.UWP 1.2.7 does not support any target frameworks.
NU1202: Package WinUIEssential.UWP 1.2.7 is not compatible with uap10.0.17763 (UAP,Version=v10.0.17763) / win10-x86. Package WinUIEssential.UWP 1.2.7 does not support any target frameworks.
NU1202: Package WinUIEssential.UWP 1.2.7 is not compatible with uap10.0.17763 (UAP,Version=v10.0.17763) / win10-x86-aot. Package WinUIEssential.UWP 1.2.7 does not support any target frameworks.

I build the UWPPackage nuget first, then install to the UWPCsharpExample project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants