473,513 Members | 2,406 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can I merge assembly info in c#

2 New Member
I have a solution with multiple projects. Each have an assemblyinfo.cs. file Each of these files have a section that is particular for each project like

[assembly: AssemblyTitle("Activity Manager")]
[assembly: AssemblyDescription("Activity Manager for .Net 3.5 Framework")]

I also have a global assemblyinfo.cs file which has items that are the same for all projects like

[assembly: AssemblyCompany("MyCompany")]
[assembly: AssemblyCopyright("© 2010 MyCompany Ltd")]
[assembly: AssemblyVersion("11.1.1.18824")]
[assembly: AssemblyFileVersion("11.1.1.18824")]

Is there a way of combining the 2 or including the global section in the assemblyinfo.cs for each project.

In C++ I can do a #include but that doesn't work in c#.
Mar 15 '13 #1
1 2573
fm42
2 New Member
Solution: Just add the global assemblyInfo.cs file to each project and move it ito the Properties section. Just had to make sure that non of the properies in the global file were also in the local file.
Mar 15 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
4118
by: serge calderara | last post by:
Dear all, I ma update my assembly information and one of this information is the path to the registration key file. I have noticed that you need to provide the full path for the key file,...
4
349
by: EdB | last post by:
I want to use the Assembly information to display version/build information and I have some questions. I'm able to get the FileMajorPart, FileMinorPart, & FileBuildPart. I am not able to get to...
10
3417
by: jojobar | last post by:
Hello, I am trying to use vs.net 2005 to migrate a project originally in vs.net 2003. I started with creation of a "web site", and then created folders for each component of the site. I read...
0
1007
by: Chris | last post by:
When I compile using vbc.exe, I can't afford vs.net just yet, how do I specify the information that is usually in the assembly info file, such as version number and location of the strong name...
3
1688
by: Jon Paal | last post by:
Trying to get assembly and hard drive info any working examples in vb available ? I couldn;t find any examples for assembly info. I tried this for hd info but no success. Imports...
2
931
by: Rob Meade | last post by:
Hi all, I have an asp.net project which originally had some code to get assembly information from itself and display this in the footer of the page. I have since made few server controls, and...
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",...
1
1157
by: Rob Meade | last post by:
Hi all, Having used to be able to specify the version numbers for my applications I am a bit of a loss with regards to what to do now...from what I've read (skimmed through to be honest) on the...
4
7411
by: Rob Meade | last post by:
Hi all, Having used to be able to specify the version numbers for my applications I am a bit of a loss with regards to what to do now...from what I've read (skimmed through to be honest) on the...
2
1558
by: shapper | last post by:
Hello, I created an DLL Library which includes various web controls, classes, ... I would like to create a class, named Info, with a function that would return some information about the...
0
7166
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
7543
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7106
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
7534
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5689
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
4749
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3226
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1601
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 ...
0
459
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.