-
When referencing a .NET MAUI Single Project from a test project, MSBuild throws an error while attempting to copy native iOS resources from a printer SDK (distributed via NuGet). The test project does not target iOS and does not directly depend on the SDK, yet the build fails due to resource copying.
This issue blocks me from writing unit tests for shared logic in my MAUI app. What can I do? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Could you have a variable in your .csproj and not include the native printer SDK from test project, or would MAUI project fail then? |
Beta Was this translation helpful? Give feedback.
-
It's connected with: |
Beta Was this translation helpful? Give feedback.
It's connected with:
#17828
Funny thing:
Exactly the same solution works perfectly in Rider.