Converting Existing Projects or WinForm project that do not seem to instrumented

May 16, 2012 at 11:20 PM

Follow the documentation steps for "Tweak An Existing Project" and while you are editing the project file you need to also change the ItemGroup for compile.

The keyword changes from Compile to Instrument, note you do not instrument a designer file just the base class.

    <Instrument Include="OvDotNetApi.cs">
    <Compile Include="OvDotNetApi.Designer.cs">
    <Instrument Include="MemoryMappedFile.cs" />
    <Instrument Include="OvInterface.cs">

I have also seen this error when creating a instrumented winform solution.