Skip to content

Commit ca61572

Browse files
committed
Work CI-CD
- Migrate projects to VS2022. - Fix nuspec. - Replace logo. - Fix readme. - Remove wrong property from nfproj: NF_IsCoreLibrary. - Update ngbv.
1 parent bed60bb commit ca61572

File tree

8 files changed

+15
-16
lines changed

8 files changed

+15
-16
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_System.Device.Spi&metric=alert_status)](https://sonarcloud.io/dashboard?id=nanoframework_System.Device.Spi) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_System.Device.Spi&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nanoframework_System.Device.Spi) [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![NuGet](https://img.shields.io/nuget/dt/nanoFramework.System.Device.Spi.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Device.Spi/) [![#yourfirstpr](https://img.shields.io/badge/first--timers--only-friendly-blue.svg)](https://github.com/nanoframework/Home/blob/main/CONTRIBUTING.md) [![Discord](https://img.shields.io/discord/478725473862549535.svg?logo=discord&logoColor=white&label=Discord&color=7289DA)](https://discord.gg/gCyBu8T)
22

3-
![nanoFramework logo](https://github.com/nanoframework/Home/blob/main/resources/logo/nanoFramework-repo-logo.png)
3+
![nanoFramework logo](https://raw.githubusercontent.com/nanoframework/Home/main/resources/logo/nanoFramework-repo-logo.png)
44

55
-----
66

7-
### Welcome to the .NET **nanoFramework** System.Device.Spi Library repository!
7+
### Welcome to the .NET **nanoFramework** System.Device.Spi Library repository
88

99
## Build status
1010

@@ -117,7 +117,7 @@ The **nanoFramework** Class Libraries are licensed under the [MIT license](LICEN
117117

118118
## Code of Conduct
119119

120-
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.
120+
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behaviour in our community.
121121
For more information see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).
122122

123123
## .NET Foundation

System.Device.Spi/System.Device.Spi.nfproj

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="Current" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup Label="Globals">
4-
<NanoFrameworkProjectSystemPath>$(MSBuildToolsPath)..\..\..\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
4+
<NanoFrameworkProjectSystemPath>$(MSBuildExtensionsPath)\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
55
</PropertyGroup>
66
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props')" />
77
<PropertyGroup>
@@ -15,7 +15,6 @@
1515
<RootNamespace>System.Device.Spi</RootNamespace>
1616
<AssemblyName>System.Device.Spi</AssemblyName>
1717
<TargetFrameworkVersion>v1.0</TargetFrameworkVersion>
18-
<NF_IsCoreLibrary>True</NF_IsCoreLibrary>
1918
<DocumentationFile>bin\$(Configuration)\System.Device.Spi.xml</DocumentationFile>
2019
</PropertyGroup>
2120
<PropertyGroup>
@@ -74,11 +73,11 @@
7473
<ProjectConfigurationsDeclaredAsItems />
7574
</ProjectCapabilities>
7675
</ProjectExtensions>
77-
<Import Project="..\packages\Nerdbank.GitVersioning.3.4.194\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\packages\Nerdbank.GitVersioning.3.4.194\build\Nerdbank.GitVersioning.targets')" />
76+
<Import Project="..\packages\Nerdbank.GitVersioning.3.4.244\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\packages\Nerdbank.GitVersioning.3.4.244\build\Nerdbank.GitVersioning.targets')" />
7877
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
7978
<PropertyGroup>
8079
<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>
8180
</PropertyGroup>
82-
<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'))" />
81+
<Error Condition="!Exists('..\packages\Nerdbank.GitVersioning.3.4.244\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Nerdbank.GitVersioning.3.4.244\build\Nerdbank.GitVersioning.targets'))" />
8382
</Target>
8483
</Project>

System.Device.Spi/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
<package id="nanoFramework.CoreLibrary" version="1.10.5" targetFramework="netnanoframework10" />
44
<package id="nanoFramework.Runtime.Events" version="1.9.2-preview.8" targetFramework="netnanoframework10" />
55
<package id="nanoFramework.System.Device.Gpio" version="1.0.2-preview.7" targetFramework="netnanoframework10" />
6-
<package id="Nerdbank.GitVersioning" version="3.4.194" developmentDependency="true" targetFramework="netnanoframework10" />
6+
<package id="Nerdbank.GitVersioning" version="3.4.244" developmentDependency="true" targetFramework="netnanoframework10" />
77
</packages>

Test/SpiHardwareUnitTests/SpiHardwareUnitTests.nfproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="Current" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup Label="Globals">
4-
<NanoFrameworkProjectSystemPath>$(MSBuildToolsPath)..\..\..\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
4+
<NanoFrameworkProjectSystemPath>$(MSBuildExtensionsPath)\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
55
</PropertyGroup>
66
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props')" />
77
<ItemGroup>

assets/nf-logo.png

4.95 KB
Loading

assets/readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
===================================================================================
88

9-
API docs: https://docs.nanoframework.net/api
9+
API docs: https://docs.nanoframework.net/api/System.Device.Spi
1010

1111
Browse our samples repository: https://github.com/nanoframework/samples
1212

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ trigger:
22
branches:
33
include: [main, develop, "release-*" ]
44
paths:
5-
exclude: [README.md, LICENSE.md, NuGet.Config, .github_changelog_generator, .gitignore]
5+
exclude: [README.md, CHANGELOG.md, CODE_OF_CONDUCT.md, LICENSE.md, NuGet.Config, .github_changelog_generator, .gitignore]
66
tags:
77
include: ["v*"]
88

@@ -20,7 +20,7 @@ pool:
2020
vmImage: 'windows-2019'
2121

2222
variables:
23-
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
23+
DOTNET_NOLOGO: true
2424
solution: 'System.Device.Spi.sln'
2525
buildPlatform: 'Any CPU'
2626
buildConfiguration: 'Release'

nanoFramework.System.Device.Spi.nuspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,18 @@
55
<version>$version$</version>
66
<title>nanoFramework.System.Device.Spi</title>
77
<authors>nanoFramework project contributors</authors>
8-
<owners>nanoFramework project contributors,dotnetfoundation</owners>
8+
<owners>nanoFramework,dotnetfoundation</owners>
99
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1010
<license type="file">LICENSE.md</license>
1111
<releaseNotes>
1212
</releaseNotes>
13+
<readme>docs\README.md</readme>
1314
<developmentDependency>false</developmentDependency>
1415
<projectUrl>https://github.com/nanoframework/System.Device.Spi</projectUrl>
1516
<icon>images\nf-logo.png</icon>
1617
<repository type="git" url="https://github.com/nanoframework/System.Device.Spi" commit="$commit$" />
1718
<copyright>Copyright (c) .NET Foundation and Contributors</copyright>
18-
<description>This package includes the System.Device.Spi assembly for .NET nanoFramework C# projects.
19-
This package requires a target with System.Device.Spi v$nativeVersion$ (checksum $checksum$).</description>
20-
<summary>System.Device.Spi assembly for .NET nanoFramework C# projects</summary>
19+
<description>This package includes the System.Device.Spi assembly for .NET nanoFramework C# projects.&#10;This package requires a target with System.Device.Spi v$nativeVersion$ (checksum $checksum$).</description>
2120
<tags>nanoFramework C# csharp netmf netnf System.Device.Spi</tags>
2221
<dependencies>
2322
<dependency id="nanoFramework.CoreLibrary" version="1.10.5" />
@@ -32,6 +31,7 @@ This package requires a target with System.Device.Spi v$nativeVersion$ (checksum
3231
<file src="System.Device.Spi\bin\Release\System.Device.Spi.pe" target="lib\System.Device.Spi.pe" />
3332
<file src="System.Device.Spi\bin\Release\System.Device.Spi.xml" target="lib\System.Device.Spi.xml" />
3433
<file src="assets\readme.txt" target="" />
34+
<file src="README.md" target="docs\" />
3535
<file src="assets\nf-logo.png" target="images" />
3636
<file src="LICENSE.md" target="" />
3737
</files>

0 commit comments

Comments
 (0)