-
I referenced the Resource Dictionary in another project as above. It works fine on Windows, but an error occurs on mobile such as iOS and Android. System.Reflection.TargetInvocationException: 'Exception has been thrown by the target of an invocation.' Is there any way to solve this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Thanks for the report. You're likely getting another exception inside the |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply. I could reproduce this issue in an empty project. There was a issue when uploading, so I recreated the project again and the issue disappeared. In the previous project, the Build action of the Resource Dictionary was set to Content. Changing the build action to page solved the issue. |
Beta Was this translation helpful? Give feedback.
Thanks for the reply.
I could reproduce this issue in an empty project. There was a issue when uploading, so I recreated the project again and the issue disappeared. In the previous project, the Build action of the Resource Dictionary was set to Content. Changing the build action to page solved the issue.