Skip to content

Commit b30fcbb

Browse files
committed
Add nbgv to projects
- Update projects and assembly declaration. ***NO_CI***
1 parent b4ebec4 commit b30fcbb

File tree

9 files changed

+36
-63
lines changed

9 files changed

+36
-63
lines changed

nanoFramework.Logging.Serial/Properties/AssemblyInfo.cs

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,16 @@
55
// General Information about an assembly is controlled through the following
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
8-
[assembly: AssemblyTitle("CSharp.BlankApplication")]
9-
[assembly: AssemblyDescription("")]
10-
[assembly: AssemblyConfiguration("")]
11-
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("CSharp.BlankApplication")]
13-
[assembly: AssemblyCopyright("Copyright © ")]
14-
[assembly: AssemblyTrademark("")]
15-
[assembly: AssemblyCulture("")]
8+
[assembly: AssemblyTitle("nanoFramework.Logging")]
9+
[assembly: AssemblyCompany("nanoFramework Contributors")]
10+
[assembly: AssemblyProduct("nanoFramework.Logging")]
11+
[assembly: AssemblyCopyright("Copyright (c) .NET Foundation and Contributors")]
1612

1713
// Setting ComVisible to false makes the types in this assembly not visible
1814
// to COM components. If you need to access a type in this assembly from
1915
// COM, set the ComVisible attribute to true on that type.
2016
[assembly: ComVisible(false)]
2117

22-
// Version information for an assembly consists of the following four values:
23-
//
24-
// Major Version
25-
// Minor Version
26-
// Build Number
27-
// Revision
28-
//
29-
// You can specify all the values or you can default the Build and Revision Numbers
30-
// by using the '*' as shown below:
31-
// [assembly: AssemblyVersion("1.0.*")]
32-
[assembly: AssemblyVersion("1.0.0.0")]
33-
[assembly: AssemblyFileVersion("1.0.0.0")]
34-
3518
/////////////////////////////////////////////////////////////////
3619
// This attribute is mandatory when building Interop libraries //
3720
// update this whenever the native assembly signature changes //

nanoFramework.Logging.Serial/nanoFramework.Logging.Serial.nfproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,11 @@
6262
<ProjectConfigurationsDeclaredAsItems />
6363
</ProjectCapabilities>
6464
</ProjectExtensions>
65+
<Import Project="..\packages\Nerdbank.GitVersioning.3.4.194\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\packages\Nerdbank.GitVersioning.3.4.194\build\Nerdbank.GitVersioning.targets')" />
66+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
67+
<PropertyGroup>
68+
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105.The missing file is {0}.</ErrorText>
69+
</PropertyGroup>
70+
<Error Condition="!Exists('..\packages\Nerdbank.GitVersioning.3.4.194\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Nerdbank.GitVersioning.3.4.194\build\Nerdbank.GitVersioning.targets'))" />
71+
</Target>
6572
</Project>

nanoFramework.Logging.Serial/packages.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
<package id="nanoFramework.System.Text" version="1.1.1-preview.35" targetFramework="netnanoframework10" />
66
<package id="nanoFramework.Windows.Devices.SerialCommunication" version="1.3.4-preview.55" targetFramework="netnanoframework10" />
77
<package id="nanoFramework.Windows.Storage.Streams" version="1.10.1-preview.28" targetFramework="netnanoframework10" />
8+
<package id="Nerdbank.GitVersioning" version="3.4.194" developmentDependency="true" targetFramework="netnanoframework10" />
89
</packages>

nanoFramework.Logging.Stream/Properties/AssemblyInfo.cs

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,16 @@
55
// General Information about an assembly is controlled through the following
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
8-
[assembly: AssemblyTitle("CSharp.BlankApplication")]
9-
[assembly: AssemblyDescription("")]
10-
[assembly: AssemblyConfiguration("")]
11-
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("CSharp.BlankApplication")]
13-
[assembly: AssemblyCopyright("Copyright © ")]
14-
[assembly: AssemblyTrademark("")]
15-
[assembly: AssemblyCulture("")]
8+
[assembly: AssemblyTitle("nanoFramework.Logging")]
9+
[assembly: AssemblyCompany("nanoFramework Contributors")]
10+
[assembly: AssemblyProduct("nanoFramework.Logging")]
11+
[assembly: AssemblyCopyright("Copyright (c) .NET Foundation and Contributors")]
1612

1713
// Setting ComVisible to false makes the types in this assembly not visible
1814
// to COM components. If you need to access a type in this assembly from
1915
// COM, set the ComVisible attribute to true on that type.
2016
[assembly: ComVisible(false)]
2117

22-
// Version information for an assembly consists of the following four values:
23-
//
24-
// Major Version
25-
// Minor Version
26-
// Build Number
27-
// Revision
28-
//
29-
// You can specify all the values or you can default the Build and Revision Numbers
30-
// by using the '*' as shown below:
31-
// [assembly: AssemblyVersion("1.0.*")]
32-
[assembly: AssemblyVersion("1.0.0.0")]
33-
[assembly: AssemblyFileVersion("1.0.0.0")]
34-
3518
/////////////////////////////////////////////////////////////////
3619
// This attribute is mandatory when building Interop libraries //
3720
// update this whenever the native assembly signature changes //

nanoFramework.Logging.Stream/nanoFramework.Logging.Stream.nfproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,11 @@
5252
<ProjectConfigurationsDeclaredAsItems />
5353
</ProjectCapabilities>
5454
</ProjectExtensions>
55+
<Import Project="..\packages\Nerdbank.GitVersioning.3.4.194\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\packages\Nerdbank.GitVersioning.3.4.194\build\Nerdbank.GitVersioning.targets')" />
56+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
57+
<PropertyGroup>
58+
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105.The missing file is {0}.</ErrorText>
59+
</PropertyGroup>
60+
<Error Condition="!Exists('..\packages\Nerdbank.GitVersioning.3.4.194\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Nerdbank.GitVersioning.3.4.194\build\Nerdbank.GitVersioning.targets'))" />
61+
</Target>
5562
</Project>

nanoFramework.Logging.Stream/packages.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
<package id="nanoFramework.CoreLibrary" version="1.10.3-preview.7" targetFramework="netnanoframework10" />
44
<package id="nanoFramework.System.IO.FileSystem" version="1.0.0-preview.30" targetFramework="netnanoframework10" />
55
<package id="nanoFramework.System.Text" version="1.1.1-preview.35" targetFramework="netnanoframework10" />
6+
<package id="Nerdbank.GitVersioning" version="3.4.194" developmentDependency="true" targetFramework="netnanoframework10" />
67
</packages>

nanoFramework.Logging/Properties/AssemblyInfo.cs

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,16 @@
55
// General Information about an assembly is controlled through the following
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
8-
[assembly: AssemblyTitle("CSharp.BlankApplication")]
9-
[assembly: AssemblyDescription("")]
10-
[assembly: AssemblyConfiguration("")]
11-
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("CSharp.BlankApplication")]
13-
[assembly: AssemblyCopyright("Copyright © ")]
14-
[assembly: AssemblyTrademark("")]
15-
[assembly: AssemblyCulture("")]
8+
[assembly: AssemblyTitle("nanoFramework.Logging")]
9+
[assembly: AssemblyCompany("nanoFramework Contributors")]
10+
[assembly: AssemblyProduct("nanoFramework.Logging")]
11+
[assembly: AssemblyCopyright("Copyright (c) .NET Foundation and Contributors")]
1612

1713
// Setting ComVisible to false makes the types in this assembly not visible
1814
// to COM components. If you need to access a type in this assembly from
1915
// COM, set the ComVisible attribute to true on that type.
2016
[assembly: ComVisible(false)]
2117

22-
// Version information for an assembly consists of the following four values:
23-
//
24-
// Major Version
25-
// Minor Version
26-
// Build Number
27-
// Revision
28-
//
29-
// You can specify all the values or you can default the Build and Revision Numbers
30-
// by using the '*' as shown below:
31-
// [assembly: AssemblyVersion("1.0.*")]
32-
[assembly: AssemblyVersion("1.0.0.0")]
33-
[assembly: AssemblyFileVersion("1.0.0.0")]
34-
3518
/////////////////////////////////////////////////////////////////
3619
// This attribute is mandatory when building Interop libraries //
3720
// update this whenever the native assembly signature changes //

nanoFramework.Logging/nanoFramework.Logging.nfproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,11 @@
4545
<ProjectConfigurationsDeclaredAsItems />
4646
</ProjectCapabilities>
4747
</ProjectExtensions>
48+
<Import Project="..\packages\Nerdbank.GitVersioning.3.4.194\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\packages\Nerdbank.GitVersioning.3.4.194\build\Nerdbank.GitVersioning.targets')" />
49+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
50+
<PropertyGroup>
51+
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105.The missing file is {0}.</ErrorText>
52+
</PropertyGroup>
53+
<Error Condition="!Exists('..\packages\Nerdbank.GitVersioning.3.4.194\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Nerdbank.GitVersioning.3.4.194\build\Nerdbank.GitVersioning.targets'))" />
54+
</Target>
4855
</Project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="nanoFramework.CoreLibrary" version="1.10.3-preview.7" targetFramework="netnanoframework10" />
4+
<package id="Nerdbank.GitVersioning" version="3.4.194" developmentDependency="true" targetFramework="netnanoframework10" />
45
</packages>

0 commit comments

Comments
 (0)