Ok. I have gone back to VS 2005 and I still cannot compile the sample code. I get 6 warnings and 2 errors:
Points 5 and 6 are errors. Let's face it, this code is really not a true SDK if the sample soes not compile.
1. c:\SampleC
ode\BatchReq
uestBuilder.
cs(80,5): warning CS0618: 'System.Xm
l.XmlValidat
ingReader' is obsolete: 'Use XmlReader created by XmlReader.
Create() method using appropriat
e XmlReaderS
ettings instead.
http://go.microsoft.com/fwlink/?linkid=14202'
2. c:\SampleC
ode\BatchReq
uestBuilder.
cs(80,38): warning CS0618: 'System.Xm
l.XmlValidat
ingReader' is obsolete: 'Use XmlReader created by XmlReader.
Create() method using appropriat
e XmlReaderS
ettings instead.
http://go.microsoft.com/fwlink/?linkid=14202'
3. c:\SampleC
ode\BatchReq
uestBuilder.
cs(106,17): warning CS0618: 'System.Xm
l.Xsl.XslTra
nsform' is obsolete: 'This class has been deprecated
. Please use System.Xml
.Xsl.XslComp
iledTransfor
m instead.
http://go.microsoft.com/fwlink/?linkid=14202'
4. c:\SampleC
ode\BatchReq
uestBuilder.
cs(106,41): warning CS0618: 'System.Xm
l.Xsl.XslTra
nsform' is obsolete: 'This class has been deprecated
. Please use System.Xml
.Xsl.XslComp
iledTransfor
m instead.
http://go.microsoft.com/fwlink/?linkid=14202'
5. c:\SampleC
ode\FormTest
Harness.cs(8
03,31): error CS1502: The best overloaded
method match for 'TestHarne
ss.ServiceHe
lper.Convert
2CredentialD
ata(TestHarn
ess.Provisio
nServices.PS
OType[])' has some invalid arguments
6. c:\SampleC
ode\FormTest
Harness.cs(8
03,61): error CS1503: Argument '1': cannot convert from 'TestHarne
ss.Provision
Services.PSO
Type' to 'TestHarne
ss.Provision
Services.PSO
Type[]'
7. c:\SampleC
ode\FormTest
Harness.cs(1
251,18): warning CS0618: 'System.Co
nfiguration.
Configuratio
nSettings.Ap
pSettings' is obsolete: 'This method is obsolete, it has been replaced by System.Con
figuration!S
ystem.Config
uration.Conf
igurationMan
ager.AppSett
ings'
8. c:\SampleC
ode\FormTest
Harness.cs(1
294,24): warning CS0618: 'System.Co
nfiguration.
Configuratio
nSettings.Ap
pSettings' is obsolete: 'This method is obsolete, it has been replaced by System.Con
figuration!S
ystem.Config
uration.Conf
igurationMan
ager.AppSett
ings'