In my .NET MAUI project, I need to use a native interop DLL. Following an example on the Internet, I defined the following in my .csproj file:
<ItemGroup Condition="'$(RuntimeIdentifier)' == 'win-x64'">
<NativeReference Include="External\MyInterop.dll" />
</ItemGroup>
However, when I build the solution from within VS 2022, the file MyInterop.dll is not getting copied to the location where the .exe is created.
What is it that I am missing?