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
thaifishythaifishy 

Cannot build project under VS 2003 after upgrading.

After upgrading to VStudio 2003, my build fails with error:

'The type or namespace 'salesforce' could not be found.'

on this line:

private static salesforce.SforceService binding = null;

I have the WSDL added in Web References and is called 'salesforce'

What else do I need to do?  I also did grab the latest WSDL for the organization, so I'm not %100 sure it is related to the VStudio upgrade...

DevAngelDevAngel

Hi thaifishy,

Not sure.  Can you post the first 20 or so lines of the Reference.cs file?

jkropkajkropka
Hello, I am having the same problem, seems that possibly a referenced file is missing: It cannot find the basicSample_vb.sforce in the Imports section. Where should that be coming from?
jkropkajkropka
Hello, I also see a reference to the wsdl file in the project, yet the
WSDL file isn't in the installation (its referencing

C:\perforce\sforce\API_V60\VS\samples\enterprise.wsdl

in the project
GlennWGlennW
If I remember correctly..... when I moved to VS 2003 I had to copy the WSDL (We use the partner) to a local web server and then delete the old reference to the webref and create a new one with the same name (pointing to the local copy)

GlennW