Base solution for your next web application
Open Closed

Error when opening the Web Public Project of version 11.1.0 #11008


User avatar
0
omkarchoudhari created
  • What is your product version? 11.1.0
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? .net core

We are getting the following Error when open the web public project :

System.MissingMethodException: 'Method not found: 'Void AutoMapper.IMappingExpressionBase3.CoingnvertUsing(System.Linq.Expressions.Expression1<System.Func`2<!0,!1>>)'.'

And this following error is occurring After we updated the aspnetzero project template to latest version 11.1

Can you please provide a solution to resolving this error ?

Thanks,


4 Answer(s)
  • User Avatar
    0
    omkarchoudhari created

    Any update on this please ?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @omkarchoudhari

    There might be some NuGet packages which have different versions in your solution. Could you open *.All.sln file and then open NuGet Package Manager and see if you have any items under the consolidate tab. If you see any items, please update them to same version.

    By the way, I couldn't reproduce this on a not modified project.

    Thanks

  • User Avatar
    0
    omkarchoudhari created

    Hello @ismcagdas,

    Sorry i did not update you earlier that the above error occurs when we integrate Elsa.net into the aspnetzero public project. We added Elsa packages into the .csproj of the Public project. Then we are geting this error. And it is due to version conflicts for .NET Core 6.0 as you can see from the above screenshot.

    We are able to run the version 11.1.0 public project without any error.

    Can you please let us know how we can resolve the conflicts. We are using Elsa .Net workflow 2.6.0 which is the latest.

    Thanks

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @omkarchoudhari

    Did you follow https://blog.aspnetzero.com/blogs/asp.net-zero/integrating-elsa-with-asp.net-zero for integrating Elsa ? If not, could oyu follow it and see if it helps ?

    Thanks,