小编Jon*_*ven的帖子

无法加载文件或程序集'System.Management.Automation'

我在我的本地机器上编写了一个asp.net MVC 3 Web应用程序('ADReporter'),它使用Powershell来检索一些数据.如果我在本地运行此应用程序,一切正常.现在我正在尝试在我的Windows 2008服务器上运行它但是当我尝试访问它时,我得到以下堆栈跟踪:

Server Error in '/ADReporter' Application.

Could not load file or assembly 'System.Management.Automation' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where …
Run Code Online (Sandbox Code Playgroud)

asp.net powershell gac visual-studio windows-server-2008-r2

8
推荐指数
1
解决办法
3万
查看次数

ASP.NET MVC3 CSS框架

我想知道,哪个css框架最适合ASP.NET MVC 3?我已经尝试了yaml,在我看来它有几个缺点,至少使用ASP.NET MVC 3:

  1. 默认情况下使用按钮输入(因此,与jquery ui不兼容,因为jquery ui使用对话框中的按钮).
  2. 你需要为ASP.NET MVC 3验证调整css.
  3. 我不喜欢他们如何描述形式(这可能只是我对此的主观意见,无论如何,如果你希望坚持yaml css风格,你需要使用自定义编辑器).
  4. 一些css类名称不是很直观.

没什么,那将是显示停止者,但也许有更好的选择 - 某些东西,适用于ASP.NET MVC细节,或者可能是ASP.NET MVC项目存根,适用于yaml css框架.

更新:OOCSS看起来不错,重量轻,结构良好,值得一试.
更新2:TwitterBootstrap也越来越受欢迎,你可以在这里获取它的asp.net mvc http://nuget.org/packages/Twitter.Bootstrap

css-frameworks asp.net-mvc-3

6
推荐指数
1
解决办法
4638
查看次数