Lars Lindholm
2016-08-11 08:56:03 UTC
Hi,
I have a structure I need to apply to an byte array. To do this I have a
VB Structure with marshaling commands to enforce proper packing and
ensure correct interpretation.
This have worked in a vs environment before and now I'm trying to move
over to a monodevelop environment. I have tried with the latest
mono-basic compiler from the github repo(Mono 4.6 - master/c93133d).
When trying to compile I get: vbnc : Command line : error VBNC99999:
Unexpected error: Specified cast is not valid.
This might be related to this bug:
https://bugzilla.xamarin.com/show_bug.cgi?id=2867
I'm attaching a complete output and source for a minimal example where
commenting away the marshal command makes it compile and leaving it in
makes it crasch.
Best regards
Lars Lindholm
I have a structure I need to apply to an byte array. To do this I have a
VB Structure with marshaling commands to enforce proper packing and
ensure correct interpretation.
This have worked in a vs environment before and now I'm trying to move
over to a monodevelop environment. I have tried with the latest
mono-basic compiler from the github repo(Mono 4.6 - master/c93133d).
When trying to compile I get: vbnc : Command line : error VBNC99999:
Unexpected error: Specified cast is not valid.
This might be related to this bug:
https://bugzilla.xamarin.com/show_bug.cgi?id=2867
I'm attaching a complete output and source for a minimal example where
commenting away the marshal command makes it compile and leaving it in
makes it crasch.
Best regards
Lars Lindholm