The Winform designer in the application set does not open properly
Posted: Tue Jan 17, 2023 8:14 am
I have found some problems with code protection using VMP.
1. If it is a normal non-UI project, then it will prompt for a missing dependency assembly.
Workaround: I found that adding a dependent assembly solved it. Although this assembly is not directly related, it has to be added. Failure to do so will result in a runtime exception prompting this issue. I think this is very unreasonable and requires extra effort to deal with these things.
2. If a Winform project depends on a VMP-protected assembly, then it will cause the form designer to not work properly when opening a Winform form, prompting errors such as unable to initialize, even if all associated dependencies are added.
1. If it is a normal non-UI project, then it will prompt for a missing dependency assembly.
Workaround: I found that adding a dependent assembly solved it. Although this assembly is not directly related, it has to be added. Failure to do so will result in a runtime exception prompting this issue. I think this is very unreasonable and requires extra effort to deal with these things.
2. If a Winform project depends on a VMP-protected assembly, then it will cause the form designer to not work properly when opening a Winform form, prompting errors such as unable to initialize, even if all associated dependencies are added.