<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Visual Studio on Remko's Blog</title><link>https://remkoweijnen.nl/blog/tags/visual-studio/</link><description>Recent content in Visual Studio on Remko's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 13 Jul 2014 23:50:59 +0000</lastBuildDate><atom:link href="https://remkoweijnen.nl/blog/tags/visual-studio/index.xml" rel="self" type="application/rss+xml"/><item><title>non-existent schema type 'Snmp!System.SnmpVarBindsSchema' error in SCOM</title><link>https://remkoweijnen.nl/blog/2014/07/13/non-existent-schema-type-snmpsystem-snmpvarbindsschema-error-scom/</link><pubDate>Sun, 13 Jul 2014 23:50:59 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2014/07/13/non-existent-schema-type-snmpsystem-snmpvarbindsschema-error-scom/</guid><description>&lt;p&gt;&lt;img loading="lazy" decoding="async" title="SCOM Logo" alt="System Center Operations Manager Logo" src="https://remkoweijnen.nl/blog/wp-content/uploads/2014/07/image_thumb.webp" width="89" align="right" height="95" /&gt;Today I encounterd what seems to be a bug in the &lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=30169"&gt;System Center 2012 Visual Studio Authoring Extensions&lt;/a&gt;. I wanted to define a Performance Collection Rule that reads out the percentage of free memory from an SNMP device. &lt;/p&gt; &lt;p&gt;Since the device returns only the percentage of used memory I needed to use the &lt;a href="http://msdn.microsoft.com/en-us/library/jj130485.aspx" target="_blank"&gt;ComputedPerfProvider&lt;/a&gt; provider to substract the used memory percentage from 100.&lt;/p&gt; &lt;p&gt;I could of course report used memory instead of free memory but I wanted the resulst to appear in the default SCOM Performance View, which only lists Free Memory:&lt;/p&gt; &lt;p&gt;&lt;a class="glightbox thickbox" href="https://remkoweijnen.nl/blog/wp-content/uploads/2014/07/image1.webp" data-type="image" data-gallery="post-3472"&gt;&lt;img loading="lazy" decoding="async" title="SCOM Performance View" style="display: inline" alt="System Center Operations Manager | Default Performance View" src="https://remkoweijnen.nl/blog/wp-content/uploads/2014/07/image_thumb1.webp" width="240" height="109" /&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Where to find System.NetworkManagement.Monitoring.mp?</title><link>https://remkoweijnen.nl/blog/2014/07/13/where-to-find-system-networkmanagement-monitoring-mp/</link><pubDate>Sun, 13 Jul 2014 13:22:13 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2014/07/13/where-to-find-system-networkmanagement-monitoring-mp/</guid><description>&lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2014/07/image.webp" class="glightbox thickbox" data-type="image" data-gallery="post-3465"&gt;&lt;img loading="lazy" decoding="async" title="SCOM Logo" style="float: right; display: inline" alt="System Center Operations Manager Logo" src="https://remkoweijnen.nl/blog/wp-content/uploads/2014/07/image_thumb.webp" width="89" align="right" height="95" /&gt;&lt;/a&gt;I am currently working on a Management Pack for SCOM and I have studies a few examples on adding processor and memory counters. &lt;/p&gt; &lt;p&gt;These examples all reference a Management Pack named &amp;quot;System.NetworkManagement.Monitoring.mp&amp;quot; but this Management Pack is not bundled with the &lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=30169" target="_blank"&gt;System Center 2012 Visual Studio Authoring Extensions&lt;/a&gt;. &lt;/p&gt;</description></item><item><title>Error MSB4018 when building a Management Pack with Visual Studio Authoring Extensions</title><link>https://remkoweijnen.nl/blog/2014/07/08/error-msb4018-when-building-a-visual-studio-authoring-extensions/</link><pubDate>Tue, 08 Jul 2014 14:38:56 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2014/07/08/error-msb4018-when-building-a-visual-studio-authoring-extensions/</guid><description>&lt;p&gt;I am currently working on a Management Pack for System Center Operations Manager (aka SCOM). I am using the &lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=30169" target="_blank"&gt;System Center 2012 Visual Studio Authoring Extensions&lt;/a&gt; and during build of my project I suddenly got the following error: &amp;ldquo;&lt;em&gt;MSB4018: The &amp;ldquo;MergeFragments&amp;rdquo; task failed unexpectedly&lt;/em&gt;&amp;rdquo;:&lt;/p&gt;
&lt;p&gt;&lt;a class="glightbox thickbox" href="https://remkoweijnen.nl/blog/wp-content/uploads/2014/07/errorMSB4018.webp" data-type="image" data-gallery="post-3458"&gt;&lt;img loading="lazy" decoding="async" style="display: inline;" title="error MSB4018: The &amp;quot;MergeFragments&amp;quot; task failed unexpectedly." src="https://remkoweijnen.nl/blog/wp-content/uploads/2014/07/errorMSB4018_thumb.webp" alt="Visual Studio | System Center 2012 Visual Studio Authoring Extensions | C:\Program Files (x86)\MSBuild\Microsoft\VSAC\Microsoft.SystemCenter.OperationsManager.targets(234,5) | error MSB4018: The &amp;quot;MergeFragments&amp;quot; task failed unexpectedly." width="423" height="67" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I searched on this error message but wasn&amp;rsquo;t able to find anything helpful. In order to get more detailed output from MSBuild I changed the MSBuild project build output verbosity. To do this go to the Tools menu in Visual Studio and select Options. Navigate to the &amp;ldquo;Build and Run&amp;rdquo; node under &amp;ldquo;Projects and Solutions&amp;rdquo; and set both options to &amp;ldquo;Diagnostic&amp;rdquo;:&lt;/p&gt;
&lt;p&gt;&lt;a class="glightbox thickbox" href="https://remkoweijnen.nl/blog/wp-content/uploads/2014/07/VisualStudioBuildOptions.webp" data-type="image" data-gallery="post-3458"&gt;&lt;img loading="lazy" decoding="async" style="display: inline;" title="Build Options" src="https://remkoweijnen.nl/blog/wp-content/uploads/2014/07/VisualStudioBuildOptions_thumb.webp" alt="Visual Studio | Tools | Options | Projects and Solutions | Build and Run | MSBuild project build output verbosity | Diagnostic" width="411" height="238" /&gt;&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>