Plugin Does Not Create Source in Projects

Jan 15, 2008 at 1:53 AM
I cannot get the VS Plugin to actually create source code. It creates the four project files, but they are all empty. The contract in the source project looks like this:

using System.AddIn.Pipeline;

namespace QueryParserContract
{
AddInContract
public interface QueryParser
{
SearchTree BuildTree(object query);
}
}
Jan 15, 2008 at 3:04 PM
Payton,

Inherit from Systm.AddIn.Contract.IContract

It does not use the attribute, but the inheritance to decide if you have a contract in your contracts solution.

Of course, if you do not yet have a contract becuase you started with the blank solution that would also cause this, but you've got one.

Kathleen
Jan 15, 2008 at 3:05 PM
Oh, and just in case this causes a "Doh!" moment

Guess why I know the answer to your question :)