This project provides source code examples and templates for you to use when authoring Virtual Machine Manager Console Add-ins.
How to Use the Examples
In the source code, or the release zip file, there is a project file that is named
AddInReferences.proj. This project must be edited by hand in notepad or some other text editor. The project is referenced by the actual example projects for the purpose of automatically including references to the Virtual Machine Manager UI Add-in DLLs.
In this project file there is a
PropertyGroup node that defines an item used by the DLL references. This item is named
VmmAdminConsolePath. You must change the value of this item to map to the folder where the VMM DLLs are located.
This file should then be saved and the other projects loaded into Visual Studio. For example, the
VmmAdminConsolePath value would be changed from the default:
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VmmAdminConsolePath>c:\Program Files\Microsoft System Center 2012\Virtual Machine Manager\bin</VmmAdminConsolePath>
</PropertyGroup>
... more nodes ...
to the actual location of the files on your hard drive:
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VmmAdminConsolePath>c:\folder1\mydlls</VmmAdminConsolePath>
</PropertyGroup>
... more nodes ...
Documentation
The Virtual Machine Manager UI Add-ins project is documented through the Virtual Machine Manager Console SDK documentation available on the TechNet wiki here:
http://msdn.microsoft.com/en-us/library/jj860339.aspx