代码改变世界

在没有安装有mvc3的主机上部署asp.net mvc3网站,需要包含的DLL文件

2011-02-15 20:33  无常  阅读(1457)  评论(0编辑  收藏  举报

1.在没有安装有mvc3的主机上部署asp.net mvc3网站,需要包含的DLL文件。

microsoft.web.infrastructure.dll
system.web.helpers.dll
system.web.mvc.dll
system.web.razor.dll
system.web.webpages.deployment.dll
system.web.webpages.dll
system.web.webpages.razor.dll

 

2.Sqlite除了需要包含System.Data.SQLite.Dll外,再在web.config中加上:

<system.data>
<DbProviderFactories>
<remove invariant="System.Data.SQLite"/>
<add name="SQLite Data Provider" invariant="System.Data.SQLite"
description
=".Net Framework Data Provider for SQLite"
type
="System.Data.SQLite.SQLiteFactory, System.Data.SQLite"/>
</DbProviderFactories>
</system.data>