-1

I am beginner at asp.net core 2.0. I would like to generate separate dll file for individual areas. If someone knows how to do that configuration in startup.cs please let me know.

How to separate asp.net core mvc project into multiple assembly (.dll)?

i tried above link but it wont work for areas.

jps
  • 20,041
  • 15
  • 75
  • 79

1 Answers1

1

This is not possible. One project roughly equals one DLL. If you want the areas to each be a different DLL, then they need to be separate projects, Razor Class Libraries (RCLs) specifically. You can create an RCL for each, put the area in that, and then reference the RCL from any other project you need it in.

Chris Pratt
  • 232,153
  • 36
  • 385
  • 444