473,508 Members | 2,384 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Assembly attribute issue

Hi, everyone,
I'm using VB.NET to developing COM+. THere are a few classes under one
project. when I compile it, I got error
"System.EnterpriseServices.ApplicationNameAttribut e' cannot be specified more
than once in this project, even with identical parameter values.", and
warning "Warning: The dependency 'ADCDataAccess, Version=1.0.1790.31794,
Culture=neutral, PublicKeyToken=14c45b235ab55f19' in project 'ADCAsset'
cannot be copied to the run directory because it would overwrite the
reference 'ADCDataAccess, Version=1.0.1829.30525, Culture=neutral,
PublicKeyToken=54d11f9b3b7371b9'.". Sometimes I got error about strong name
"Couldn't find path of adc.snk" even though the file exists there.
What could be the problem?
Note: I put a few <Assembly: ....> statements in each class, some of them
are same. Even I put AssemblyKeyFileAttribute in each class with same file
name. Is that ok? Basically, what kind of attribute should I put in class,
and what kind of attribute should I put in AssemblyInfo?
Thanks.

william
Jul 21 '05 #1
0 897

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

Similar topics

2
1645
by: serge calderara | last post by:
Dear all, In my assembly info file I have such kind of default information : <Assembly: AssemblyTitle("")> <Assembly: AssemblyDescription("")> <Assembly: AssemblyCompany("")> Can I add...
6
3164
by: James | last post by:
I have two question regarding the version resource that is generated for a satellite assembly. 1) I have a file in my C# console app project called StringResources.en-US.resx. When I build the...
5
10099
by: Sky | last post by:
Hello: I understand that I can query an class def to find if it has a specific custom attribute -- but if i wanted to find all classes in an assembly that have that attribute, is there a way? ...
2
1720
by: George Durzi | last post by:
I have a dll that I use in several projects, that I placed in the Global Assembly Cache. This dll is references in each of my projects. This Dll is referenced by a type= declaration in my...
6
1664
by: Nak | last post by:
Hi there, I was wondering if anyone knew of a way to maintain compatability with assemblies providing the interfaces remains the same? At the moment if I re-compile an assembly without actually...
3
2672
by: Dan Holmes | last post by:
If i have Class2 that is inherited by Class1, how can Class1's methods operate on Class2's assembly information? For instance: public class Component { public virtual List<ComponentInfo>...
2
11758
by: Paul | last post by:
Hi, I have experience in Java and C++ but I am rather new to C# and just started learning it. I am using Visual C# 2005 Express Edition and I found that there is a file called "AssemblyInfo.cs",...
6
9389
by: Jo | last post by:
Hi all, I have a strong name assembly (a dll written in C#) which has Register for COM interop set to true. I want to remove the strong name attribute from the assembly, how to do that? ...
5
18450
by: =?Utf-8?B?TWFydHluIEZld3RyZWxs?= | last post by:
From the amount of articles about this one I’m sure this gets asked a lot, but I haven’t yet found a succinct article which explains what is required in its entirety. I work using Visual...
7
2348
by: Paul Hadfield | last post by:
Hi, I'm running into one problem with trying to call "Type.GetCustomAttributes(...)" on my reflected code. Basically - I can't trap my own custom attribute - I can only catch / identify system...
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7115
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7321
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7036
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5624
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1547
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.