mteece / salesforce-dotnet

Automatically exported from code.google.com/p/salesforce-dotnet
0 stars 0 forks source link

Missing using directive or reference. #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Follow Quick Start guide.
2. On step 2 use local file.
3. Copy file to Core
4. Add username and password.
5. Open Solution and build

What is the expected output? What do you see instead?
Expected a successful build, but received the error:
"The type or namespace name 'Account' could not be found (are you missing a 
using directive or an assembly reference?)"

I'm unsure what reference I may be missing, and I attempted to create a new 
Account class, but that didn't seem to resolve the issue. I'm assuming some 
sort of AccountObject needs to be created for the generic list, but if that's 
the case where?

This error also occurs for 'Product2', 'Contact', 'Contract', 'Task', and 
'Lead'.

What version of the product are you using? On what operating system?
salesforce-dotnet-0.1, on windows 7 using VS2008.

Original issue reported on code.google.com by Dennis.T...@gmail.com on 19 Apr 2013 at 8:10

GoogleCodeExporter commented 9 years ago
Dennis will look into this. Seems the error occurred on all aspects for base SF 
objects from the WSDL.

Original comment by mteece@gmail.com on 20 Apr 2013 at 2:30

GoogleCodeExporter commented 9 years ago
Did this get resolved?

Original comment by b...@trioro.com on 29 Aug 2013 at 3:21

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I could not recreate this issue on Windows 7 using VS2008 or VS2010. Following 
the setup steps outlined on the project home.

 * Did you generate and download the Enterprise WSDL from your Salesforce account (production or developer account)?
 * With the WSDL utility run did you copy and add the SforceService.cs to the VS project in Gaiaware.Salesforce.Core?
 * Did you create an API account and generate an API key token for API access with that account?

Original comment by mteece@gmail.com on 29 Aug 2013 at 4:26