I have 2 web app (1 WebApi, 1 MVC) in the same solution both referencing another project in the solution (data layer). Both web projects are set up with continuous deployment from bitbucket and everything works fine. Since a hour or so (without doing any changes to the data layer project) the MVC project fails the git deployment (the WebApi one is fine) with the following error:
CSC : error CS0009: Metadata file 'D:\home\site\repository\MyProj.Data\bin\Test\MyProj.Data.dll' could not be opened -- Image is too small. [D:\home\site\repository\MyProj.Web\MyProj.Web.csproj]
I then logged in into the azure FTP for the MVC project and I can see that D:\home\site\repository\MyProj.Data\bin\Test\MyProj.Data.dll size is 0 bytes.
Had a look at the FTP for the WebApi project and that same dll is copied fine.
Any suggestions ?
Thanks