Hi, I am getting an error in the VSO log and 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 classlibrary ..
Public Class r2rSearchResponse ... Function rptJSONRoutesTable(userCurrencyCode) As String
This, of course, does not work locally without problems.
I tried to make a one-byte change and confirm again, the related DLL was also under source control, so I removed and added this. There is no joy.
UPDATE - no, the bad news is the answer I posted below temporarily resolved the issue. Once again he raised his ugly head and despite the fact that he could not make the assembly work.
So far, the following procedures have been undertaken to properly compile VSO online builds:
1) I deleted my local folders and performed a full check from sourcecontrol suggested by @MetaFight. This compiles normally locally, without files.
2) The folders / Bin and / Obj are excluded. This way the dll is not checked in the source as suggested by @PhilipKendall
3) Launch MSBuild locally. The solution is compiling.
4) Renamed and then moved the function inside classlib to try to invoke the rebuild on the Azure server. Still unable to find function.
5) Checked build order, Classlib is compiled first. The "Clear" option selected in the "Assembly Profile" section.
6). Check the links are correct. I see the link in the vbproj file. A link is a project link, not a file link.
7) Remote build profile in Azure / VSO. Created a new assembly warp profile and a new web application in Azure - an error occurs.
8) I tried this solution Library / Static method, not updated in Azure There is no merge error, like point 3) on this page.
Can any TFS / VSO experts help?