By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,310 Members | 1,430 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,310 IT Pros & Developers. It's quick & easy.

How to retrieve information from AssemblyInfo.vb inside web service?

P: n/a
Hi everybody,

I would like to know how to retrieve information from AssemblyInfo.vb inside
web service. I've tried many different ways including GetExecutingAssembly
or similar method but all are failed. My main purpose is the version number
stored in AssemblyInfo.vb.

Thanks for your attention and kindly advice!

Regards,
James Wong
Aug 7 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"James Wong" <cp********@nospam.nospamwrote in message
news:eq**************@TK2MSFTNGP06.phx.gbl...
Hi everybody,

I would like to know how to retrieve information from AssemblyInfo.vb
inside web service. I've tried many different ways including
GetExecutingAssembly or similar method but all are failed. My main
purpose is the version number stored in AssemblyInfo.vb.
Of course, nothing is stored in AssemblyInfo.vb. It compiles as part of your
application, and is linked into an assembly. Note that AssemblyInfo.vb
contains attributes. The way to get those attributes is through
GetExecutingAssembly().GetCustomAttributes. I don't believe there is any
other way.

You say that this failed. Please post the details of the failure, including
the complete exception.
--
John Saunders [MVP]

Aug 7 '07 #2

P: n/a
Thanks for your reply James,

Glad to hear that the problem has been resolved.

Have a nice day!

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
Aug 10 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.