-
-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not load file or assembly 'netstandard, Version=2.0.0.0 On Build Server #194
Comments
This issue is new for me. Are you running the build on a non-windows machine? |
Our build server is windows 2012 Server. |
I don't have a clue what's wrong here. Do you still have this issue? |
Closing this issue. If you still have an problem, please comment and re-open this one. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: