You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have this issue on my Jenkins build server "System.BadImageFormatException : Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. Reference assemblies should not be loaded for execution. They can only be loaded in the Reflection-only loader context. (Exception from HRESULT: 0x80131058)". To give you context, i have a unit testing project with .Net Framework 4.6.1 and i am using Wiremock for stubbing out an API. So the error occurs when starting the stub server _"this.stubServer = FluentMockServer.Start();" On the build server i have ASP.NET Core/.NET Core: Runtime & Hosting Bundle installed. What could be the issue?
The text was updated successfully, but these errors were encountered:
I have this issue on my Jenkins build server "System.BadImageFormatException : Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. Reference assemblies should not be loaded for execution. They can only be loaded in the Reflection-only loader context. (Exception from HRESULT: 0x80131058)". To give you context, i have a unit testing project with .Net Framework 4.6.1 and i am using Wiremock for stubbing out an API. So the error occurs when starting the stub server _"this.stubServer = FluentMockServer.Start();" On the build server i have ASP.NET Core/.NET Core: Runtime & Hosting Bundle installed. What could be the issue?
The text was updated successfully, but these errors were encountered: