v15 documentation error and initialization behavior change? #4556
Replies: 2 comments 1 reply
-
I pushed out a hotfix version (15.0.1) that reverts that behavior from question 1, so you should be able to include the assemblies to scan again. The only big change here now is the first parameter so that you can set the license key. AddMaps I thought could work but there were several edge cases that prevented using that mechanism. |
Beta Was this translation helpful? Give feedback.
1 reply
-
This discussion has been automatically locked since there has not been any recent activity after it was closed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I updated to v15, but I'm still facing problems with adapting current projects to use it...
services.AddAutoMapper(cfg => cfg.LicenseKey = "<License Key Here>", typeof(Program));
but that generates error, because AddAutoMapper is not expecting such parameters (expecting one parameter only - 'cfg' declaration)... Yes using only - cfg=>{license... AddMaps...} solves the problem, but maybe docs must be corrected...
Where I'm wrong?
Beta Was this translation helpful? Give feedback.
All reactions