小编Sau*_*rup的帖子

C#:无法从程序集加载类型

在将Lucene.net和Lucene.net Contrib添加到C#MVC3后,我在第一次成功运行后收到以下消息.收到此错误后,我需要完全擦除C:\ Users\Me\AppData\Local\Temp\Temporary ASP.NET Files,然后才能再次运行该项目.

我已经尝试手动删除Lucene文件(包括我的项目中的引用),并重新安装它们 - 使用NuGet和手动 - 但它总是相同的情况; 项目运行一次后,我开始收到以下错误:

注意:Contrib.Regex是Lucene.net Contrib的一部分.

Server Error in '/' Application.

Could not load types from assembly Contrib.Regex, Version=2.9.4.0, Culture=neutral, PublicKeyToken=85089178b9ac3181, errors:
Exception: System.IO.FileLoadException: Could not load file or assembly 'Lucene.Net, Version=2.9.4.1, Culture=neutral, PublicKeyToken=85089178b9ac3181' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'Lucene.Net, Version=2.9.4.1, Culture=neutral, PublicKeyToken=85089178b9ac3181'

=== Pre-bind state information ===
LOG: User = rcw7\Me
LOG: DisplayName = Lucene.Net, …
Run Code Online (Sandbox Code Playgroud)

c# windows dll lucene.net visual-studio

12
推荐指数
1
解决办法
2万
查看次数

反向代理受NTLM保护的网站

如何向受NTLM保护的网站(如TeamFoundationSharePoint)代理请求?我一直收到401身份验证错误.

sharepoint tfs reverse-proxy http haproxy

2
推荐指数
1
解决办法
4665
查看次数

标签 统计

c# ×1

dll ×1

haproxy ×1

http ×1

lucene.net ×1

reverse-proxy ×1

sharepoint ×1

tfs ×1

visual-studio ×1

windows ×1