-
Notifications
You must be signed in to change notification settings - Fork 78
/
GlobalAssemblyInfo.cs
60 lines (54 loc) · 2.96 KB
/
GlobalAssemblyInfo.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="GlobalAssemblyInfo.cs" company="NBug Project">
// Copyright (c) 2011 - 2013 Teoman Soygul. Licensed under MIT license.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
using System;
using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("NBug")]
[assembly: AssemblyCopyright("Copyright © 2013 Teoman Soygul")]
[assembly: AssemblyTrademark("")]
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
/*
* Basic rules to become CLS compilant is below:
* 1. Unsigned types should not be part of the public interface of the class. What this means is public fields should not
* have unsigned types like uint or ulong, public methods should not return unsigned types, parameters passed to public
* function should not have unsigned types. However unsigned types can be part of private members.
* 2. Unsafe types like pointers should not be used with public members. However they can be used with private members.
* 3. Class names and member names should not differ only based on their case. For example we cannot have two methods
* named MyMethod and MYMETHOD.
* 4. Only properties and methods may be overloaded, Operators should not be overloaded.
*/
[assembly: CLSCompliant(true)]
// 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 Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2")]
// This is also assigned to 'AssemblyInformationalVersion' which is the product version
// Standard Way: [major].[minor].[bugfix].[build]
// .NET Convention: Third digit is the auto-incremented build version. Fourth digit is revision, which is service pack no
[assembly: AssemblyFileVersion("1.2.0.0")]
/*
* AssemblyVersion should only be changed for major changes or breaking changes since any change to the
* AssemblyVersion would force every .NET application referencing the assembly to re-compile against the
* new version!
*
* Do not change the AssemblyVersion for a servicing release which is intended to be backwards compatible.
* Do change the AssemblyVersion for a release that you know has breaking changes.
*
* Remember that it’s the AssemblyFileVersion that contains all the interesting servicing information
* (it’s the Revision part of this version that tells you what Service Pack you’re on)
*/