I just cloned OrchardCMS from codeplex, built it and tried to deploy it on my web hosting using the Publish command of Visual Studio.
Files are not published, and publication fails with the following error:
1> ------ Publish started: Project: Orchard.Web, Configuration: Release Any CPU ------
1> C: \ Program Files (x86) \ MSBuild \ Microsoft \ VisualStudio \ v11.0 \ Web \ Microsoft.Web.Publishing.targets (2352.5): Error: Could not open Source file: Could not find a part of the path 'C: \ Users \ Tim \ targetsite.co.uk \ src \ Orchard.Web \ Media \ web.config; Media \ web.config'.
1>
========== Build: 0 succeeded, 0 failed, 5 up-to-date, 0 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========
I checked the source code, and the file is there and in the correct folder. So is this error message actually trying to tell me? What is going on here and how to fix it?
source share