- Update azure pipeline yaml.
- Fix nuspec.
- Update logo for nuget assets.
- Switch order to nuget feeds in nuget.config.
- Update projects to migrate to VS2022.
- Fix typos.
- Rename repo files.

***NO_CI***
This commit is contained in:
José Simões 2021-11-25 10:44:46 +00:00
Родитель 11c9e78fbc
Коммит 4d3b00a768
10 изменённых файлов: 25 добавлений и 26 удалений

Просмотреть файл

@ -1,5 +1,5 @@
user=nanoframework
project=lib-System.Device.I2c
project=System.Device.I2c
issues=true
add_issues_wo_labels=false
add_pr_wo_labels=false

Просмотреть файл

Просмотреть файл

@ -1,10 +1,10 @@
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-nanoframework.System.Device.I2c&metric=alert_status)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoframework.System.Device.I2c) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-nanoframework.System.Device.I2c&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoframework.System.Device.I2c) [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![NuGet](https://img.shields.io/nuget/dt/nanoFramework.System.Device.I2c.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Device.I2c/) [![#yourfirstpr](https://img.shields.io/badge/first--timers--only-friendly-blue.svg)](https://github.com/nanoframework/Home/blob/master/CONTRIBUTING.md) [![Discord](https://img.shields.io/discord/478725473862549535.svg?logo=discord&logoColor=white&label=Discord&color=7289DA)](https://discord.gg/gCyBu8T)
![nanoFramework logo](https://github.com/nanoframework/Home/blob/main/resources/logo/nanoFramework-repo-logo.png)
![nanoFramework logo](https://raw.githubusercontent.com/nanoframework/Home/main/resources/logo/nanoFramework-repo-logo.png)
-----
### Welcome to the **nanoFramework** System.Device.I2c Library repository!
### Welcome to the .NET **nanoFramework** System.Device.I2c Library repository
## Build status
@ -29,7 +29,7 @@ The **nanoFramework** Class Libraries are licensed under the [MIT license](LICEN
## Code of Conduct
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behaviour in our community.
For more information see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).
### .NET Foundation

Просмотреть файл

@ -11,12 +11,9 @@ using System.Runtime.InteropServices;
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("nanoFramework System.Device.I2c")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyCompany(".NET nanoFramework contributors")]
[assembly: AssemblyProduct(".NET nanoFramework System.Device.I2c")]
[assembly: AssemblyProduct("nanoFramework System.Device.I2c")]
[assembly: AssemblyCopyright("Copyright (c) .NET Foundation and Contributors")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
////////////////////////////////////////////////////////////////
// update this whenever the native assembly signature changes //

Просмотреть файл

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="Globals">
<NanoFrameworkProjectSystemPath>$(MSBuildToolsPath)..\..\..\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
<NanoFrameworkProjectSystemPath>$(MSBuildExtensionsPath)\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
</PropertyGroup>
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props')" />
<PropertyGroup>

Двоичные данные
assets/nf-logo.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 9.0 KiB

Просмотреть файл

Просмотреть файл

@ -2,11 +2,13 @@ trigger:
branches:
include: [main, develop, "release-*" ]
paths:
exclude: ["*.md", .gitignore]
exclude: [README.md, LICENSE.md, NuGet.Config, .github_changelog_generator, .gitignore]
tags:
include: ["v*"]
# PR always trigger build
pr:
autoCancel: true
# add nf-tools repo to resources (for Azure Pipelines templates)
resources:
@ -20,12 +22,11 @@ pool:
vmImage: 'windows-2019'
variables:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
solution: '**/*.sln'
DOTNET_NOLOGO: true
solution: 'nanoFramework.System.Device.I2c.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
nugetPackageName: 'nanoFramework.System.Device.I2c'
repoName: 'System.Device.I2c'
steps:

Просмотреть файл

@ -5,12 +5,12 @@
<version>$version$</version>
<title>nanoFramework.System.Device.I2c.DELIVERABLES</title>
<authors>nanoFramework project contributors</authors>
<owners>nanoFramework project contributors</owners>
<owners>nanoFramework,dotnetfoundation</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<releaseNotes>
</releaseNotes>
<developmentDependency>false</developmentDependency>
<projectUrl>https://github.com/nanoframework/lib-System.Device.I2c</projectUrl>
<projectUrl>https://github.com/nanoframework/System.Device.I2c</projectUrl>
<iconUrl>https://secure.gravatar.com/avatar/97d0e092247f0716db6d4b47b7d1d1ad</iconUrl>
<copyright>Copyright (c) .NET Foundation and Contributors</copyright>
<description>** DON'T REFERENCE THIS PACKAGE ** Not meant for development. This package includes the deliverable artifacts of the System.Device.I2c assembly for nanoFramework. These are for testing purposes and for updating the native code base of the library.</description>

Просмотреть файл

@ -5,19 +5,18 @@
<version>$version$</version>
<title>nanoFramework.System.Device.I2c</title>
<authors>nanoFramework project contributors</authors>
<owners>nanoFramework project contributors</owners>
<owners>nanoFramework,dotnetfoundation</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="expression">MIT</license>
<license type="file">LICENSE.md</license>
<releaseNotes>
</releaseNotes>
<readme>docs\README.md</readme>
<developmentDependency>false</developmentDependency>
<projectUrl>https://github.com/nanoframework/lib-System.Device.I2c</projectUrl>
<iconUrl>https://secure.gravatar.com/avatar/97d0e092247f0716db6d4b47b7d1d1ad</iconUrl>
<repository type="git" url="https://github.com/nanoframework/lib-System.Device.I2c" commit="$commit$" />
<projectUrl>https://github.com/nanoframework/System.Device.I2c</projectUrl>
<icon>images\nf-logo.png</icon>
<repository type="git" url="https://github.com/nanoframework/System.Device.I2c" commit="$commit$" />
<copyright>Copyright (c) .NET Foundation and Contributors</copyright>
<description>This package includes the System.Device.I2c assembly for nanoFramework C# projects.
This package requires a target with System.Device.I2c v$nativeVersion$ (checksum $checksum$).</description>
<summary>System.Device.I2c assembly for .NET nanoFramework C# projects</summary>
<description>This package includes the System.Device.I2c assembly for nanoFramework C# projects.&#10;This package requires a target with System.Device.I2c v$nativeVersion$ (checksum $checksum$).</description>
<tags>nanoFramework C# csharp netmf netnf System.Device.I2c</tags>
<dependencies>
<dependency id="nanoFramework.CoreLibrary" version="1.10.5" />
@ -29,7 +28,9 @@ This package requires a target with System.Device.I2c v$nativeVersion$ (checksum
<file src="System.Device.I2c\bin\Release\System.Device.I2c.pdbx" target="lib\System.Device.I2c.pdbx" />
<file src="System.Device.I2c\bin\Release\System.Device.I2c.pe" target="lib\System.Device.I2c.pe" />
<file src="System.Device.I2c\bin\Release\System.Device.I2c.xml" target="lib\System.Device.I2c.xml" />
<!-- readme -->
<file src="readme.txt" target="readme.txt" />
<file src="assets\readme.txt" target="" />
<file src="README.md" target="docs\" />
<file src="assets\nf-logo.png" target="images" />
<file src="LICENSE.md" target="" />
</files>
</package>