Features
- #10378: Added support for VMware Workstation Shared Mode - @icnocop.
- #15: Added support for getting the display name of a virtual machine - @neilgierman.
Misc
- #7: VMWareTasks.proj's vixcom target needs to be updated to use Visual Studio 2005's tlbimp.exe - @icnocop.
- Throwing specific exceptions derived from VMWareException - @icnocop.
- Upgraded to Visual Studio 2010 and targeting .NET Framework 4 - @icnocop.
Features
- First release off Github - @dblock.
- Added support for VixCOM 1.11. Record/Replay has been deprecated, see VixCOM Release Notes - @mikewalker.
Misc
Vestris.VMWareLib.Tools.Windows.Shell.RunCommandInGuest
does not swallow exceptions in the finally block - @icnocop.- #10296: Using Sandcastle and JDK from Tools directory - @icnocop.
Features
- #8352: Refactored
GuestProcesses
to return aProcessCollection
class that inherits fromDictionary
. - Added a
FindProcess
method toProcessCollection
. - Added a
WaitForVMWareUserProcessInGuest
function that waits for the vmware user process to exist. - Added
WaitForVMwareUserProcess
MsBuild task. - Added
WaitForVMwareUserProcess
toIVMWareVirtualMachine
COM interface. - Added snapshot support and
GetConfiguration
toVMWareTest
inVMWareLibUnitTests
. - #1627 and #8267: The host, username, and password parameters are now required when connecting to a vmware esx/esxi/vi server and an
ArgumentException
is thrown if they are invalid. - #8622: Catching and throwing
Exception
inVMWareLib
to include more relevant details on error. - #8357: Added ability to pass options and a timeout to the
Vestris.VMWareLib.Tools.Windows.Shell.RunCommandInGuest
method. - #9691: Added generated xml documentation files to the zip download.
Bugs
- #251057: Added missing
VMWareComTools.dll
.
Misc
- Added the specified number of milliseconds to a thrown
TimeoutException
.
Features
- Added support for VixCOM 1.8.1, 1.9 and 1.10. VMWareTasks works against all 1.6.2, 1.7.0, 1.8.0, 1.8.1, 1.9 and 1.10 versions.
- Added
Vestris.VMWareLib.MSBuildTasks.dll
that adds support for MSBuild with MSBuild tasks that implement most common functions. - Added
Vestris.VMWareLib.VMWareRootSnapshotCollection.RemoveSnapshot
that accepts a configurable timeout. - Added documentation on contributing to VMWareTasks, including how to setup a development environment.
- Added
Vestris.VMWareLib.VMWareVirtualMachine.RunProgramInGuest
that accepts a timeout, but no options.
Interface Changes
- The
VMWareVirtualMachine.OpenUrlInGuest
API has been marked obsolete. It will be removed in a future release.
Bugs
- 5138:
Tools.Windows.Shell.GetEnvironmentVariables
fails with a "File not found" error on some x64 systems where%tmp%
resolves to a non-existent path. - 214878: Library throws
RPC_E_WRONG_THREAD
in apartment-threaded scenarios.
Features
- Added support for VixCOM 1.8.0. VMWareTasks works and tested against all 1.6.2, 1.7.0, 1.8.0 versions.
- Added support for VMWare Player. Requires VixCOM 1.8.0.
Interface Changes
VMWareSnapshotCollection
,VMWareRootSnapshotCollection
andVMWareSnapshot
are nowIDisposable
.VMWareSharedFolderCollection
is nowIDisposable
.VMWareRootSnapshotCollection.CreateSnapshot
now returns aVMWareSnapshot
that needs to be disposed of.
Bugs
VMWareVirtualMachine.Snapshots.CreateSnapshot
AVs against ESX4.
Features
- Added support for VixCOM 1.7.0. VMWareTasks works against both 1.6.2 and 1.7.0.
- Added a
VMWareComLib
andVMWareComTools
that expose a full scriptable COM interface. - Added a
vestris-vmwarecomlib.jar
andvestris-vmwarecomtools.jar
that exposes a Com4J JNI wrapper forVMWareComLib
andVMWareComTools
to Java clients.
Misc
- All
VMWareLib.Tools
objects are nowIDisposable
and explicitly release reference to the virtual machine. - All assemblies are strongly named and signed.
- The source in the release package can now be built without any changes.
Bugs
VMWareRootSnapshotCollection.CreateSnapshot
doesn't pass flags to the COM API.
Interface Changes
VMWareVirtualHost.ConnectToVMWareServer
takes an additional username and password. Pass blank values to connect to a local VMWare Server 1.x.
Completed VixCOM API full support.
-
1626:
VMWareVirtualHost.Register
andUnregister
. -
1631:
VMWareVirtualMachine.InstallTools
. -
1629:
VMWareVirtualMachine.Snapshots.Enabled
. -
1630:
VMWareVirtualMachine.GetFileInfoInGuest
. -
2688:
VMWareVirtualMachine.Clone
andVMWareSnapshot.Clone
. -
2691:
VMWareVirtualMachine.Delete
. -
1628:
VMWareVirtualMachine.BeginRecording
andEndRecording
,VMWareSnapshot.BeginReplay
andEndReplay
. -
1633:
VMWareVirtualMachine.Reset
,Suspend
,Pause
,UnPause
,IsPaused
andIsSuspended
. -
1913:
VMWareVirtualHost.IsConnected
. -
1634:
VMWareVirtualMachine.RunScriptInGuest
. -
1632:
VMWareVirtualMachine.OpenUrlInGuest
. -
1635:
VMWareVirtualMachine.UpgradeVirtualHardware
. -
Added an optional
VMWareTools
package built on top ofVMWareLib
that implements additional common VMWare tasks. -
VMWareLib.Tools.GuestOS.IpAddress
: guest operating system IP address information. -
VMWareLib.Tools.GuestOS.ReadFile
,ReadFileLines
andReadFileBytes
: read remote files as binary data or text with encoding support. -
2232:
VMWareLib.Tools.Windows.Shell.GetEnvironmentVariables
: obtain logged-in user environment. -
VMWareLib.Tools.Windows.Shell.RunCommandInGuest
: runs commands and collect console output. -
VMWareLib.Tools.Windows.MappedNetworkDrive
: maps guest operating system network resources.
Interface changes
VMWareVirtaulMachine.PowerOn
no longer callsWaitFor
- Renamed
VMWareVirtualMachine.Login
toLoginInGuest
and renamedVMWareVirtualMachine.Logout
toLogoutFromGuest
to be consistent with VIX COM API and allow power-on without tools installed.
Misc
- Added
VMWareVirtualMachine.ShutdownGuest
andPowerOff
that allow specifying shutdown parameters explicitly. - Added support for VMWare Server with
VMWareVirtualMachine.ConnectToVMWareServer
. - Exposed a
VMWareVirtualMachine.LoginInGuest
function with power options. - Lots of new documentation with examples.
Bugs
GetNamedSnapshot
behaves differently on Workstation and VI, now throws exception when snapshot not found. UseFindSnapshotByName
to get a null result when the snapshot doesn't exist.KillProcessInGuest
unit test needs to wait for process to actually die according to VMWare docs.- Removing a shared folder doesn't remove it from the collection when not the same object.
- Fixed different behavior of
ListDirectoryInGuest
between Workstation and VI. - API-level errors aren't surfaced and the callback wait will never be set when VixCOM is not installed.
- First release off CodePlex.
- Improved timeout model from busy to blocking job-based wait.
- Added support for snapshots with duplicate names.
- New Sandcastle-generated CHM documentation.
- Built with Visual Studio 2008, targeting .NET 2.0.