b********a 发帖数: 5418 | 1 可以build,但是debug就会报这个错:
System.IO.FileLoadException was unhandled
Message: Could not load file or assembly 'filename, Version=1.0.4566.26601,
Culture=neutral, PublicKeyToken=null' or one of its dependencies. The
parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
所有这些c#,c++ project都是一个solution下面的。以前用一样的方法没问题,中间电
脑崩溃过重装过一次,再从tfs下了代码,就不行了。电脑是x64, .net 3.5.
google出的解决方法完全不适用,那个要删除清空的文件夹根本在我电脑上就不存在,
google如下:
http://blkarwasara.blogspot.com/2011/07/hresult-0x80070057-einv
还尝试了各种改setting啊神马的都不好用。可以确定的是肯定能找到filename的那个
file,因为删掉file以后build报的错略微不同,只说找不到file specified,没有后
面parameter incorrect那些。除了这个完全没有clue了。。。
谢各位大仙帮忙啊! | l********a 发帖数: 1154 | 2 Go to Control Panel -> Administrative Tools -> .NET Framework 2.0
Configuration -> Runtime Security Policy -> Machine -> All_Code
I did a right click on All_Code and checked out the Properties ->
Permission Set
I set that Permission Set to FullTrust as it was previously set to
Nothing. | c****e 发帖数: 1453 | 3 Take a look inside EventViewer to see which dll is missing. | p*a 发帖数: 592 | 4 Google fusion log and turn it on. You will see why the DLL cannot be loaded.
,
【在 b********a 的大作中提到】 : 可以build,但是debug就会报这个错: : System.IO.FileLoadException was unhandled : Message: Could not load file or assembly 'filename, Version=1.0.4566.26601, : Culture=neutral, PublicKeyToken=null' or one of its dependencies. The : parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)) : 所有这些c#,c++ project都是一个solution下面的。以前用一样的方法没问题,中间电 : 脑崩溃过重装过一次,再从tfs下了代码,就不行了。电脑是x64, .net 3.5. : google出的解决方法完全不适用,那个要删除清空的文件夹根本在我电脑上就不存在, : google如下: : http://blkarwasara.blogspot.com/2011/07/hresult-0x80070057-einv
|
|