Skip to content
This repository was archived by the owner on Aug 7, 2020. It is now read-only.

Commit 5fd17be

Browse files
committed
GlobalAssemblyInfo.cs. Use nuget variables.
1 parent ee11d4f commit 5fd17be

File tree

9 files changed

+35
-79
lines changed

9 files changed

+35
-79
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,7 @@ _Pvt_Extensions/
198198
ModelManifest.xml
199199

200200
#Docker stuff
201-
volumes/
201+
volumes/
202+
203+
#Nuget publish
204+
*.nupkg

AlwaysEncryptedSample.Models/AlwaysEncryptedSample.Models.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@
111111
<Compile Include="IdentityModels.cs" />
112112
<Compile Include="ManageViewModels.cs" />
113113
<Compile Include="Properties\AssemblyInfo.cs" />
114+
<Compile Include="..\GlobalAssemblyInfo.cs">
115+
<Link>Properties\GlobalAssemblyInfo.cs</Link>
116+
</Compile>
114117
<Compile Include="Properties\Resources.Designer.cs">
115118
<AutoGen>True</AutoGen>
116119
<DesignTime>True</DesignTime>
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<?xml version="1.0"?>
22
<package >
33
<metadata>
4-
<id>AlwaysEncryptedSampleTitle.Models</id>
5-
<version>0.1</version>
4+
<id>$id$</id>
5+
<version>$version$</version>
66
<authors>Justin Dearing</authors>
7-
<owners>Zippy1981</owners>
7+
<owners>zippy1981</owners>
88
<licenseUrl>https://raw.githubusercontent.com/sqlcollaborative/AlwaysEncryptedSample/master/License.md</licenseUrl>
99
<projectUrl>https://raw.githubusercontent.com/sqlcollaborative/AlwaysEncryptedSample/</projectUrl>
1010
<!-- <iconUrl>http://ICON_URL_HERE_OR_DELETE_THIS_LINE</iconUrl> -->
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12-
<!-- <description>$description$</description> -->
12+
<description>$description$</description>
1313
<!-- <releaseNotes>Summary of changes made in this release of the package.</releaseNotes> -->
14-
<copyright>Copyright 2019</copyright>
14+
<copyright>$copyright$</copyright>
1515
<tags>SqlServer AlwaysEncrypted SqlCollaborative</tags>
1616
</metadata>
1717
</package>

AlwaysEncryptedSample.Models/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,7 @@
55
// set of attributes. Change these attribute values to modify the information
66
// associated with an assembly.
77
[assembly: AssemblyTitle("AlwaysEncryptedSample.Models")]
8-
[assembly: AssemblyDescription("")]
9-
[assembly: AssemblyConfiguration("")]
10-
[assembly: AssemblyCompany("")]
11-
[assembly: AssemblyProduct("AlwaysEncryptedSample.Models")]
12-
[assembly: AssemblyCopyright("Copyright © 2019")]
13-
[assembly: AssemblyTrademark("")]
14-
[assembly: AssemblyCulture("")]
8+
[assembly: AssemblyDescription("EF Core 6 and Asp.Net Identity Object models")]
159

16-
// Setting ComVisible to false makes the types in this assembly not visible
17-
// to COM components. If you need to access a type in this assembly from
18-
// COM, set the ComVisible attribute to true on that type.
1910
[assembly: ComVisible(false)]
20-
21-
// The following GUID is for the ID of the typelib if this project is exposed to COM
22-
[assembly: Guid("6f9599eb-3c9a-45ad-a081-30f83946d63c")]
23-
24-
// Version information for an assembly consists of the following four values:
25-
//
26-
// Major Version
27-
// Minor Version
28-
// Build Number
29-
// Revision
30-
//
31-
// You can specify all the values or you can default the Build and Revision Numbers
32-
// by using the '*' as shown below:
33-
// [assembly: AssemblyVersion("1.0.*")]
34-
[assembly: AssemblyVersion("1.0.0.0")]
35-
[assembly: AssemblyFileVersion("1.0.0.0")]
11+
[assembly: Guid("6f9599eb-3c9a-45ad-a081-30f83946d63c")]

AlwaysEncryptedSample.Tests/AlwaysEncryptedSample.Tests.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@
7878
</ItemGroup>
7979
<ItemGroup>
8080
<Compile Include="Properties\AssemblyInfo.cs" />
81+
<Compile Include="..\GlobalAssemblyInfo.cs">
82+
<Link>Properties\GlobalAssemblyInfo.cs</Link>
83+
</Compile>
8184
<Compile Include="Controllers\HomeControllerTest.cs" />
8285
</ItemGroup>
8386
<ItemGroup>

AlwaysEncryptedSample.Tests/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,5 @@
66
// associated with an assembly.
77
[assembly: AssemblyTitle("AlwaysEncryptedSample.Tests")]
88
[assembly: AssemblyDescription("")]
9-
[assembly: AssemblyConfiguration("")]
10-
[assembly: AssemblyCompany("")]
11-
[assembly: AssemblyProduct("AlwaysEncryptedSample.Tests")]
12-
[assembly: AssemblyCopyright("Copyright © 2017")]
13-
[assembly: AssemblyTrademark("")]
14-
[assembly: AssemblyCulture("")]
15-
16-
// Setting ComVisible to false makes the types in this assembly not visible
17-
// to COM components. If you need to access a type in this assembly from
18-
// COM, set the ComVisible attribute to true on that type.
199
[assembly: ComVisible(false)]
20-
21-
// The following GUID is for the ID of the typelib if this project is exposed to COM
2210
[assembly: Guid("a549c2eb-6a27-4dca-9f8a-45507510c63a")]
23-
24-
// Version information for an assembly consists of the following four values:
25-
//
26-
// Major Version
27-
// Minor Version
28-
// Build Number
29-
// Revision
30-
//
31-
// You can specify all the values or you can default the Revision and Build Numbers
32-
// by using the '*' as shown below:
33-
[assembly: AssemblyVersion("1.0.0.0")]
34-
[assembly: AssemblyFileVersion("1.0.0.0")]

AlwaysEncryptedSample/AlwaysEncryptedSample.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@
167167
</Compile>
168168
<Compile Include="Migrations\Configuration.cs" />
169169
<Compile Include="Properties\AssemblyInfo.cs" />
170+
<Compile Include="..\GlobalAssemblyInfo.cs">
171+
<Link>Properties\GlobalAssemblyInfo.cs</Link>
172+
</Compile>
170173
<Compile Include="Properties\Resources.Designer.cs">
171174
<AutoGen>True</AutoGen>
172175
<DesignTime>True</DesignTime>

AlwaysEncryptedSample/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,9 @@
77
// associated with an assembly.
88
[assembly: AssemblyTitle("AlwaysEncryptedSample")]
99
[assembly: AssemblyDescription("")]
10-
[assembly: AssemblyConfiguration("")]
11-
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("AlwaysEncryptedSample")]
13-
[assembly: AssemblyCopyright("Copyright © 2019")]
14-
[assembly: AssemblyTrademark("")]
15-
[assembly: AssemblyCulture("")]
1610

17-
// Setting ComVisible to false makes the types in this assembly not visible
18-
// to COM components. If you need to access a type in this assembly from
19-
// COM, set the ComVisible attribute to true on that type.
2011
[assembly: ComVisible(false)]
21-
22-
// The following GUID is for the ID of the typelib if this project is exposed to COM
2312
[assembly: Guid("56c34e4d-7d95-46eb-8348-343b842dd45e")]
2413

25-
// Version information for an assembly consists of the following four values:
26-
//
27-
// Major Version
28-
// Minor Version
29-
// Build Number
30-
// Revision
31-
//
32-
// You can specify all the values or you can default the Revision and Build Numbers
33-
// by using the '*' as shown below:
34-
[assembly: AssemblyVersion("1.0.0.0")]
35-
[assembly: AssemblyFileVersion("1.0.0.0")]
36-
3714
// Log4Net configuration.
3815
[assembly:XmlConfigurator()]

GlobalAssemblyInfo.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
using System.Reflection;
2+
using System.Runtime.InteropServices;
3+
4+
// General Information about an assembly is controlled through the following
5+
// set of attributes. Change these attribute values to modify the information
6+
// associated with an assembly.
7+
[assembly: AssemblyConfiguration("")]
8+
[assembly: AssemblyCompany("")]
9+
[assembly: AssemblyProduct("AlwaysEncryptedSample")]
10+
[assembly: AssemblyCopyright("Copyright © 2019")]
11+
[assembly: AssemblyCulture("")]
12+
13+
[assembly: AssemblyVersion("1.0.0.0")]
14+
[assembly: AssemblyFileVersion("1.0.0.0")]
15+
[assembly: AssemblyInformationalVersion("1.0.0.0")]

0 commit comments

Comments
 (0)