Unable to create new project
sqlpadawan
Posts: 6
I'm trying to get a .net project up and running using the compare SDKs, but when I create a new project, and add references to the v11 sdk dlls, I get an error:
Error 2 The name 'Project' does not exist in the current context
on this line:
//load up the project
Project projectLoadedFromDisk = Project.LoadFromDisk(projectName);
which is straight out of the sdk examples. I've added references for all of the v11 dlls. My using block looks like this:
using RedGate.SQLCompare.Engine;
using RedGate.SQLDataCompare.Engine;
using RedGate.Shared.SQL.ExecutionBlock;
This has to be so simple, but I can't figure out why, can someone help?
Error 2 The name 'Project' does not exist in the current context
on this line:
//load up the project
Project projectLoadedFromDisk = Project.LoadFromDisk(projectName);
which is straight out of the sdk examples. I've added references for all of the v11 dlls. My using block looks like this:
using RedGate.SQLCompare.Engine;
using RedGate.SQLDataCompare.Engine;
using RedGate.Shared.SQL.ExecutionBlock;
This has to be so simple, but I can't figure out why, can someone help?
Comments
Test Engineer
Redgate Software Ltd.
Test Engineer
Redgate Software Ltd.