How to write metainformation in asp.net dll

T

Toni Pohl

Hi all,

I´m looking for a way to write meta informations/assembly informations like
productname, copyright, version etc. into a asp.net compiled file - into the
..dll (compiled with web deployment project in VS2008)
In win form projects it´s easy, just to write info in the project assembly
and compile. With web deployment project I can´t find where to...

Pls help!
Thany, Toni
 
A

Alexey Smirnov

Hi all,

I´m looking for a way to write meta informations/assembly informations like
productname, copyright, version etc. into a asp.net compiled file - into the
.dll (compiled with web deployment project in VS2008)
In win form projects it´s easy, just to write info in the project assembly
and compile. With web deployment project I can´t find where to...

Pls help!
Thany, Toni

Go to Project - Add Component - General - Assembly Information File
 
G

Gregory A. Beamer

Hi all,

I´m looking for a way to write meta informations/assembly informations
like productname, copyright, version etc. into a asp.net compiled file
- into the .dll (compiled with web deployment project in VS2008)
In win form projects it´s easy, just to write info in the project
assembly and compile. With web deployment project I can´t find where
to...


It is the same, but you have to be using a web application template to
start, not a website. And this only works with Framework 2.0 and up.The
Assembly Info file goes in the Properties folder in this type of project,
just like a windows forms project.


--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
T

Toni Pohl

Hi Gregory,

thanks for your tip!
Web application didn´t work because it was an existing, large web project
which couldn´t be converted fast, so we needed to deal with the web project
and looked for a way to get in the metadata there.
The solution was (on another PC...) to put a App_Code\AssemblyInfo.vb into
the project - this worked!

Thanks,
Toni
 
G

Gregory A. Beamer

Hi Gregory,

thanks for your tip!
Web application didn´t work because it was an existing, large web
project which couldn´t be converted fast, so we needed to deal with
the web project and looked for a way to get in the metadata there.
The solution was (on another PC...) to put a App_Code\AssemblyInfo.vb
into the project - this worked!


Thanks for sharing. I had thought that might work, but did not have time to
test it prior to posting.


--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top