Hi I'm getting an error in the VSO log and a build failure

> 
> d:\a\src-\*\*\*--\r2rJSONcall.aspx.vb (31): 'rptJSONRoutesTable' is not
>  a member of 'r2rSearchResponse'.
> 
> 
> 

And yet it is! 

r2rJSONcall.aspx.vb

```
Public Class r2rJSONcall
 ...

  Property r2rResponse As New r2rSearchResponse
   ...

   Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

  'call the webservice..
  ...

   Response.Write(r2rResponse.rptJSONRoutesTable("EUR"))

```

and in a classlibrary..

```
Public Class r2rSearchResponse
  ...
  Function rptJSONRoutesTable(userCurrencyCode) As String

```

It, of course, runs locally no problem.

I've tried making a one byte change and recommitting, also the associated DLL was under source control, so I removed and add that. No Joy.

UPDATE - no, bad news the answer I posted below solved the problem temporarily. It has reared its ugly head once more and no matter what can't seem to get a build to work.

The following procedures have been tried so far to get a VSO online build to compile correctly:

1) I deleted my local folders and performed a full checkout from sourcecontrol - suggested by @MetaFight. That compiles fine locally, no files missing.

2) Excluded the /Bin and /Obj folders. So no dll's checked into source as suggested by @PhilipKendall

3) Run MSBuild locally. The solution compiles OK.

4) Renamed, and then moved function inside the classlib to try to trigger rebuild on Azure server. Still can't find the function.

5) Checked build order, Classlib is compiled first. "Clean" option selected on Build Profile.

6) Checked that references are correct. I can see the reference in the vbproj file. The reference are Project references, not file references.

7) Deleted Build Profile in Azure/VSO. Created new build defintition profile and new Web App in Azure - error reappears.

8) Tried this solution [Library/Static Method not Updating in Azure](https://stackoverflow.com/questions/26897664/library-static-method-not-updating-in-azure) No Merge error like point 3) on that page.

Any TFS/VSO experts out there can help?