I struggled with this for several days and I can’t figure out what the problem is ... I have an Asp.NET mvc 4 website that works fine, but when I try to deploy it to azure, I get this error :
Error 2 The "exists" function only accepts a scalar value, but its argument "$(PackageSourceManifest)" evaluates to "D:\Software Projects\xxx\xxx\xxxWebSite\obj\Debug\Package\xxxWebSite.SourceManifest.xml ;D:\Software Projects\xxx\xxx\xxxWebSite\obj\Debug\Package\xxxWebSite. SourceManifest.xml" which is not a scalar value.
This also happens when I try to clean and rebuild, so I think this is not an azure deployment process that gives me problems. I have no idea how to handle this, and this website should go live tomorrowow :(
source share