i have developed the application in ASP.NET with C#. i want to set the Assembly version to this project but in property page this option can not be displayed .how to set Assembly version to the web application ?
There's a Properties/AssemblyInfo.cs
file in which you could set the assembly version:
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
Although normally you should be able to do that in the properties of the project in Visual Studio.
If you have created an ASP.NET Site (and not ASP.NET Application) you cannot set the assembly version as there's no assembly. ASP.NET sites are not precompiled. The ASP.NET will dynamically emit assemblies at runtime.
View the Property Pages by either:
In the Application Tab, find the button that says "Assembly Information..." there you'll get a dialog to edit the assembly version.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With