.net:如何清理被引用的损坏程序集?

时间:2015-07-24 20:40:15

标签: windows visual-studio iis-express

关闭计算机而不关闭正在运行的程序。现在,当我在localhost上运行我的应用程序时,我收到以下错误:

Could not load file or assembly 'FluentValidation' or one of its dependencies. 
The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

我找到this article,这说明我需要清理临时文件夹。

我想知道在这种情况下清理的含义:只需选择文件夹中的文件并删除它们?我不想弄乱我的电脑。

感谢您的帮助。

修改

=== Pre-bind state information ===
LOG: DisplayName = FluentValidation
(Partial)
WRN: Partial binding information was supplied for an assembly:
WRN: Assembly Name: FluentValidation | Domain ID: 3
WRN: A partial bind occurs when only part of the assembly display name is   provided.
WRN: This might result in the binder loading an incorrect assembly.
WRN: It is recommended to provide a fully specified textual identity for the assembly,
WRN: that consists of the simple name, version, culture, and public key token.
WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for 
more    information 
and common solutions to this issue.
LOG: Appbase = file:///C:/_/trunk/xCIv3.1.0/
LOG: Initial PrivatePath = C:\_\trunk\xCIv3.1.0\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\_\trunk\xCIv3.1.0\web.config
LOG: Using host configuration file: 
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config
LOG: Using machine configuration file from
   C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, 
or location-based assembly bind).
LOG: Attempting download of new URL 
file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET
Files/root/ce84b183/bda9c1be/FluentValidation.DLL.
LOG: Attempting download of new URL 
file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET
Files/root/ce84b183/bda9c1be/FluentValidation/FluentValidation.DLL.
LOG: Attempting download of new URL
file:///C:/_/trunk/xCIv3.1.0/bin/FluentValidation.DLL.
LOG: Using application configuration file: C:\_\trunk\xCIv3.1.0\web.config
LOG: Using host configuration file:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config
LOG: Using machine configuration file from 
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
ERR: Failed to complete setup of assembly (hr = 0x80070057). Probing terminated.

0 个答案:

没有答案