-
-
Notifications
You must be signed in to change notification settings - Fork 207
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
WireMock.Net is not compatible with Microsoft.VisualStudio.Web.CodeGeneration.Design 3.1.1 #448
Comments
Which framework do you use? |
.NET Core 3.1 Tried also with preview version of WireMock, based on other issue similar problem, but same error. |
You mean this issue ? #447 ? |
@mc0re & @igorquintaes Maybe you still have to reference some library manually in your main project, I did not have time to test. |
I will as soon as it gets through to our nuget mirror... |
Now there is another conflict detected: There is no need to solve my problem in urgency, since CodeGeneration is not a required package to my team; but i am glad for your fast response and to try helping us. Is possible that mc0re issue is a little different, since i am getting trouble on build, and mc0re is on runtime. |
@igorquintaes : Do you really need that Because this answer suggest to remove it : https://stackoverflow.com/questions/50689098/how-can-i-upgrade-from-net-core-2-1-rc1-to-the-stable-version-of-net-core-2-1/50788326#50788326 |
For now I don't, as I told that the package is not required to my team. Before open this issue, I removed it from project and worked fine, so and now i am working without that package. But in case of someone faces the same error, i decided to open a issue here. |
This issue is actually unsolvable because a fixed version is always needed. |
I just got the answer, see dotnet/roslyn#42935. So in your case, search for the last dependency which uses a fixed version, and update that version to the same as CS-Script.Core uses. |
Got it, looks nice. Would not be the case that CS-Script.Core add |
There are probably more libraries which use a fixed version. It's not possible for cs-script.core to include all these... |
I will close this issue with PR #449 OK ? |
It is OK. Thanks. |
While building or trying to install WireMock package, throws a conflict error on "Microsoft.CodeAnalysis.CSharp" dependency.
WireMock.Net expects 2.10.0 version exactly on "Microsoft.CodeAnalysis.CSharp".
Microsoft.VisualStudio.Web.CodeGeneration.Design 3.1.1 refers version 3.3.1 of "Microsoft.CodeAnalysis.CSharp" package.
The text was updated successfully, but these errors were encountered: