Cannot Compile in VS2010

Post your questions regarding using the Vault and Fortress API in your programs.

Moderator: SourceGear

Post Reply
bermudabob
Posts: 10
Joined: Fri May 28, 2010 3:09 am

Cannot Compile in VS2010

Post by bermudabob » Fri May 28, 2010 3:38 am

I'm using VS2010 and have added references to VaultClientIntegrationLib, VaultClientOperationsLib & VaultLib.

I have added 'using' statements for each one of these at the top of the class I created to test them.

I added some code from one of the examples here and noted that the Intellisense was working for the new objects , I could examine them fine in the object browser.

However, when I come to build and run the project, I get

Code: Select all

Error	4	The type or namespace name 'VaultClientIntegrationLib' could not be found (are you missing a using directive or an assembly reference?)
in fact , I get it for all 3 objects.

What have I missed?

Rob

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Re: Cannot Compile in VS2010

Post by jclausius » Fri May 28, 2010 9:16 am

Rob,

When you build, at what step does the compilation error refer to? Is it referring to a line in a file?

Would you be willing to to upload your sample project so we could take a look?
Jeff Clausius
SourceGear

bermudabob
Posts: 10
Joined: Fri May 28, 2010 3:09 am

Re: Cannot Compile in VS2010

Post by bermudabob » Mon Aug 23, 2010 2:53 am

Sorry for the incredibly late reply - its all sorted now - I'd got part of the reference wrong...

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Cannot Compile in VS2010

Post by lbauer » Mon Aug 23, 2010 8:10 am

Thanks for the update. That's good news. : )
Let me know if we can be of assistance in the future.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply