Can´t build Orchard.Packaging after open orchard solution in VS 2012 RC

Topics: Troubleshooting, Writing modules
Jul 3, 2012 at 8:13 AM

Hi,

I opened my orchard solution in VS 2012 RC and after that i can´t build my solution anymore (not even in VS 2010). Got following exception when i tried to build:

Error    61    Metadata file 'C:\Projects\NTR Extranet\ord\src\Orchard.Tests.Modules\bin\Debug\Orchard.Tests.Modules.dll' could not be found    Orchard.Core.Tests
Error    15    Metadata file 'C:\Projects\NTR Extranet\ord\src\Orchard.Web\Modules\Orchard.Packaging\bin\Orchard.Packaging.dll' could not be found    Orchard.Recipes
Error    56    Metadata file 'C:\Projects\NTR Extranet\ord\src\Orchard.Web\Modules\Orchard.Packaging\bin\Orchard.Packaging.dll' could not be found   Orchard.Tests.Modules
Error    16    Metadata file 'C:\Projects\NTR Extranet\ord\src\Orchard.Web\Modules\Orchard.Recipes\bin\Orchard.Recipes.dll' could not be found    Orchard.Setup
Error    57    Metadata file 'C:\Projects\NTR Extranet\ord\src\Orchard.Web\Modules\Orchard.Recipes\bin\Orchard.Recipes.dll' could not be found    Orchard.Tests.Modules
Error    58    Metadata file 'C:\Projects\NTR Extranet\ord\src\Orchard.Web\Modules\Orchard.Setup\bin\Orchard.Setup.dll' could not be found    Orchard.Tests.Modules

and some following error because of missing dll.. Does someone else got the same problems??

Developer
Jul 3, 2012 at 12:48 PM

Although I haven't experienced this myself, such errors can happen if a) the solution was recently cleaned and b) if the dependency references in a module's csproj are direct dll references, not project references.

Don't you experience that when you repeatedly try to build (not rebuild) it slowly gets further every time till it eventually succeeds?