cancel
Showing results for 
Search instead for 
Did you mean: 

Build Errors in MAS.

Former Member
0 Kudos

Hi All,

I'm getting the following error when trying to build the Mobile Sales Application.

"The referenced component 'Excel' could not be found. Converting the type library to a .NET assembly failed. A dependent type library 'VBIDE' could not be converted to a .NET assembly. A dependent type library 'Office' could not be converted to a .NET assembly. Item has already been added. Key in dictionary: "C:\Program Files\SAP\Mobile\framework\GenApps\MSA\prj\obj\Interop.Microsoft.Office.Core.dll" Key being added: "C:\Program Files\SAP\Mobile\framework\GenApps\MSA\prj\obj\Interop.Microsoft.Office.Core.dll"

Has anybody encountered this problem before, if yes, can you please help with this one.

Thanks in advance.

Sandeep R. Chavan

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi All,

As I was getting an error while referring to Excel object (i.e. Dim tmpobj as Excel.Application) ,I tried the same thing with standard Visual Basic Application and it gave me the same error. But the error went away when I added the reference to the Microsoft Office library to the project.

But in the SAP Mobile Application project the option of Adding Reference is not available. Does any one know how to add references to a tile using MAS.

Thanks in advance

Former Member
0 Kudos

Hi Sandeep,

I guess with this following steps you could add a reference in MAS.

1. Go to the Solutions explorer

2. Under <PROJECTNAME>.mtproj\"Applications", select the name of the application you have for example MSA,MSY etc.

3. Right click on the application note.

4. click on "Reference" option.

-Kajal