This project is read-only.
1
Vote

SampleProject does not build straight "out of the box"

description

Below are the errors when I launch a build of SampleProject in VS2012 I get. That occurs after creating the sample DB, and changing the sa password in Samples.DataAccess.SQL.fs to the one of my SQL server express.
BTW, in spite of this issue, looking forward to explore F# 3.0! Great work.
 
Error 1 The provided types generated by this use of a type provider may not be used from other F# assemblies and should be marked internal or private. Consider using 'type internal TypeName = ...' or 'type private TypeName = ...'. C:\src\FSharp3Sample\SampleProject\Samples.DataAccess.SQL.fs 110 6 SampleProject
Error 2 The field, constructor or member 'GetHttpTempConvertSoapClient' is not defined C:\src\FSharp3Sample\SampleProject\Samples.DataAccess.SQL.fs 131 17 SampleProject
Error 3 Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. C:\src\FSharp3Sample\SampleProject\Samples.DataAccess.SQL.fs 132 13 SampleProject
Error 4 The field, constructor or member 'GetHttpGeocodeServiceClient' is not defined C:\src\FSharp3Sample\SampleProject\Samples.DataAccess.SQL.fs 150 36 SampleProject
Error 5 Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. C:\src\FSharp3Sample\SampleProject\Samples.DataAccess.SQL.fs 156 20 SampleProject
Error 6 Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. C:\src\FSharp3Sample\SampleProject\Samples.DataAccess.SQL.fs 157 16 SampleProject
Error 7 The operator 'expr.[idx]' has been used on an object of indeterminate type based on information prior to this program point. Consider adding further type constraints C:\src\FSharp3Sample\SampleProject\Samples.DataAccess.SQL.fs 157 16 SampleProject
Error 8 Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. C:\src\FSharp3Sample\SampleProject\Samples.DataAccess.SQL.fs 160 21 SampleProject
Error 9 The operator 'expr.[idx]' has been used on an object of indeterminate type based on information prior to this program point. Consider adding further type constraints C:\src\FSharp3Sample\SampleProject\Samples.DataAccess.SQL.fs 161 16 SampleProject
Error 10 Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. C:\src\FSharp3Sample\SampleProject\Samples.DataAccess.SQL.fs 161 16 SampleProject
Error 11 Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. C:\src\FSharp3Sample\SampleProject\Samples.DataAccess.SQL.fs 164 60 SampleProject
Error 12 The operator 'expr.[idx]' has been used on an object of indeterminate type based on information prior to this program point. Consider adding further type constraints C:\src\FSharp3Sample\SampleProject\Samples.DataAccess.SQL.fs 164 60 SampleProject
Error 13 Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. C:\src\FSharp3Sample\SampleProject\Samples.DataAccess.SQL.fs 165 61 SampleProject
Error 14 The operator 'expr.[idx]' has been used on an object of indeterminate type based on information prior to this program point. Consider adding further type constraints C:\src\FSharp3Sample\SampleProject\Samples.DataAccess.SQL.fs 165 61 SampleProject
Error 15 Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. C:\src\FSharp3Sample\SampleProject\Samples.DataAccess.SQL.fs 167 58 SampleProject
Error 16 The operator 'expr.[idx]' has been used on an object of indeterminate type based on information prior to this program point. Consider adding further type constraints C:\src\FSharp3Sample\SampleProject\Samples.DataAccess.SQL.fs 167 58 SampleProject
Error 17 Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. C:\src\FSharp3Sample\SampleProject\Samples.DataAccess.SQL.fs 168 59 SampleProject
Error 18 The operator 'expr.[idx]' has been used on an object of indeterminate type based on information prior to this program point. Consider adding further type constraints C:\src\FSharp3Sample\SampleProject\Samples.DataAccess.SQL.fs 168 59 SampleProject
Error 19 The field, constructor or member 'GetHttpRouteServiceClient' is not defined C:\src\FSharp3Sample\SampleProject\Samples.DataAccess.SQL.fs 173 59 SampleProject
 
 
For information, environment is:
Microsoft Visual Studio Professional 2012 Version 11.0.50727.1 RTMREL
Microsoft .NET Framework Version 4.5.50709
Microsoft SQL Server Express Edition (64-bit)
Microsoft SQL Server Management Studio 10.50.3720.0
Microsoft Data Access Components (MDAC) 6.1.7601.17514
Microsoft MSXML 3.0 4.0 5.0 6.0
Microsoft Internet Explorer 8.0.7601.17514
Microsoft .NET Framework 2.0.50727.5456
Operating System 6.1.7601

comments

jperraud wrote Aug 30, 2012 at 1:23 AM

This is easily fixed by following the compiler error suggestions, and figuring out by code completion the new names of the methods GetHttpGeocodeServiceClient. Probably already fixed in the versioned source code.

wrote Feb 22, 2013 at 12:36 AM