Skip to content

Commit 44fc946

Browse files
committed
Work CI-CD
- Add missing targets for nbgv. - Fix assembly info to Tough library. ***NO_CI***
1 parent 596ae14 commit 44fc946

File tree

2 files changed

+14
-37
lines changed

2 files changed

+14
-37
lines changed
Lines changed: 7 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,9 @@
1-
using System.Reflection;
2-
using System.Runtime.CompilerServices;
3-
using System.Runtime.InteropServices;
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
43

5-
// General Information about an assembly is controlled through the following
6-
// set of attributes. Change these attribute values to modify the information
7-
// associated with an assembly.
8-
[assembly: AssemblyTitle("CSharp.TestApplication")]
9-
[assembly: AssemblyDescription("")]
10-
[assembly: AssemblyConfiguration("")]
11-
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("CSharp.TestApplication")]
13-
[assembly: AssemblyCopyright("Copyright © 2022")]
14-
[assembly: AssemblyTrademark("")]
15-
[assembly: AssemblyCulture("")]
4+
using System.Reflection;
165

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.
20-
[assembly: ComVisible(false)]
21-
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-
35-
/////////////////////////////////////////////////////////////////
36-
// This attribute is mandatory when building Interop libraries //
37-
// update this whenever the native assembly signature changes //
38-
[assembly: AssemblyNativeVersion("1.0.0.0")]
39-
/////////////////////////////////////////////////////////////////
6+
[assembly: AssemblyTitle("nanoFramework.M5Tough")]
7+
[assembly: AssemblyCompany("nanoFramework Contributors")]
8+
[assembly: AssemblyProduct("nanoFramework.M5Tough")]
9+
[assembly: AssemblyCopyright("Copyright (c) .NET Foundation and Contributors")]

nanoFramework.Tough/nanoFramework.Tough.nfproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,4 +121,11 @@
121121
<ProjectConfigurationsDeclaredAsItems />
122122
</ProjectCapabilities>
123123
</ProjectExtensions>
124+
<Import Project="..\packages\Nerdbank.GitVersioning.3.5.103\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\packages\Nerdbank.GitVersioning.3.5.103\build\Nerdbank.GitVersioning.targets')" />
125+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
126+
<PropertyGroup>
127+
<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>
128+
</PropertyGroup>
129+
<Error Condition="!Exists('..\packages\Nerdbank.GitVersioning.3.5.103\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Nerdbank.GitVersioning.3.5.103\build\Nerdbank.GitVersioning.targets'))" />
130+
</Target>
124131
</Project>

0 commit comments

Comments
 (0)