我正在努力让https://www.twitterbootstrapmvc.com/工作:
_
PM> install-package TwitterBootstrapMVC5
Attempting to resolve dependency 'T4MVCExtensions (≥ 3.6.5)'.
Attempting to resolve dependency 'Portable.Licensing (≥ 1.1.0)'.
'TwitterBootstrapMVC5 3.13.10' already installed.
MyApp.Web already has a reference to 'TwitterBootstrapMVC5 3.13.10'.
PM> install-package Portable.Licensing
'Portable.Licensing 1.1.0' already installed.
MyApp.Web already has a reference to 'Portable.Licensing 1.1.0'.但是,一旦加载包含帮助器的视图,就会得到:
Could not load file or assembly 'Portable.Licensing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
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 it originated in the code.
Exception Details: System.Exception: Could not load file or assembly 'Portable.Licensing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 7:
Line 8:
Line 9: @using (var f = Html.Bootstrap().Begin(new Form()))
Line 10: {
Line 11: @f.FormGroup().TextBoxFor(x => x.AbbreviationCode).Placeholder("Abreviation Code")有什么想法,我需要做什么,才能找到授权大会?
发布于 2015-01-22 19:10:39
我得到了同样的问题,并通过引用Portable.Licensing.dll修复了它
https://stackoverflow.com/questions/26191749
复制相似问题