Home All Groups Group Topic Archive Search About

How to write metainformation in asp.net dll

Author
25 Jun 2009 5:42 PM
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

Author
29 Jun 2009 2:36 PM
Gregory A. Beamer
"Toni Pohl" <atwork43@hotmail.com__nospam> wrote in
news:937F2B19-2754-41B6-A02B-5812DEB41E88@microsoft.com:

> 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

*******************************************
Show quoteHide quote
|      Think outside the box!             |
*******************************************
Are all your drivers up to date? click for free checkup

Author
30 Jun 2009 7:45 AM
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


Show quoteHide quote
"Gregory A. Beamer" <NoSpamMgbworld@comcast.netNoSpamM> schrieb im
Newsbeitrag news:Xns9C3961A8C9A7Egbworld@207.46.248.16...
> "Toni Pohl" <atwork43@hotmail.com__nospam> wrote in
> news:937F2B19-2754-41B6-A02B-5812DEB41E88@microsoft.com:
>
>> 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!             |
> *******************************************
Author
7 Jul 2009 5:17 PM
Gregory A. Beamer
"Toni Pohl" <atwork43@hotmail.com__nospam> wrote in
news:F3DE178B-8B3E-47DD-BA19-2DDE363327DF@microsoft.com:

> 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

*******************************************
Show quoteHide quote
|      Think outside the box!             |
*******************************************

Bookmark and Share