FxCopCmd.exe returned error code 8.

M

Mukesh

Hi All

I m creating a web application using asp.net 2.0 in VS team foundation
server .
I m using a dll file
"ABC.dll"
Whenever I Build the project with code analysis
this happens

Error 1 CA0055 : Could not load ABC.dll. http://localhost/
Error 203 CA0503 : Additional code analysis warnings or errors cannot
be displayed http://localhost/
Error 204 FxCopCmd.exe returned error code 8.


Why it is and how can i get rid of this

Thx In advance

Mukesh

Delhi India
 
S

Steven Cheng[MSFT]

Hello Delhi,

From your description, you're getting the following like error when try
building a solution with ASP.NET 2.0 web app and perform code analysis:

Error 1 CA0055 : Could not load ABC.dll. http://localhost/

I've performed some research on this issue, and the following knowledge
base article seems demonstrate the same issue as you met. It indicate that
the problem will occur when the ASP.NET 2.0 project is referencing an
binary assembly originally built under .net framework 1.x. You can have a
look to see whether it suits:

#Code analysis fails when you analyze an ASP.NET project that contains
binary dependencies from an earlier version of the .NET Framework in Visual
Studio 2005 Team System Developer Edition
http://support.microsoft.com/kb/913447/en-us

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.
 
M

Mukesh

Steven said:
Hello Delhi,

From your description, you're getting the following like error when try
building a solution with ASP.NET 2.0 web app and perform code analysis:

Error 1 CA0055 : Could not load ABC.dll. http://localhost/

I've performed some research on this issue, and the following knowledge
base article seems demonstrate the same issue as you met. It indicate that
the problem will occur when the ASP.NET 2.0 project is referencing an
binary assembly originally built under .net framework 1.x. You can have a
look to see whether it suits:

#Code analysis fails when you analyze an ASP.NET project that contains
binary dependencies from an earlier version of the .NET Framework in Visual
Studio 2005 Team System Developer Edition
http://support.microsoft.com/kb/913447/en-us

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.


Hi steven

thanks for the reply

Is ther any solution of this problem
without doing conversion

Mukesh Agarwal
 
S

Steven Cheng[MSFT]

Hello Mukesh,

Thanks for your reply.

For the issue, it is actually due to the limit of fxcop utility which will
force to load assemblies compatible to the current version(fxcop is built
against). So far I haven't found any other workaround other than rebuild
the previous version assemblies. Anyway, I'll help you consult some other
FXcop team engineers to see whether they have any other ideas on this. I'll
update you as soon as I get any update.

BTW, there is a dedicated pubilc forum on FXCOP also, you can also have a
look if you have interests:

http://forums.microsoft.com/msdn/showforum.aspx?forumid=98&siteid=1

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.
 
S

Steven Cheng[MSFT]

Hi Mukesh,

After some further research, I've got the confirmation from the product
team that this issue has been fixed in the sequential version of Visual
Studio, the Orcas(with new fxcop version). Currently if you do need a rapid
fix on this, you can contact Microsoft Customer Support Services (CSS) at

http://msdn.microsoft.com/subscriptions/support/default.aspx to request a
hotfix on this.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top