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

Register assembly

Max
Is there a way to register an assembly programatically?
Nov 17 '05 #1
3 9517
You can find the information here, although it's strongly recommended that
you don't use it:

http://support.microsoft.com/default...b;en-us;317540

Pete

"Max" <ma******@yahoo.com> wrote in message
news:O%****************@TK2MSFTNGP09.phx.gbl...
Is there a way to register an assembly programatically?

Nov 17 '05 #2
Max,

What do you need to register it for? Assemblies in .NET don't require
registration in order to be used, they are loaded based on their location.

If you need to register it, it is for something else, but there are many
things that can do this. What specifically are you trying to register it
for?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Max" <ma******@yahoo.com> wrote in message
news:O%****************@TK2MSFTNGP09.phx.gbl...
Is there a way to register an assembly programatically?

Nov 17 '05 #3
RegistrationServices regAsm = new RegistrationServices();
bool bResult = regAsm.RegisterAssembly(this.GetType().Assembly,
AssemblyRegistrationFlags.SetCodeBase);

"Max" <ma******@yahoo.com> wrote in message
news:O%****************@TK2MSFTNGP09.phx.gbl...
Is there a way to register an assembly programatically?

Nov 17 '05 #4

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

Similar topics

2
by: Andy Bates | last post by:
Hi - I have a C# .NET assembly that exposes a COM interface (basically has an interface and class with Guid attributes). If I compile this under VS.NET (with the "Register for COM Interop"...
0
by: Sergey Polyakov | last post by:
Hello everybody! I am authoring my custom webcontrol and faced a very difficult problem. I have two assemblies: the first one contains some base classes and the second one contains a class which...
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...
5
by: serge calderara | last post by:
Dear all, I do not see the difference between Referencing an assembliy for use in my project and Register it on a page ? At the end if I want to use assembly functionnality , I need anyway to...
7
by: Roby Eisenbraun Martins | last post by:
Hi, I'm trying to register my Dlls in the client machine without using any deployment package. I tried copying all the files and Dlls to a specified folder and run, but then the application...
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...
5
by: richard.tallent | last post by:
I'm fond of web controls in ASP.NET, but the need for <@ Register%> blocks at the top of each page is a pain. ASP.NET 2.0 has a way to centrally register controls in the web.config file, but it...
5
by: kumarsssss | last post by:
I have just new to degugger. It shows the data registers and address registers. Data registers contatin the data values for the different variables. But what the address registers holds? Does...
33
by: Snis Pilbor | last post by:
With the "as if" rule in play, doesn't that effectively render the "register" keyword completely useless? Example: I make a silly compiler which creates code that goes out of its way to take a...
8
by: =?Utf-8?B?R2Vvcmdl?= | last post by:
Hello everyone, I am using Visual Studio 2005 to develop a C# COM Class Library project. There is a setting in Build --Output, called *Register for COM Interop*. What is the usage of this...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.