v-phuang
Sun Feb 22 19:54:45 CST 2004
Hi Stan,
Thanks for your quickly reply!
Based on my knowledge, XCOPY deployment will not apply to all kinds of .NET
project. In order to make the serviced component runs properly on the
machine, registering serviced component is necessary, so that the COM
client can access it.
From Deploying .NET Applications Lifecycle Guide.
Side-by-Side Issues with Serviced Components
As you update your serviced components, or if you have a scenario where
multiple
versions of the same component are on the same computer, you can encounter
several issues caused by having these components installed side by side. To
help you
maintain your serviced components, you should adhere to the following
advice:
Do not use globally unique identifiers (GUIDs) as the GuidAttribute class
or
ApplicationIDAttribute. Instead use the ApplicationNameAttribute. If you do
use a GUID, you need to hard code the GUID into the assembly, which requires
you to manually change this GUID if you update your component and have it
run alongside the original version; otherwise, the COM+ installation
overwrites
the settings for the earlier version.
Remember that assembly versioning applies only to the assemblies
themselves,
not the COM+ application. There is no automatic way to version the
application
itself. If the newer version of a serviced component requires changes at the
COM+ application level that will break previous versions of the component,
then
you need to use the application name to indicate versioning by installing
the
newer version of the serviced component into its own COM+ application.
For detailed information, you may download the file referring to the link
below.
Deploying .NET Framework-Based Applications
http://www.microsoft.com/downloads/details.aspx?FamilyId=5B7C6E2D-D03F-4B19-
9025-6B87E6AE0DA6&displaylang=en
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.