The only solution I can think of would be to create a MonoXna dll that
both assemblies could depend on. I don't think this would break the
XNA compatible interface of the public dlls. It seems very similar to
the dependency on the Tao assemblies.
Any other ideas to fix this?
Thanks,
-Jordan
This is not an issue, since the Microsoft.Xna.Framework.Game assembly
references the Microsoft.Xna.Framework assembly. This makes it
possible to update the MouseState.ScrollWheelValue without any
problems. I can look into implementing it (if you don't have the urge
to do it yourself).
-lavima
> --
> You received this message because you are subscribed to the Google Groups "MonoXNA" group.
> To post to this group, send email to mon...@googlegroups.com.
> To unsubscribe from this group, send email to monoxna+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/monoxna?hl=en.
>
>
MouseState.ScrollWheelValue 'set' is marked as internal.
Also, the state needs to be updated in the Mouse class, since the
MouseState is retrieved from there.
I got it to work by using Mouse.WindowHandle, but that is not a
reasonable solution. :)
-Jordan
I haven't used it before myself, but it should do the trick.
-lavima
I was able to make this work, but only after I regenerated the keys for
Microsoft.Xna.Framework.Game.
When looking into the examples for InternalsVisibleTo, I noticed that
the length of xna.pub in monoxna seems longer. Usually the public key
is 160 bytes, whereas the current ones are 288 bytes. When I
regenerate the keys, the length is 160 bytes as well.
Do you know why there is this difference, and why it appears to break
InternalsVisibleTo?
Thanks,
-Jordan
-lavima
After further investigation, the issue seems to be a bug in mono where
perhaps only 1024 bit keys work properly. The XNA keys are 2048 bit.
Here is the commit the mono commit that should fix things:
https://github.com/mono/mono/commit/8dab9d20d4d5a
And the bug report:
https://bugzilla.novell.com/show_bug.cgi?id=664618
The developer of the commit above confirmed that this should fix the
2048 bit key issue, and that it should be released in mono 2.10.
Unfortunately that means a lot of systems will not have the fix for
quite some time.
Once again, I think it would be good to consider a separate assembly
that the public XNA DLLs could depend on.
Thanks,
-Jordan
But, if we are going to continue discussing this subject, you should
create a new post with a more suitable subject.
-lavima