c# - Resolving namespace conflict with satellite assembly -


i have satellite assembly in project called localization. have mvc project contains following model:

namespace mvcapp.models.localization {     class model {         public dictionary<string, string> getlocalization() {             // want access localization assembly here...             assembly localization = assembly.getassembly(typeof(localization.viewer));             // i'm getting conflict here i'm inside localization             // namespace         }     } } 

is there nice way can access assembly localization in context, rather current namespace?

i'm happy enough rename model namespace, wanted know if there better way.

i'm not sure understood problem suggestion use namespace alias: on top import namespace alias below

using first = firstnamespace; 

and access class want that:

first.test test = new first.test(); 

Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -