StackOverflowException using logger on a command line
Using msbuild.exe, version 2.0.50215.44, I'm attempting to build a .sln from the command prompt. If I let the generated output go to the console, the project builds fine. I then try to attach a logger, at which point msbuild fails. The info on the command line states "Process is terminated due to a StackOverflowException."
After building the logger, I drop the file under c:. The program call looks like this:
msbuild.exe <solution_name> /logger:SimpleLogger2,c:\SampleLogger2.dll
My logger code looks like this: using System;
using System.Collections.Generic;
using System.Text;
namespace SampleLogger2
{
public class SampleLogger2 : Microsoft.Build.Framework.ILogger
{
public string Parameters
{
get { return Parameters; }
set { Parameters = value; }
}
public Microsoft.Build.Framework.LoggerVerbosity Verbosity
{
get { return Verbosity; }
set { Verbosity = value; }
}
public void Initialize(Microsoft.Build.Framework.IEventSource eventSource)
{
}
public void Shutdown()
{
}
} Am I perhaps calling msbuild incorrectly? Or maybe something isn't quite right with the logger? (I had more stuff in the logger, but pulled it when I began having problems.) Any thoughts would be appreciated.
}

