Error CS0016 and CS0006 - MobileAppRefProxy.dll - directory invalid/not found.

Hi people,

I'm new here, so if i ask something basic is normal. 

I have a problem, when i publish my mobile app i have 3 errors:

"Internal Error
Compilation Error.
error CS0016: Could not write to output file 'c:\Program Files\OutSystems\Platform Server\share\MobileApplication\full\bin\MobileApplicationReferencesProxy.dll' -- 'The directory name is invalid. '
State: Creating local copyInternal Error
Compilation Error.
error CS0006: Metadata file '.\bin\MobileApplicationReferencesProxy.dll' could not be found
error CS0006: Metadata file '.\bin\MobileApplication.dll' could not be found
State: Second stage compilation"


I don't understand where they come from and why. Can you help me?


Miguel Vicente
Hi Miguel,

Welcome to the forums!

This is a error when compilation the binding between your eSpace and the producers it consumes (dependencies). This very occasionally happens when compiling more than one eSpace at the same time, or it could be due to some weird file access problems (Missing read/write priviledges? Anti-virus scanning the platform directory at the same time as the compilation?)

Have you tried to recompile your eSpace? If you have and it consistently fails, can you check that folder c:\Program Files\OutSystems\Platform Server\share\MobileApplication exists, delete it and recompile?


Hi Miguel,

I'm sorry for the delay of my answer.
Thank you for your help, was very helpfull.
The problem was IIS, isn't set up right, so he didn't allow me to access the localhost.

Thank you,