Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Setting Assembly TagPrefix in 2005??

Reply
Thread Tools

Setting Assembly TagPrefix in 2005??

 
 
Arthur Dent
Guest
Posts: n/a
 
      02-28-2006
Can anyone tell me what the equivalent in 2005 is for 2003's line
<Assembly: System.Web.UI.TagPrefix("Temporal.WEB.Controls", "twebc")>
in the AssemblyInfo file?

I have an assembly of my own custom webcontrols which i am trying to port to
2005, but cannot seem to find this piece of info.

Thanks in advance,
- Arthur Dent.


 
Reply With Quote
 
 
 
 
Hari
Guest
Posts: n/a
 
      02-28-2006
Hi Arthur,

I dont think this gets changed in 2005 . I do worked on various controls i
developed myself but didnt faced any issue reg the register tag prefix.

I used like this in c# code , Not sure where you are getting issues reg
this?

[Assembly: System.Web.UI.TagPrefix("Temporal.WEB.Controls", "twebc")]


"Arthur Dent" <hitchhikersguideto-> wrote in message
news:...
> Can anyone tell me what the equivalent in 2005 is for 2003's line
> <Assembly: System.Web.UI.TagPrefix("Temporal.WEB.Controls", "twebc")>
> in the AssemblyInfo file?
>
> I have an assembly of my own custom webcontrols which i am trying to port
> to 2005, but cannot seem to find this piece of info.
>
> Thanks in advance,
> - Arthur Dent.
>



 
Reply With Quote
 
 
 
 
Arthur Dent
Guest
Posts: n/a
 
      02-28-2006
Where im getting confused is that i do not see an AssemblyInfo file in the
project anymore, and if i do an Add > New Item... i dont see a template for
AssemblyInfo either..... did you just add an empy Module or Class file, and
then rename it to AssemblyInfo, or ?
As I understood it (quite possibly incorrectly) the My Project item in the
tree replaced AssemblyInfo, but i dont see any where in that things property
pages to add in the assembly tagprefix either.

Thanks in advance,
- Arthur

"Hari" <> wrote in message
news:...
> Hi Arthur,
>
> I dont think this gets changed in 2005 . I do worked on various controls
> i developed myself but didnt faced any issue reg the register tag prefix.
>
> I used like this in c# code , Not sure where you are getting issues reg
> this?
>
> [Assembly: System.Web.UI.TagPrefix("Temporal.WEB.Controls", "twebc")]
>
>
> "Arthur Dent" <hitchhikersguideto-> wrote in message
> news:...
>> Can anyone tell me what the equivalent in 2005 is for 2003's line
>> <Assembly: System.Web.UI.TagPrefix("Temporal.WEB.Controls", "twebc")>
>> in the AssemblyInfo file?
>>
>> I have an assembly of my own custom webcontrols which i am trying to port
>> to 2005, but cannot seem to find this piece of info.
>>
>> Thanks in advance,
>> - Arthur Dent.
>>

>
>



 
Reply With Quote
 
Hari
Guest
Posts: n/a
 
      02-28-2006
Hi Arthur,

I got confused , I was able to see the assemblyinfo.cs inside a properties
folder . Are we discussing the register tag prefix regarding the
WebControlLibrary?
or i understood something wrong ? As mentioned in the thread before , you
can add that line mentioned there.
Still was wondering , Did i understood anything wrong ?

Also its possible for you to use a same assembly info of your 2003/2002
projects

Regards,
Hari




"Arthur Dent" <hitchhikersguideto-> wrote in message
news:...
> Where im getting confused is that i do not see an AssemblyInfo file in the
> project anymore, and if i do an Add > New Item... i dont see a template
> for AssemblyInfo either..... did you just add an empy Module or Class
> file, and then rename it to AssemblyInfo, or ?
> As I understood it (quite possibly incorrectly) the My Project item in the
> tree replaced AssemblyInfo, but i dont see any where in that things
> property pages to add in the assembly tagprefix either.
>
> Thanks in advance,
> - Arthur
>
> "Hari" <> wrote in message
> news:...
>> Hi Arthur,
>>
>> I dont think this gets changed in 2005 . I do worked on various controls
>> i developed myself but didnt faced any issue reg the register tag prefix.
>>
>> I used like this in c# code , Not sure where you are getting issues reg
>> this?
>>
>> [Assembly: System.Web.UI.TagPrefix("Temporal.WEB.Controls", "twebc")]
>>
>>
>> "Arthur Dent" <hitchhikersguideto-> wrote in message
>> news:...
>>> Can anyone tell me what the equivalent in 2005 is for 2003's line
>>> <Assembly: System.Web.UI.TagPrefix("Temporal.WEB.Controls", "twebc")>
>>> in the AssemblyInfo file?
>>>
>>> I have an assembly of my own custom webcontrols which i am trying to
>>> port to 2005, but cannot seem to find this piece of info.
>>>
>>> Thanks in advance,
>>> - Arthur Dent.
>>>

>>
>>

>
>



 
Reply With Quote
 
Arthur Dent
Guest
Posts: n/a
 
      02-28-2006
Hmm, digging around, i seem to have found the file. Maybe it is a diff in
how VB and C# show the project files. In VB the AssemblyInfo file is not
visible in Solution Explorer. But if i dig around in the filesystem, there
is a directory for the My Project object which does contain it. Ill have to
play with that tonight and see if putting the line in there works as
expected.

Thanks for the help!


"Hari" <> wrote in message
news:...
> Hi Arthur,
>
> I got confused , I was able to see the assemblyinfo.cs inside a
> properties folder . Are we discussing the register tag prefix regarding
> the WebControlLibrary?
> or i understood something wrong ? As mentioned in the thread before , you
> can add that line mentioned there. Still was wondering , Did i understood
> anything wrong ?
>
> Also its possible for you to use a same assembly info of your 2003/2002
> projects
>
> Regards,
> Hari



 
Reply With Quote
 
Jon
Guest
Posts: n/a
 
      03-01-2006
That's correct, by default VS2005 doesn't show the AssemblyInfo.vb file
in solution explorer when working on a VB project, but if you're using
C# it does. And it is in the My Project folder for VB apps.

You can view it inside VS by clicking the "Show All Files" button in
Solution Explorer. This should allow you to expand My Projects and see
the stuff in there.

Note that you can also add the assembly level attributes elsewhere,
although I've always found it tidier to keep them in AssemblyInfo.

Regards,
Jon

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting Assembly TagPrefix in 2005?? Arthur Dent ASP .Net 5 03-01-2006 01:30 PM
[assembly:TagPrefix("", "")] Problems Seraph ASP .Net 1 05-12-2005 03:31 PM
TagPrefix? Brad B. ASP .Net 2 12-29-2003 04:40 PM
Global tagprefix? Kev ASP .Net 0 12-10-2003 04:54 PM
Why doesnt custom TagPrefix work in controls made w/ VBNET? Showjumper ASP .Net 5 07-17-2003 03:48 AM



Advertisments