473,322 Members | 1,504 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,322 software developers and data experts.

Setting Assembly TagPrefix in 2005??

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.
Feb 28 '06 #1
5 2288
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" <hi*********************@yahoo.com> wrote in message
news:eq**************@TK2MSFTNGP11.phx.gbl...
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.

Feb 28 '06 #2
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" <si***********@yahoo.com> wrote in message
news:eR*************@TK2MSFTNGP12.phx.gbl...
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" <hi*********************@yahoo.com> wrote in message
news:eq**************@TK2MSFTNGP11.phx.gbl...
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.


Feb 28 '06 #3
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" <hi*********************@yahoo.com> wrote in message
news:uD**************@tk2msftngp13.phx.gbl...
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" <si***********@yahoo.com> wrote in message
news:eR*************@TK2MSFTNGP12.phx.gbl...
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" <hi*********************@yahoo.com> wrote in message
news:eq**************@TK2MSFTNGP11.phx.gbl...
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.



Feb 28 '06 #4
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" <si***********@yahoo.com> wrote in message
news:OF*************@TK2MSFTNGP11.phx.gbl...
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

Feb 28 '06 #5
Jon
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

Mar 1 '06 #6

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

Similar topics

3
by: Dan | last post by:
Hi, I have a problem using an aspx page with a Control on it. I get the following error message Compiler Error Message: CS1595: 'Test.Class2' is defined in multiple places; using definition...
1
by: John Blair | last post by:
hi,I have the following code which gives an error in VB.Net when i run it that it cant find the assembly SimpleControlSamplesVB? any ideas how to resolve this error? Thanks for any help! J. ...
0
by: Steve Richter | last post by:
I have moved a user control from my asp.net web application project into a separate assembly. Where I had registered the control this way: <%@ Register TagPrefix="ac" TagName="ArticleSummary"...
1
by: Seraph | last post by:
I've never posted here before, but I have lurked for quite some time, and have been frustrated to my whits end on what to do about this. Since there is limited support in previous posts (and many...
3
by: Jim | last post by:
Hi, I have an assembly and it's satellite in my GAC. I have referenced the DLLs in my project (from the same location where I added it to the GAC). CopyLocal is set false. When I run the...
1
by: John Blair | last post by:
hi,I have the following code which gives an error in VB.Net when i run it that it cant find the assembly SimpleControlSamplesVB?any ideas how to resolve this error? Thanks for any help! J.Parser...
1
by: Michael Tissington | last post by:
I'm trying to convert a project from VS2003 to VS2005 After conversion all of my TagPrefix are not recognized in the body. <%@ Register TagPrefix="Oaklodge" TagName="Curve"...
8
by: Umut Tezduyar | last post by:
I know that, in asp.net 2.0, the assembly for the web site is splitted into pieces and each time you build it, it generates a random name for assembly. My question is, if i create a custom web...
2
by: Beemer Biker | last post by:
I have some demo code that came with a 3rd party product. This is what it looks like (I remove html braces in case it does not print right) Register TagPrefix="pin"...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.