C
Claire
Hi,
I've been querying the current namespace using
Assembly.GetExecutingAssembly().GetName().Name to generate the file names
for my reports.
Example
string nameSpace = Assembly.GetExecutingAssembly().GetName().Name + ".";
RptCvDailyFileName = nameSpace + "rptUserSimpleDaily.rdlc";
I had problems when i decided to use folders within my reporting project to
split my report factory classes into groups to help manage the growing
number of files. I set the property "Namespace Provider" to true so that the
name of the folder would be appended to the root namespace.
So if the root folder namespace is "company.program.reporting", and I have
sub-folders "member" and "admin", the namespace for the factory classes in
one would be "company.program.reporting.member" and the other is
"company.program.reporting.admin"
When I query the namespace, in my member factory class, it's returning
"company.program.reporting" and not "company.program.reporting.member"
When I access my factory class from other projects, "using
company.program.reporting.member;" works correctly.
What do I call to get the correct/full namespace please?
I've been querying the current namespace using
Assembly.GetExecutingAssembly().GetName().Name to generate the file names
for my reports.
Example
string nameSpace = Assembly.GetExecutingAssembly().GetName().Name + ".";
RptCvDailyFileName = nameSpace + "rptUserSimpleDaily.rdlc";
I had problems when i decided to use folders within my reporting project to
split my report factory classes into groups to help manage the growing
number of files. I set the property "Namespace Provider" to true so that the
name of the folder would be appended to the root namespace.
So if the root folder namespace is "company.program.reporting", and I have
sub-folders "member" and "admin", the namespace for the factory classes in
one would be "company.program.reporting.member" and the other is
"company.program.reporting.admin"
When I query the namespace, in my member factory class, it's returning
"company.program.reporting" and not "company.program.reporting.member"
When I access my factory class from other projects, "using
company.program.reporting.member;" works correctly.
What do I call to get the correct/full namespace please?