Open GoogleCodeExporter opened 9 years ago
Issue 383 has been merged into this issue.
Original comment by azizatif
on 4 Mar 2015 at 8:42
Original comment by jamesdriscoll71
on 4 Mar 2015 at 9:49
Fixed in https://code.google.com/r/jamesdriscoll71-demo-project-issues
Original comment by jamesdriscoll71
on 10 Mar 2015 at 12:05
Changing Status to Started as fix has not yet been pulled into the main repo.
Original comment by azizatif
on 10 Mar 2015 at 6:10
Original comment by azizatif
on 12 Mar 2015 at 5:49
Looks like this may be by-design after all. :S
First of all, my comparison was not apples to apples. The default configuration
when opening up in VS is .NET 3.5 Debug. If the demo web is built and run, it
fails. Building from the command line via build.cmd works because it builds
*all* configurations. Doing the same from VS (i.e. Build > Batch Build and
selecting all configurations) on fresh clone does not fail the demo web.
The SQLite.Interop.dll is missing when building for .NET 3.5 because the
Elmah.SQLite project's post-build event only copies the interop DLL when
targeting .NET 4.5. When building all configurations, the .NET 4.5
configurations are the last ones and therefore running the demo web right after
succeeds. If one removes `if` from the post-build event to have the interop DLL
copied in all configurations then another problem occurs: the AntiXss
dependency is not copied over by VS except when targeting .NET 4.5. I haven't
quite understood why.
In the current state of affairs, the demo web site is only designed to work
with .NET Framework 4.5 and that's acceptable for alpha and beta releases. I
wonder if there's a way to set the default configuration in VS?
Original comment by azizatif
on 12 Mar 2015 at 6:37
Original issue reported on code.google.com by
azizatif
on 4 Mar 2015 at 8:32