473,385 Members | 1,873 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

.mresource attribute

Hi all,
Can anybody give an insight to what the .mresource attribute
does in the assembly manifest.

Detail explanation also welcome

Thanks in Advance
thomson

Nov 19 '05 #1
3 1092
Hello thomson,

The .mresource attribute indicates that the resource is a manifest resource.
These are resources that have been embedded into your assembly that you can
access via Assembly.GetManifestResourceStream or via code using the ResourceManager
class.

--
Matt Berther
http://www.mattberther.com
Hi all,
Can anybody give an insight to what the .mresource attribute
does in the assembly manifest.
Detail explanation also welcome

Thanks in Advance

thomson

Nov 19 '05 #2
Hi Matt,
i am using srystal report 10, While i accessed the report , I
saw an error

"Unable to find the report in the manifest resources. Please build the
project, and try again"

I checked the assembly with ildasm and i saw all the reports were
listed out there as an .mresource attribute.

I searched in google about this and i came to know that in the reports
property, you have to mention the Build Action property as Embedded
resource, but it was already set there,

I dont know what might have got wrong?

What could be the reason

Regards

thomson
Matt Berther wrote:
Hello thomson,

The .mresource attribute indicates that the resource is a manifest resource. These are resources that have been embedded into your assembly that you can access via Assembly.GetManifestResourceStream or via code using the ResourceManager class.

--
Matt Berther
http://www.mattberther.com
Hi all,
Can anybody give an insight to what the .mresource attribute
does in the assembly manifest.
Detail explanation also welcome

Thanks in Advance

thomson


Nov 19 '05 #3
Hello thomson,

Unfortunately, Im not familiar with Crystal 10. The things that you might
check are that the report you're looking for corresponds to the default namespace
and folder structure. For example: if your project's default namespace (from
Project Properties) is MyCompany.MyProject and you have the report in a folder
called Reports, to pull it out of the assembly, you'll need to use a manifest
resource name of: MyCompany.MyProject.Reports.myReport.tmpl.

Hope this helps!

--
Matt Berther
http://www.mattberther.com
Hi Matt,
i am using srystal report 10, While i accessed the report ,
I
saw an error
"Unable to find the report in the manifest resources. Please build the
project, and try again"

I checked the assembly with ildasm and i saw all the reports were
listed out there as an .mresource attribute.

I searched in google about this and i came to know that in the reports
property, you have to mention the Build Action property as Embedded
resource, but it was already set there,

I dont know what might have got wrong?

What could be the reason

Regards

thomson

Matt Berther wrote:
Hello thomson,

The .mresource attribute indicates that the resource is a manifest

resource.
These are resources that have been embedded into your assembly that

you can
access via Assembly.GetManifestResourceStream or via code using the

ResourceManager
class.

--
Matt Berther
http://www.mattberther.com
Hi all,
Can anybody give an insight to what the .mresource attribute
does in the assembly manifest.
Detail explanation also welcome
Thanks in Advance

thomson

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: j erickson | last post by:
with the following xsl and xml file, the display of the gif file with the <image/url> tag works. However, the gif file in the <description> tag using the name attribute "src" won't make the correct...
4
by: Lénaïc Huard | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I've some namespace problems when defining default values for attributes. My problem seems to come from the fact that the attributes are...
2
by: gary.goodwin | last post by:
HI I am trying to understand Attribute usage. For example the class SerializableAttribute is a class correct? So why when it is actually u sed the "Attribute" portion of the name is dropped. The...
18
by: Gabriel Rossetti | last post by:
Hello everyone, I had read somewhere that it is preferred to use self.__class__.attribute over ClassName.attribute to access class (aka static) attributes. I had done this and it seamed to work,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.