SCOM VSAE Authoring–Part 1: VSAE

Let’s start by taking a look at a few important areas of VS Studio in regards of MP Authoring. Remember that is is not a VS training. There is probably a lot more to it than what I will post about, but I will try to focus and what I know and what I learn that helps authoring for SCOM.

First, let’s create a solution, which could have multiple MPs in it (projects). Typically a library MP, a monitoring MP, a Reporting one and a visualization, if you want it very strictly separated. A good general rule for VS: remember naming things before you hit ok. You will see why.

image

For most of the basic stuff, I’m still using 2007 compatible MPs:

image

Before hitting OK, make sure you fill the lower section:

image

Second, MP references. In the old AC, there was a tiny button for that:

image

Now, I believe it is more explicit:

image

The important part here is that if you are going to reuse things from other sources, you need to make sure the alias to the references match. You’ll later see that you should also use the #alias directive to make it easier to manage references in snippets.

image

Note the version of the Library is 6.1.7221.0, meaning, it is a SCOM 2007 reference. Make sure you reference 2007 mp files when adding other references. If you select 2012 compatibility, add references accordingly.

Remember to also set the basic configuration of the project:

image

image

Note this:

image

Click on image

and edit the XML:

image

image

If you are working to drop the MPs in a network folder like I am, make sure you change the Output Path.

image

And decide how the deployment goes:

image

Create a folder for you snippet Templates:

image

Stay tuned for Part 2, where we will start building classes and discoveries.

Hope this helps!