Hard-coded references to debug build

Jan 19, 2010 at 10:59 PM

Hi Sacha,

I am trying out the framework and I noticed something peculiar in the source code: There seem to be references in the code hardcoded to use the debug DLLs (MVVM.Demo, MVVM.Models, MVVM.Test, etc...).  They all reference the Cinch built DLLs directly instead of having a project reference.  Is there a reason for this?

You can see the problem if you delete the Cinch\bin\Debug folder and then try to rebuild the solution in Release mode.  Changing the references to project references appears to make everything compile well again.  Is this a safe thing to do?


Jan 20, 2010 at 7:44 AM


That is absolutely fine to do. I left it using debig references so people could play and debug it with debug symbols. They should ONLY ever end up using 1 dll Cinch.dll which they can build in release when the are happy with how it all works.