App Harbor and Microsoft Web Matrix
I recently committed a project to AppHarbor that was not an MVC Solution but instead was a web matrix project. Notice the commit log below that was created by AppHarbor. There is a line that says "No Solution file found, cannot build. Using repository as-is". That means that AppHarbor will host websites as is. The only thing that I did different was add a web config file with the following contents:
Harbor Commit Log*********************
Build 7af6182
Back to hairbankofcorona
Log
•9/4/2011 2:00:13 AM: Received pack, queuing build
•9/4/2011 2:00:14 AM: Starting build
•9/4/2011 2:00:14 AM: No solution file found, cannot build. Using repository contents as-is
•9/4/2011 2:00:14 AM: Build completed in 0.59 seconds
•9/4/2011 2:00:19 AM: Build successfully deployed
This allowed me to host a webmatrix project which is essentially nothing more than a static website.
***************Web.config file******************
<configuration > <system.web >
<compilation debug="false" targetframework="4.0" >
</compilation >
</system.web >
<system.webserver > <modules runallmanagedmodulesforallrequests="true">
</system.webserver>
</configuration>
Harbor Commit Log*********************
Build 7af6182
Back to hairbankofcorona
Log
•9/4/2011 2:00:13 AM: Received pack, queuing build
•9/4/2011 2:00:14 AM: Starting build
•9/4/2011 2:00:14 AM: No solution file found, cannot build. Using repository contents as-is
•9/4/2011 2:00:14 AM: Build completed in 0.59 seconds
•9/4/2011 2:00:19 AM: Build successfully deployed
This allowed me to host a webmatrix project which is essentially nothing more than a static website.
Comments