Jump to content
  • Advertisement
Sign in to follow this  
Lenolian

[.net] file hierarchy and .net expectations

This topic is 4025 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am currently writing a piece of software composed of several assemblies, some of which makes the core functionality and some are independant module. Also each assembly is localized in different languages. I wish at the end to organise the files in a way like this : Application Directory | * Application.exe + Core | * SomeCoreAssembly.dll | * SomeCoreAssembly2.dll + Modules | * ModuleAssembly.dll + Languages + English | * SomeCoreAssembly.en.resources | * SomeCoreAssembly2.en.resources + Français | * SomeCoreAssembly.fr.resources | * SomeCoreAssembly2.fr.resources However this is not how the framework expects the files to be ordered. Localization fallback no longer work and i had to write my own resources manager. Assembly resolve has to be done "by hand" in AssemblyResolveEvent... At first it didnt looked like it was a big problem but as the number of files starts to grow, i feel that i may not be going in the right direction. So how do you organize your assemblies in the end? Do you stay with .net expectations or do you keep your own hierarchical structure and try to adapt the framework?

Share this post


Link to post
Share on other sites
Advertisement
If I'm loading assemblies at runtime, I put the assemblies wherever I want and use a configuration file to specify the path to the assemblies I want to load with a custom loader.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!