Does anybody write down AssemblyInfo attributes?

  • Thread starter Thread starter Hovsep Mkrtchyan
  • Start date Start date
H

Hovsep Mkrtchyan

That is:
In AssembyInfo.cpp I've wrote
[assembly:AssemblyVersionAttribute("1.5.3.0")]

But after compile in dll properties window there is no Version tag.

Does anybody solved this issue? Maybe there must be something mentioned in
compiller tags or so on?



Thanks,

Me.
 
Hovsep said:
That is:
In AssembyInfo.cpp I've wrote
[assembly:AssemblyVersionAttribute("1.5.3.0")]

But after compile in dll properties window there is no Version tag.

Does anybody solved this issue? Maybe there must be something
mentioned in compiller tags or so on?

Assembly version is part of the fully qualified names of the types defined
in the assembly, but it's a different thing from the version resource that
Windows Explorer knows about and shows in the Version tab of the file
properties dialog.

If you want a windows version resource, you need to embed a traditional
windows version resource in your assembly in addition to the assembly
attributes.

-cd
 
Assembly version is part of the fully qualified names of the types defined
in the assembly, but it's a different thing from the version resource that
Windows Explorer knows about and shows in the Version tab of the file
properties dialog.

If you want a windows version resource, you need to embed a traditional
windows version resource in your assembly in addition to the assembly
attributes.

-cd
10x. One Question more. Is there any difference between assemblies
developed in C# and Managed C++? Cause string
[assembly:AssemblyVersionAttribute("1.5.3.0")] written in its C# equvalent
just works fine but nothing works under Managed C++.
 
10x. One Question more. Is there any difference between assemblies
developed in C# and Managed C++? Cause string
[assembly:AssemblyVersionAttribute("1.5.3.0")] written in its C# equvalent
just works fine but nothing works under Managed C++.

I think the C# compiler helps you out by synthesizing a Win32 version
resource but the C++ compiler doesn't. You need to build the Win32 version
resource yourself (i.e. you need to add a .RC file to your project that
contains a version resource).

-cd
 
I think the C# compiler helps you out by synthesizing a Win32 version
resource but the C++ compiler doesn't. You need to build the Win32
version resource yourself (i.e. you need to add a .RC file to your project
that contains a version resource).

-cd

10x again. ;) You'd just help me with a huge headache. ;)
 
Back
Top