Nunit Console Runner - Failed to Resolve Assembly #1399
Replies: 6 comments
-
From this SteveGilham/altcover#187 it sounds like this could be related to Mono.Cecil. Which version of NUnit and NUnit.Console are you using? and is there more information in log flies etc. |
Beta Was this translation helpful? Give feedback.
-
package id="NUnit" version="3.13.2" targetFramework="net48" |
Beta Was this translation helpful? Give feedback.
-
Mono.Cecil is not used in 4.1/3.12, so it must be something different. Can you please upload a repro project ? |
Beta Was this translation helpful? Give feedback.
-
Additional log Information given below. It has resolved assembly reference System.Data from the below path but its failed to resolve System.Data.Common. Log:- /home/jenkins/agent/workspace/l_AETool_feature_US191919/Tool_AETool/bin/Debug/__Instrumented/NUnit3.TestAdapter.dll Resolved assembly reference 'System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' as file '/usr/share/dotnet/shared/Microsoft.NETCore.App/5.0.7/System.Data.dll'. ERROR *** Instrumentation phase failed |
Beta Was this translation helpful? Give feedback.
-
/usr/share/dotnet/shared/Microsoft.NETCore.App/5.0.7/System.Data.dll This dll (version 4.0.0.0) has assembly reference System.Data.Common (version 0.0.0.0). Is that the issue? |
Beta Was this translation helpful? Give feedback.
-
Hard to say. A repro would help. |
Beta Was this translation helpful? Give feedback.
-
Hi,
In my C# .Net Framework v4.8 project, I have installed few packages including Nunit console runner and Dapper. When i build i am not getting any error but in jenkins while intrumenting i am getting the below error. If i remove any one of this packages, then i am not getting this error. Please help me to resolve this.
ERROR *** Instrumentation phase failed
Failed to resolve assembly: 'System.Data.Common, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
Beta Was this translation helpful? Give feedback.
All reactions