We have two Asp.Net Zero applications. After some analysis we found out that the first application which is already under development will share a lot of classes and business logic with the second much bigger application. In order to avoid copying code between applications we would like to make some parts of those two applications a common codebase. The parts are: Domain and DataAccess (Or in Asp.Net Zero terms Core and EntityFrameworkCore projects). We thought that we will split those projects as a git submodule and then reference it in both of the projects. After the split however the first app stopped working and we can see 'Abp.AspNetZeroCore.Licensing.AspNetZeroLicenseException' in Abp.AspNetZeroCore.dll. It happens when we try to run the Web.Host project or when we try to debug the unit tests (if we just run the unit tests they work fine which is unusual). Can you please advise how we should handle this split process or what should we do in order to get rid of this exception. Both products are on separate licenses.
5 Answer(s)
-
0
Hi @christianpedersen
This happens becasue of project name check but AspNet Zero cehcks only the entry project's Assembly name. Is it possible for you to share your project with us via email so we can test it for you ?
Thanks,
-
0
@ismcagdas
Which email do we send it to?
-
0
You can send it to [email protected].
Thanks,
-
0
Great, you will have it in 15 min.
-
0
Hi @christianpedersen,
We received the email and get back to you as soon as possible.
Thanks,