tag:support.appharbor.com,2010-11-23:/discussions/problems/4172-problem-with-site-running-mvc4AppHarbor: Discussion 2018-10-19T03:06:41Ztag:support.appharbor.com,2010-11-23:Comment/160369652012-05-16T20:49:42Z2012-05-16T20:49:42ZProblem with site running mvc4<div><p>Hi Rasmus, remember that .NET Framework 4.5 is not supported on
AppHarbor, so you'll have to make sure your app targets .NET
Framework 4.0. It's also required that the MVC 4 beta dll is
deployed along with your app, since it's not installed on AppHarbor
app servers.</p>
<p>I've pushed the code for the MVC 4 app that runs on AppHarbor to
Github: <a href=
"https://github.com/friism/doesmvc4betarunonappharborquestionmark">https://github.com/friism/doesmvc4betarunonappharborquestionmark</a></p>
<p>Let us know if that doesn't help you get the app running, we'd
love to help out.<br>
Michael</p></div>friismtag:support.appharbor.com,2010-11-23:Comment/160369652012-05-16T20:54:05Z2012-05-16T20:54:05ZProblem with site running mvc4<div><p>Hi Michael</p>
<p>Well the project is targeted .NET 4.0, but I'm currently using
Nuget<br>
package restore but the aspnet mvc assemblies is set to copy local
true,<br>
should that be an issue?</p>
<p>/Rasmus</p></div>rasmuschristensentag:support.appharbor.com,2010-11-23:Comment/160369652012-05-16T20:59:08Z2012-05-16T20:59:08ZProblem with site running mvc4<div><p>Could you invite <a href=
"mailto:support@appharbor.com">support@appharbor.com</a> as a
collaborator so that we can take a look?</p>
<p>Michael</p></div>friismtag:support.appharbor.com,2010-11-23:Comment/160369652012-05-16T21:01:38Z2012-05-16T21:01:38ZProblem with site running mvc4<div><p>Done. For info I unchecked the precompile check to get more
information.</p>
<p>/Rasmus</p></div>rasmuschristensentag:support.appharbor.com,2010-11-23:Comment/160369652012-05-16T21:59:34Z2012-05-16T21:59:34ZProblem with site running mvc4<div><p>Hi Rasmus, could you take a look at
<a>this:http://stackoverflow.com/questions/9431975/could-not-load-file...</a></p>
<p>...and let us know whether that solves the problem.</p>
<p>Michael</p></div>friismtag:support.appharbor.com,2010-11-23:Comment/160369652012-05-20T09:12:07Z2012-05-20T09:12:07ZProblem with site running mvc4<div><p>Hi,</p>
<p>The assembly binding redirect did it. I'm not sureanything else
is needed from the default setup in a vs11 mvc 4 beta project.</p>
<p>/Rasmus</p></div>rasmuschristensentag:support.appharbor.com,2010-11-23:Comment/160369652012-05-20T15:15:18Z2012-05-20T15:15:18ZProblem with site running mvc4<div><p>Great, thanks for getting back to us.</p>
<p>Michael</p></div>friismtag:support.appharbor.com,2010-11-23:Comment/160369652012-05-20T19:30:34Z2012-05-20T20:24:03ZProblem with site running mvc4<div><p>Hi Michael</p>
<p>I've just added a project to Github, running at appharbor, that
contains the changes to get it up and running:<br>
Site:<br>
<a href=
"http://mvc4betaappharbor.apphb.com/">http://mvc4betaappharbor.apphb.com/</a></p>
<p>Source:<br>
<a href=
"https://github.com/rasmuschristensen/mvc4BetaAppharbor">https://github.com/rasmuschristensen/mvc4BetaAppharbor</a></p>
<p>And a blogpost: <a href=
"http://bypassion.dk/?p=172">http://bypassion.dk/?p=172</a></p>
<p>/Rasmus</p></div>rasmuschristensen