C# .NET - application version (major and minor) c# winform
Asked By fady sayegh
22-Nov-05 08:31 AM
hi to all,
how can i change the application major, minor and revision with the designer in c# win form.
best regrads and thanks in advance
fady
AssemblyInfo
Hi Fady,
You can set the application major and minor versions in the AssemblyInfo.cs file. Look for the following line and you can change the value of these:
[assembly: AssemblyVersion("1.0.*")]
you can set the
version of the assembly as
//Set version number for the assembly.
[assembly:AssemblyVersionAttribute("1.2.0.1")]
you can also change it from command prompt as follows
UpdateVersion.exe -b BuildDay -r Fixed -i
For more information see this link
http://www.codeproject.com/dotnet/ManagingAssemblyVersions.asp

Application stopped running in other computers C++ / VB Hi I'm writing a form application in Visual C++ Express. Earlier versions of the application were running fine in other computers, given they installed I used to get this error but fixed the problem with secutiry declarations in the AssemblyInfo.cpp. Following is the code of the AssemblyInfo: using namespace System; using namespace System::Reflection; using namespace System::Runtime::CompilerServices; using namespace System AssemblyTitleAttribute("Example")]; [assembly:AssemblyDescriptionAttribute("")]; [assembly:AssemblyConfigurationAttribute("")]; [assembly:AssemblyCompanyAttribute("PGL")]; [assembly:AssemblyProductAttribute("Example")]; [assembly:AssemblyCopyrightAttribute("Copyright (c) PGL 2007")]; [assembly:AssemblyTrademarkAttribute("")]; [assembly:AssemblyCultureAttribute("")]; / / Security declarations. [assembly:SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)]; / / Request Unrestricted = true)]; / / Request complete File IO functionality [assembly:ZoneIdentityPermissionAttribute(SecurityAction::RequestMinimum, Zone = SecurityZone::NoZone)]; [assembly:AssemblyVersionAttribute("1.0.*")]; [assembly:ComVisible(false)]; [assembly:CLSCompliantAttribute(true)]; I'll appreciate any help in getting VC++ Express, as explained here: http: / / blogs.msdn.com / nikolad / archive / 2005 / 09 / 02 / running-c-application-built-by-vc-express-on-another-computer.aspx Marcos pd. hopefully MS will eventually put a c++ runtime distribution package compatible with visual express SP1 keywords: Application, stopped, running, in, other, computers
Missing version info in multifile assembly .NET Framework In my solution, I have several C# and C++ projects. Since I need them to produce multifile assembly, I use C# and C++ command line compiler. To avoid compile error caused by redundant code in AssemblyInfo.cs in each of the projects, I then created GlobalAssemblyInfo.cs at the solution level are embedded correctly in the assembly. What am I doing wrong? Thanks in advance - - Henry C# Discussions AssemblyVersionAttribute (1) AssemblyInfo (1) Missing (1) Online (1) Managednewsgroups (1) Netmodules (1) Attributes (1) Reflector (1) Hi Henry
Looking for information on how to properly use dll's C++ / VB Hi, I'm pretty new to the c++ world. . I'm using Visual c++ and Visual Studio 2k5. . My problem that I'm researching is this. I'm writing If so, can anyone recommend some good web materials on creating dll's for Visual c++? Thanks for any suggestions, David VC Language Discussions Visual Studio 2005 (1) Visual Studio (1 would have been nice. "Doesn't compile" doesn't tell us anything. - - David Wilkinson Visual C++ MVP Hi all, Thanks for the posts, here's some more detailed information. I'm an email via SMTP based on those queries. I want to write the application in c++ or Visual C++, as it's been awhile since I've written in them. And I need to the like. IBPP has no dependencies to any of these. It only depends on the C++ language itself and the C++ Standard Library (which shouldn't be unexpected for a C
A tool to view C++ / CLI assembly attributes .NET Framework Hi, I have a C++ / CLI DLL which I marked with [assembly: AssemblyVersionAttribute( "1.0.0.0" )] in a cpp file. Is there a standard tool from Microsoft file and displays all the .NET attributes of the assembly? Thanks, John VC++.NET Discussions AssemblyVersionAttribute (1) CustomAttribute (1) AssemblyInfo (1) Ge (1) Show (1) Online (1) ildasm.exe will do that (aside from anything us / library / aa309387.aspx In the menu File-> Open of ildasm, we could locate the C++ / CLI dll, load it. Then in the View menu -> MetaInfo -> Show!, it would display all the metadata info in the .NET assembly, including our AssemblyVersionAttribute ("1.0.0.0"): CustomAttribute #7 (0c000043) - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- CustomAttribute Type: 0a000005 CustomAttributeName: System.Reflection AssemblyVersionAttribute :: instance void .ctor(class System.String) Length: 12 Value : 01 00 07 31 2e 30
How do I control file version numbers .NET Framework My AssemblyInfo file has [assembly: AssemblyVersion("1.0.*")] My file version is now 1.0.2594.35196 is this stored? What is the difference between build and revision? Thanks in advance, jim C# Discussions AssemblyVersionAttribute (1) AssemblyInfo (1) Outlook (1) Online (1) Please read the description of System.Reflection.AssemblyVersionAttribute class in MSDN, it explains these numbers and how you can control them. Hi Jim warranties, and confers no rights. keywords: How, do, I, control, file, version, numbers description: My AssemblyInfo file has [assembly: AssemblyVersion(1.0.*)] My file version is now 1.0.2594.35196