Replies: 1 comment 3 replies
-
Hey @MonicaJa, Unfortunately I am not familiar with Class not registered error itself. Worth trying app referencing ProjectA as a package to see where the runtime problem is actually coming from. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Scenario: We have two projects ProjectA and ProjectB. ProjectA is dependent on some C++ libraries and is packed as nuget package. ProjectB is a .net5 class library and ProjectA nuget is added in ProjectB. Then we create ProjectB nuget package.
Now if we craete a Console application and add ProjectB nuget, the code complies Ok. When we expand the dependencies section we can see ProjectA under ProjectB, everything looks good. When we run the console application, we get Class not registered error.
The application works fine if we explcitly add ProjectA nuget to the solution.
Please suggest any solution if you ever experienced any similar issue.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions