function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shanke_PaudelShanke_Paudel 

Web Services API Referencing problem

i am trying this walkthrough in .net

http://www.salesforce.com/us/developer/docs/api/index_Left.htm#CSHID=calls.htm|StartTopic=Content%2Fcalls.htm|SkinName=webhelp

 

when i add 

using Walkthrough.sforce;

i get this error

using Walkthrough.sforce;

Error 3 The type or namespace name 'sforce' does not exist in the namespace 'Walkthrough' (are you missing an assembly reference?) E:\Shanker\Lab\Walkthrough\Walkthrough\Program.cs 6 19 Walkthrough

 

What could be the posible reason of this error.

code inmy app.config looks like this

 

<Walkthrough.Properties.Settings>
<setting name="Walkthrough_sforce_SforceService" serializeAs="String">
<value>https://login.salesforce.com/services/Soap/c/29.0</value>
</setting>
</Walkthrough.Properties.Settings>
</applicationSettings>

Ashish_SFDCAshish_SFDC
Hi Shanke, 

See the below links for resolution and documentation of this issue. 

http://www.gitshah.com/2011/06/visual-studio-2010-fixing-referenced.html

http://blogs.msdn.com/b/csharpfaq/archive/2004/04/29/why-did-i-receive-the-error-the-type-or-namespace-lt-namespace-name-gt-does-not-exist-in-the-class-or-namespace-lt-parent-namespace-gt-are-you-missing-an-assembly-reference.aspx


Regards,
Ashish