Skip to content

Compile problem with Visual Studio 2019 in Windows 10 #210

Answered by sn4k3
sjhan12 asked this question in Q&A
Discussion options

You must be logged in to vote

The views are all binded to variables and due the not created instances while on preview mode it will trigger that markup/binding errors and because of that windows designs can't be previewed on Visual Studio designer. Think as it like: null.getProperty = Error!
As i don't care about the the preview and blind code every window i don't include safe checks for the preview loads without errors, a check imply extra instructions which are never needed on app run. For example, every tool window requires a SlicerFile instance which on design time are NULL, so that's why it fails to show. It is possible to fix this but preview doesn't provide any big value since you can never use it for drag and …

Replies: 2 comments 14 replies

Comment options

You must be logged in to vote
1 reply
@sjhan12
Comment options

Answer selected by sn4k3
Comment options

You must be logged in to vote
13 replies
@sn4k3
Comment options

@sn4k3
Comment options

@sn4k3
Comment options

@sjhan12
Comment options

@sjhan12
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants