See title. The following csproj file for a projection project (made by following the article) will result in an error
Build started at 19:52...
1>------ Build started: Project: ClassLibrary1, Configuration: Debug Any CPU ------
1>0 IID calculations/fetches patched
1>ClassLibrary1 -> Z:\Throwaway\ClassLibrary1\_build\AnyCPU\Debug\ClassLibrary1\bin\ClassLibrary1.dll
1>C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VisualStudio\v17.0\AppxPackage\Microsoft.AppXPackage.Targets(6214,5): error APPX0505: The processor architecture of your project 'neutral' doesn’t match the processor architecture 'x64' of the referenced project 'RuntimeComponent1'. Change the targeted processor architectures to align between your project and its references.
1>Done building project "ClassLibrary1.csproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
========== Build completed at 19:52 and took 01.066 seconds ==========
Type of issue
Code doesn't work
Feedback
See title. The following csproj file for a projection project (made by following the article) will result in an error
Page URL
https://learn.microsoft.com/en-us/windows/apps/develop/platform/csharp-winrt/net-projection-from-cppwinrt-component
Content source URL
https://github.com/MicrosoftDocs/windows-dev-docs/blob/docs/hub/apps/develop/platform/csharp-winrt/net-projection-from-cppwinrt-component.md
Author
Steven White (@stevewhims)
Document Id
16cfa258-50bc-5d50-c3f3-76b2f81e0b8a