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

C++ (managed) assembly attributes

Hi all,

I've inhertied a managed C++ (Visual Studio 2005) application. The project
apparently contains no assembly attributes (the kind of stuff that would be
in an AssemblyInfo.cs file). How do I add this stuff to a managed C++
project?

TIA - Bob
May 18 '07 #1
3 2874
I created a new C++ project and copied the AssemblyInfo.cpp file from it.
It compiles, but the resulting exe file doesn't have a version resource.
What is the magic that causes .Net to create a version resource out of the
AssemblyInfo stuff for managed C++?

- Bob

"Bob Altman" <rd*@nospam.nospamwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
Hi all,

I've inhertied a managed C++ (Visual Studio 2005) application. The
project apparently contains no assembly attributes (the kind of stuff that
would be in an AssemblyInfo.cs file). How do I add this stuff to a
managed C++ project?

TIA - Bob

May 18 '07 #2

Though there is such magic in the C# compiler, there is not in the C++ compiler.
At least there wasn't in the VC7.1 compiler and as far as I know that has
not changed.
I created a new C++ project and copied the AssemblyInfo.cpp file from
it. It compiles, but the resulting exe file doesn't have a version
resource. What is the magic that causes .Net to create a version
resource out of the AssemblyInfo stuff for managed C++?

- Bob

"Bob Altman" <rd*@nospam.nospamwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>Hi all,

I've inhertied a managed C++ (Visual Studio 2005) application. The
project apparently contains no assembly attributes (the kind of stuff
that would be in an AssemblyInfo.cs file). How do I add this stuff
to a managed C++ project?

TIA - Bob

May 19 '07 #3
Hi Bob,

There's no magic in AssemblyInfo, whatever, just a bunch of [assembly:Xxxx]
attributes.

I believe you use the traditional Xxxx.RC file method of creating version
resources with C++.

Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
May 21 '07 #4

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

Similar topics

1
by: Bob Rock | last post by:
Hello, in the last few days I've made my first few attempts at creating mixed C++ managed-unmanaged assemblies and looking aftwerwards with ILDASM at what is visible in those assemblies from a...
22
by: Alper AKCAYOZ | last post by:
Hello Esteemed Developers and Experts, I have been using Microsoft Visual C++ .NET for 1 year. During this time, I have searhed some topics over internets. Most of the topics about .NET is...
3
by: Dave | last post by:
I'm at a point where I would really like to focus in on learning .NET but am having a hard time deciding which language to use. I learned to program in C++ but have spent quite a bit of time using...
0
by: Nadav | last post by:
Hi All, - I am working on a tool that manipulate managed assemblies, some of the functionality provided by the tool require manipulating the metadata sections of the managed assembly in a way it...
4
by: M?rten O | last post by:
Hello! I have a problem with managed C++ and the Application class I want to use Application::CommonAppDataPath but the only answer I get is "D:\Documents and Settings\All Users\Application...
10
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
by: MC-Advantica | last post by:
I have built a managed wrapper class and assembly that expose much functionality available in unmanaged legacy DLLs. I can write VB apps that interface with the managed assembly, and the managed...
2
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",...
2
by: Chen Zhuo | last post by:
Hi all experts, We are having a problem with the exact time when a C# dll gets loaded in managed C++. The scenario is like: In managed.cpp: #using MyCSharp.dll
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
0
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
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
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,...
0
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...

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.