Skip to content

Commit 8c090c7

Browse files
committed
Cleanup AssemblyInfo.cs files
Set version back to 1.0.0.0 (overwritten by build server). Reformat. Update file headers and copyright strings.
1 parent f2d72f8 commit 8c090c7

File tree

5 files changed

+32
-110
lines changed

5 files changed

+32
-110
lines changed
Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright(c) 2007 Andreas Gullberg Larsen
1+
// Copyright © 2007 Andreas Gullberg Larsen ([email protected]).
22
// https://github.com/anjdreas/UnitsNet
33
//
44
// Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -22,39 +22,21 @@
2222
using System.Reflection;
2323
using System.Runtime.InteropServices;
2424

25-
// General Information about an assembly is controlled through the following
26-
// set of attributes. Change these attribute values to modify the information
27-
// associated with an assembly.
28-
2925
[assembly: AssemblyTitle("UnitsNet.Serialization.JsonNet.Tests")]
3026
[assembly: AssemblyDescription("")]
3127
[assembly: AssemblyConfiguration("")]
32-
[assembly: AssemblyCompany("Vecima Networks Inc.")]
28+
[assembly: AssemblyCompany("Andreas Gullberg Larsen")]
3329
[assembly: AssemblyProduct("UnitsNet.Serialization.JsonNet.Tests")]
34-
[assembly: AssemblyCopyright("Copyright © Vecima Networks Inc. 2015")]
30+
[assembly: AssemblyCopyright("Copyright © 2007 Andreas Gullberg Larsen")]
3531
[assembly: AssemblyTrademark("")]
3632
[assembly: AssemblyCulture("")]
33+
[assembly: AssemblyVersion("1.0.0.0")]
34+
[assembly: AssemblyFileVersion("1.0.0.0")]
3735

3836
// Setting ComVisible to false makes the types in this assembly not visible
3937
// to COM components. If you need to access a type in this assembly from
4038
// COM, set the ComVisible attribute to true on that type.
41-
4239
[assembly: ComVisible(false)]
4340

4441
// The following GUID is for the ID of the typelib if this project is exposed to COM
45-
46-
[assembly: Guid("2a76fc53-e331-4cfa-83c0-93a212fd8f6e")]
47-
48-
// Version information for an assembly consists of the following four values:
49-
//
50-
// Major Version
51-
// Minor Version
52-
// Build Number
53-
// Revision
54-
//
55-
// You can specify all the values or you can default the Build and Revision Numbers
56-
// by using the '*' as shown below:
57-
// [assembly: AssemblyVersion("1.0.*")]
58-
59-
[assembly: AssemblyVersion("1.0.0.0")]
60-
[assembly: AssemblyFileVersion("1.0.0.0")]
42+
[assembly: Guid("2a76fc53-e331-4cfa-83c0-93a212fd8f6e")]
Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright(c) 2007 Andreas Gullberg Larsen
1+
// Copyright © 2007 Andreas Gullberg Larsen ([email protected]).
22
// https://github.com/anjdreas/UnitsNet
33
//
44
// Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -22,39 +22,21 @@
2222
using System.Reflection;
2323
using System.Runtime.InteropServices;
2424

25-
// General Information about an assembly is controlled through the following
26-
// set of attributes. Change these attribute values to modify the information
27-
// associated with an assembly.
28-
2925
[assembly: AssemblyTitle("UnitsNet.Serialization.JsonNet")]
30-
[assembly: AssemblyDescription("A helper library for serializing and deserializing types in UnitsNet using Json.NET")]
26+
[assembly: AssemblyDescription("A helper library for serializing and deserializing types in Units.NET using JSON.NET")]
3127
[assembly: AssemblyConfiguration("")]
32-
[assembly: AssemblyCompany("Initial Force AS")]
28+
[assembly: AssemblyCompany("Andreas Gullberg Larsen")]
3329
[assembly: AssemblyProduct("UnitsNet.Serialization.JsonNet")]
34-
[assembly: AssemblyCopyright("Copyright © 2007-2015 Initial Force AS")]
30+
[assembly: AssemblyCopyright("Copyright © 2007 Andreas Gullberg Larsen")]
3531
[assembly: AssemblyTrademark("")]
3632
[assembly: AssemblyCulture("")]
33+
[assembly: AssemblyVersion("1.0.0.0")]
34+
[assembly: AssemblyFileVersion("1.0.0.0")]
3735

3836
// Setting ComVisible to false makes the types in this assembly not visible
3937
// to COM components. If you need to access a type in this assembly from
4038
// COM, set the ComVisible attribute to true on that type.
41-
4239
[assembly: ComVisible(false)]
4340

4441
// The following GUID is for the ID of the typelib if this project is exposed to COM
45-
46-
[assembly: Guid("2ef845d1-8177-4df3-aea9-5231e53cb30e")]
47-
48-
// Version information for an assembly consists of the following four values:
49-
//
50-
// Major Version
51-
// Minor Version
52-
// Build Number
53-
// Revision
54-
//
55-
// You can specify all the values or you can default the Build and Revision Numbers
56-
// by using the '*' as shown below:
57-
// [assembly: AssemblyVersion("1.0.0")]
58-
59-
[assembly: AssemblyVersion("1.0.0")]
60-
[assembly: AssemblyFileVersion("1.0.0")]
42+
[assembly: Guid("2ef845d1-8177-4df3-aea9-5231e53cb30e")]
Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright(c) 2007 Andreas Gullberg Larsen
1+
// Copyright © 2007 Andreas Gullberg Larsen ([email protected]).
22
// https://github.com/anjdreas/UnitsNet
33
//
44
// Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -22,36 +22,21 @@
2222
using System.Reflection;
2323
using System.Runtime.InteropServices;
2424

25-
// General Information about an assembly is controlled through the following
26-
// set of attributes. Change these attribute values to modify the information
27-
// associated with an assembly.
28-
29-
[assembly: AssemblyTitle("UnitsNet.Tests")]
25+
[assembly: AssemblyTitle("UnitsNet.WindowsRuntimeComponent.Tests")]
3026
[assembly: AssemblyDescription("")]
3127
[assembly: AssemblyConfiguration("")]
32-
[assembly: AssemblyCompany("Initial Force AS")]
33-
[assembly: AssemblyProduct("UnitsNet.Tests")]
34-
[assembly: AssemblyCopyright("Copyright © 2007-2014 Initial Force AS")]
28+
[assembly: AssemblyCompany("Andreas Gullberg Larsen")]
29+
[assembly: AssemblyProduct("UnitsNet.WindowsRuntimeComponent.Tests")]
30+
[assembly: AssemblyCopyright("Copyright © 2007 Andreas Gullberg Larsen")]
3531
[assembly: AssemblyTrademark("")]
3632
[assembly: AssemblyCulture("")]
33+
[assembly: AssemblyVersion("1.0.0.0")]
34+
[assembly: AssemblyFileVersion("1.0.0.0")]
3735

3836
// Setting ComVisible to false makes the types in this assembly not visible
3937
// to COM components. If you need to access a type in this assembly from
4038
// COM, set the ComVisible attribute to true on that type.
41-
4239
[assembly: ComVisible(false)]
4340

4441
// The following GUID is for the ID of the typelib if this project is exposed to COM
45-
46-
[assembly: Guid("0a912b96-39c0-4b7a-b045-a49ef3e4bc3c")]
47-
48-
// Version information for an assembly consists of the following four values:
49-
//
50-
// Major Version
51-
// Minor Version
52-
// Build Number
53-
// Revision
54-
//
55-
56-
[assembly: AssemblyVersion("1.0.0")]
57-
[assembly: AssemblyFileVersion("1.0.0")]
42+
[assembly: Guid("0a912b96-39c0-4b7a-b045-a49ef3e4bc3c")]
Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
// Copyright(c) 2007 Andreas Gullberg Larsen
1+
// Copyright © 2007 Andreas Gullberg Larsen ([email protected]).
22
// https://github.com/anjdreas/UnitsNet
3-
//
3+
//
44
// Permission is hereby granted, free of charge, to any person obtaining a copy
55
// of this software and associated documentation files (the "Software"), to deal
66
// in the Software without restriction, including without limitation the rights
77
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
88
// copies of the Software, and to permit persons to whom the Software is
99
// furnished to do so, subject to the following conditions:
10-
//
10+
//
1111
// The above copyright notice and this permission notice shall be included in
1212
// all copies or substantial portions of the Software.
13-
//
13+
//
1414
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1515
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1616
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -29,10 +29,6 @@
2929
[assembly: ComVisible(false)]
3030
#endif
3131

32-
// General Information about an assembly is controlled through the following
33-
// set of attributes. Change these attribute values to modify the information
34-
// associated with an assembly.
35-
3632
[assembly: AssemblyTitle("Units.NET")]
3733
[assembly: AssemblyDescription("Units.NET gives you all the common units of measurement and the conversions between them. It is light-weight, unit tested and supports PCL.")]
3834
[assembly: AssemblyConfiguration("")]
@@ -43,17 +39,9 @@
4339
[assembly: AssemblyCulture("")]
4440
[assembly: NeutralResourcesLanguage("")]
4541
[assembly: CLSCompliant(true)]
46-
// Version information for an assembly consists of the following four values:
47-
//
48-
// Major Version
49-
// Minor Version
50-
// Build Number
51-
// Revision
52-
//
42+
[assembly: AssemblyVersion("1.0.0.0")]
43+
[assembly: AssemblyFileVersion("1.0.0.0")]
5344

5445
// Give access to internal members for testing
5546
[assembly: InternalsVisibleTo("UnitsNet.Tests")]
56-
[assembly: InternalsVisibleTo("UnitsNet.WindowsRuntimeComponent.Tests")]
57-
58-
[assembly: AssemblyVersion("3.33.0")]
59-
[assembly: AssemblyFileVersion("3.33.0")]
47+
[assembly: InternalsVisibleTo("UnitsNet.WindowsRuntimeComponent.Tests")]

UnitsNet/Properties/AssemblyInfo.cs

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,8 @@
2424
using System.Resources;
2525
using System.Runtime.CompilerServices;
2626

27-
// General Information about an assembly is controlled through the following
28-
// set of attributes. Change these attribute values to modify the information
29-
// associated with an assembly.
30-
3127
[assembly: AssemblyTitle("Units.NET")]
32-
[assembly:
33-
AssemblyDescription(
34-
"Units.NET gives you all the common units of measurement and the conversions between them. It is light-weight, unit tested and supports PCL.")]
28+
[assembly: AssemblyDescription("Units.NET gives you all the common units of measurement and the conversions between them. It is light-weight, unit tested and supports PCL.")]
3529
[assembly: AssemblyConfiguration("")]
3630
[assembly: AssemblyCompany("Andreas Gullberg Larsen")]
3731
[assembly: AssemblyProduct("Units.NET")]
@@ -40,17 +34,8 @@
4034
[assembly: AssemblyCulture("")]
4135
[assembly: NeutralResourcesLanguage("")]
4236
[assembly: CLSCompliant(true)]
37+
[assembly: AssemblyVersion("1.0.0.0")]
38+
[assembly: AssemblyFileVersion("1.0.0.0")]
4339

4440
// Give access to internal members for testing
45-
46-
[assembly: InternalsVisibleTo("UnitsNet.Tests")]
47-
// Version information for an assembly consists of the following four values:
48-
//
49-
// Major Version
50-
// Minor Version
51-
// Build Number
52-
// Revision
53-
//
54-
55-
[assembly: AssemblyVersion("3.33.0")]
56-
[assembly: AssemblyFileVersion("3.33.0")]
41+
[assembly: InternalsVisibleTo("UnitsNet.Tests")]

0 commit comments

Comments
 (0)