Skip to content

Instantly share code, notes, and snippets.

@lennybacon
Created November 19, 2014 13:55
Show Gist options
  • Save lennybacon/129ff228ae4e7917fc90 to your computer and use it in GitHub Desktop.
Save lennybacon/129ff228ae4e7917fc90 to your computer and use it in GitHub Desktop.
Resolve license from embedded resource
//..
if (resourceAssembly == null)
{
resourceAssembly = Assembly.GetEntryAssembly();
}
if (resourceAssembly == null)
{
foreach (Assembly assembly in AppDomain.CurrentDomain.GetAssemblies())
{
//...
}
}
//...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment