Closed mikewalker closed 12 years ago
I would take this change if it were a bit more generic. Add another version of or extend VMWareVixHandle.GetProperty
that supports a default when it's not available. This also needs a unit test retrieving a dummy property and making sure the default was returned.
Btw, since you're using Vix 1.11, I would like a cleaner pull request than #2 that does a full upgrade, with docs, etc. Also please don't forget to update HISTORY.md. Thanks!
Being a bit more generic is a good point, you never know when additional properties will get removed. :)
I'll take a look at cleaning it up a bit, add unit tests and update history.
Hi,
I was looking into updating the unit tests and have run into an issue. I have seen this with other projects but don't recall what the issue was. As far as I can tell all the dependancies are in place. Any ideas, I did try doing a x86 build rather than Any CPU incase that was it.
Could not load file or assembly 'Vestris.VMWareLibUnitTests, Version=1.7.629.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Update: Problem solved
Closed in favor of new pull request on its own feature branch "Vix111".
Hi,
I added this to get around the problem with the constants that were removed in VixCom 1.11. It should also work with prior versions before the constants where removed. I wasn't using the feature but the removed constants was blocking the buid.