2013-06-27 5 views
0

Я только что обновил свой пакет NuGet.core, используя NuGet, и теперь мой сайт сломался. я получаю следующее сообщение об ошибке:Обновление Nuget нарушило Webmatrix?

Method 'get_IsBindingRedirectSupported' in type 'System.Web.WebPages.Administration.PackageManager.WebProjectSystem' from assembly 'System.Web.WebPages.Administration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation. 

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.TypeLoadException: Method 'get_IsBindingRedirectSupported' in type 'System.Web.WebPages.Administration.PackageManager.WebProjectSystem' from assembly 'System.Web.WebPages.Administration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation 

Я предполагаю, что это как-то связано с тем, что мой web.config не обновляется? вот мой конфиг:

<runtime> 
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> 
    <dependentAssembly> 
    <assemblyIdentity name="NuGet.Core" publicKeyToken="31bf3856ad364e35" culture="neutral" /> 
    <bindingRedirect oldVersion="0.0.0.0-2.6.40619.9041" newVersion="2.6.40619.9041" /> 
    </dependentAssembly> 
</assemblyBinding> 

Спасибо, Гэвин

+0

Какую версию WebMatrix у вас сейчас? 3? – VoidKing

ответ

0

Я закончил переустановку Nuget и все было отсортировано

0

Я получил ту же ошибку после обновления NuGet.Core отсылая к

http://connect.microsoft.com/VisualStudio/feedback/details/752526/method-get-isbindingredirectsupported-in-type-system-web-webpages-administration-packagemanager-webprojectsystem-from-assembly-system-web-webpages-administration-version-2-0-0-0-culture-neutral

Удалив системы. Web.WebPages.Administration в ссылках и восстановлении soluti по проблеме исправлена.