Use mycontentpage.windows.xaml to only include the ContentPage when the platform is Windows
#34389
Unanswered
AndreasReitberger
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to build a
ContentPageonly if the target platform isWindows.The reason is, the
ModelViewerPagewill use content which is only available on Windows (Helix Toolkit). So it will fail building for other platforms.I know it is possible for
CSharpfiles to use a naming likemyclass.windows.cs, then it is likeThanks for the help!
Beta Was this translation helpful? Give feedback.
All reactions