Skip to content

Commit

Permalink
Rename namespace from Devices to Device (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
networkfusion authored Aug 6, 2020
1 parent 09ae383 commit 92722a2
Show file tree
Hide file tree
Showing 18 changed files with 71 additions and 71 deletions.
2 changes: 1 addition & 1 deletion .github_changelog_generator
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
user=nanoframework
project=lib-System.Devices.Dac
project=lib-System.Device.Dac
issues=true
add_issues_wo_labels=false
add_pr_wo_labels=false
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-System.Devices.Dac&metric=alert_status)](https://sonarcloud.io/dashboard?id=nanoframework_lib-System.Devices.Dac) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-System.Devices.Dac&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nanoframework_lib-System.Devices.Dac) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/nanoframework/Home/blob/master/LICENSE) [![NuGet](https://img.shields.io/nuget/dt/nanoFramework.System.Devices.Dac.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Devices.Dac/) [![#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)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-System.Device.Dac&metric=alert_status)](https://sonarcloud.io/dashboard?id=nanoframework_lib-System.Device.Dac) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-System.Device.Dac&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nanoframework_lib-System.Device.Dac) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/nanoframework/Home/blob/master/LICENSE) [![NuGet](https://img.shields.io/nuget/dt/nanoFramework.System.Device.Dac.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Device.Dac/) [![#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/master/resources/logo/nanoFramework-repo-logo.png)

-----

### Welcome to the **nanoFramework** System.Devices.Dac Library repository!
### Welcome to the **nanoFramework** System.Device.Dac Library repository!

## Build status

| Component | Build Status | NuGet Package |
|:-|---|---|
| System.Devices.Dac | [![Build Status](https://dev.azure.com/nanoframework/System.Devices.Dac/_apis/build/status/nanoframework.lib-System.Devices.Dac?branchName=develop)](https://dev.azure.com/nanoframework/System.Devices.Dac/_build/latest?definitionId=44&branchName=master) | [![NuGet](https://img.shields.io/nuget/v/nanoFramework.System.Devices.Dac.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Devices.Dac/) |
| System.Devices.Dac (preview) | [![Build Status](https://dev.azure.com/nanoframework/System.Devices.Dac/_apis/build/status/nanoframework.lib-System.Devices.Dac?branchName=develop)](https://dev.azure.com/nanoframework/System.Devices.Dac/_build/latest?definitionId=44&branchName=develop) | [![](https://badgen.net/badge/NuGet/preview/D7B023?icon=https://simpleicons.now.sh/azuredevops/fff)](https://dev.azure.com/nanoframework/feed/_packaging?_a=package&feed=sandbox&package=nanoFramework.System.Devices.Dac&protocolType=NuGet&view=overview) |
| System.Device.Dac | [![Build Status](https://dev.azure.com/nanoframework/System.Device.Dac/_apis/build/status/nanoframework.lib-System.Device.Dac?branchName=develop)](https://dev.azure.com/nanoframework/System.Device.Dac/_build/latest?definitionId=44&branchName=master) | [![NuGet](https://img.shields.io/nuget/v/nanoFramework.System.Device.Dac.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Device.Dac/) |
| System.Device.Dac (preview) | [![Build Status](https://dev.azure.com/nanoframework/System.Device.Dac/_apis/build/status/nanoframework.lib-System.Device.Dac?branchName=develop)](https://dev.azure.com/nanoframework/System.Device.Dac/_build/latest?definitionId=44&branchName=develop) | [![](https://badgen.net/badge/NuGet/preview/D7B023?icon=https://simpleicons.now.sh/azuredevops/fff)](https://dev.azure.com/nanoframework/feed/_packaging?_a=package&feed=sandbox&package=nanoFramework.System.Device.Dac&protocolType=NuGet&view=overview) |

## Feedback and documentation

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

using System.Runtime.CompilerServices;

namespace System.Devices.Dac
namespace System.Device.Dac
{
/// <summary>
/// Represents a single DAC channel.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// See LICENSE file in the project root for full license information.
//

namespace System.Devices.Dac
namespace System.Device.Dac
{

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Collections;
using System.Runtime.CompilerServices;

namespace System.Devices.Dac
namespace System.Device.Dac
{
/// <summary>
/// Represents an DAC controller on the system
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

using System.Collections;

namespace System.Devices.Dac
namespace System.Device.Dac
{
internal sealed class DacControllerManager
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// See LICENSE file in the project root for full license information.
//

namespace System.Devices.Dac
namespace System.Device.Dac
{
internal interface IDacChannel
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// See LICENSE file in the project root for full license information.
//

namespace System.Devices.Dac
namespace System.Device.Dac
{
internal interface IDacController
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("System.Devices.Dac")]
[assembly: AssemblyTitle("System.Device.Dac")]
[assembly: AssemblyCompany("nanoFramework Contributors")]
[assembly: AssemblyProduct("System.Devices.Dac")]
[assembly: AssemblyProduct("System.Device.Dac")]
[assembly: AssemblyCopyright("Copyright © nanoFramework Contributors 2019")]

////////////////////////////////////////////////////////////////
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<FileAlignment>512</FileAlignment>
<RootNamespace>System.Devices.Dac</RootNamespace>
<AssemblyName>System.Devices.Dac</AssemblyName>
<RootNamespace>System.Device.Dac</RootNamespace>
<AssemblyName>System.Device.Dac</AssemblyName>
<TargetFrameworkVersion>v1.0</TargetFrameworkVersion>
<NF_IsCoreLibrary>True</NF_IsCoreLibrary>
<DocumentationFile>bin\$(Configuration)\System.Devices.Dac.xml</DocumentationFile>
<DocumentationFile>bin\$(Configuration)\System.Device.Dac.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
Expand All @@ -31,7 +31,7 @@
<!-- override default options for MetaDataProcessor -->
<NF_GenerateStubsDirectory>bin\$(Configuration)\Stubs</NF_GenerateStubsDirectory>
<NF_GenerateSkeletonProjectName>sys_dev_dac_native</NF_GenerateSkeletonProjectName>
<Name>System.Devices.Dac</Name>
<Name>System.Device.Dac</Name>
</PropertyGroup>
<ItemGroup>
<NFMDP_PE_ExcludeClassByName Include="ThisAssembly">
Expand Down
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ variables:
solution: '**/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
classLibName: 'System.Devices.Dac'
nugetPackageName: 'nanoFramework.System.Devices.Dac'
repoName: 'lib-System.Devices.Dac'
classLibName: 'System.Device.Dac'
nugetPackageName: 'nanoFramework.System.Device.Dac'
repoName: 'lib-System.Device.Dac'

steps:

# step from template @ nf-tools repo
# all build, update and publish steps
- template: azure-pipelines-templates/class-lib-build.yml@templates
parameters:
sonarCloudProject: 'nanoframework_lib-System.Devices.Dac'
sonarCloudProject: 'nanoframework_lib-System.Device.Dac'

# step from template @ nf-tools repo
# report error
Expand Down
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>nanoFramework.System.Devices.Dac.DELIVERABLES</id>
<id>nanoFramework.System.Device.Dac.DELIVERABLES</id>
<version>$version$</version>
<title>nanoFramework.System.Devices.Dac.DELIVERABLES</title>
<title>nanoFramework.System.Device.Dac.DELIVERABLES</title>
<authors>nanoFramework project contributors</authors>
<owners>nanoFramework project contributors</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<releaseNotes>
</releaseNotes>
<developmentDependency>false</developmentDependency>
<projectUrl>https://github.com/nanoframework/lib-System.Devices.Dac</projectUrl>
<projectUrl>https://github.com/nanoframework/lib-System.Device.Dac</projectUrl>
<iconUrl>https://secure.gravatar.com/avatar/97d0e092247f0716db6d4b47b7d1d1ad</iconUrl>
<copyright>Copyright (c) 2019 The nanoFramework project contributors</copyright>
<description>** DON'T REFERENCE THIS PACKAGE ** Not meant for development. This package includes the deliverable artifacts of the System.Devices.Dac assembly for nanoFramework. These are for testing purposes and for updating the native code base of the library.</description>
<summary>System.Devices.Dac.DELIVERABLES is not meant for development.</summary>
<description>** DON'T REFERENCE THIS PACKAGE ** Not meant for development. This package includes the deliverable artifacts of the System.Device.Dac assembly for nanoFramework. These are for testing purposes and for updating the native code base of the library.</description>
<summary>System.Device.Dac.DELIVERABLES is not meant for development.</summary>
<tags>
</tags>
<dependencies>
<dependency id="nanoFramework.CoreLibrary" version="1.7.3" />
</dependencies>
</metadata>
<files>
<file src="System.Devices.Dac\bin\Release\Stubs\*.*" target="content\Stubs\" />
<file src="System.Devices.Dac\obj\Release\*.txt" target="content\txt\" />
<file src="System.Devices.Dac\obj\Release\*.dump" target="content\dump\" />
<file src="System.Devices.Dac\obj\Release\*.strings" target="content\dump\" />
<file src="System.Devices.Dac\obj\Release\*.resources" target="content\resources\" />
<file src="System.Devices.Dac\obj\Release\*.il" target="content\disasm\" />
<file src="System.Device.Dac\bin\Release\Stubs\*.*" target="content\Stubs\" />
<file src="System.Device.Dac\obj\Release\*.txt" target="content\txt\" />
<file src="System.Device.Dac\obj\Release\*.dump" target="content\dump\" />
<file src="System.Device.Dac\obj\Release\*.strings" target="content\dump\" />
<file src="System.Device.Dac\obj\Release\*.resources" target="content\resources\" />
<file src="System.Device.Dac\obj\Release\*.il" target="content\disasm\" />
</files>
</package>
35 changes: 35 additions & 0 deletions nanoframework.System.Device.Dac.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>nanoFramework.System.Device.Dac</id>
<version>$version$</version>
<title>nanoFramework.System.Device.Dac</title>
<authors>nanoFramework project contributors</authors>
<owners>nanoFramework project contributors</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="expression">Apache-2.0</license>
<releaseNotes>
</releaseNotes>
<developmentDependency>false</developmentDependency>
<projectUrl>https://github.com/nanoframework/lib-System.Device.Dac</projectUrl>
<iconUrl>https://secure.gravatar.com/avatar/97d0e092247f0716db6d4b47b7d1d1ad</iconUrl>
<repository type="git" url="https://github.com/nanoframework/lib-System.Device.Dac" commit="$commit$" />
<copyright>Copyright (c) 2019 The nanoFramework project contributors</copyright>
<description>This package includes the System.Device.Dac assembly for nanoFramework C# projects.
This package requires a target with System.Device.Dac v$nativeVersion$.</description>
<summary>System.Device.Dac assembly for nanoFramework C# projects</summary>
<tags>nanoFramework C# csharp netmf netnf System.Device.Dac</tags>
<dependencies>
<dependency id="nanoFramework.CoreLibrary" version="1.7.3" />
</dependencies>
</metadata>
<files>
<file src="System.Device.Dac\bin\Release\System.Device.Dac.dll" target="lib\System.Device.Dac.dll" />
<file src="System.Device.Dac\bin\Release\System.Device.Dac.pdb" target="lib\System.Device.Dac.pdb" />
<file src="System.Device.Dac\bin\Release\System.Device.Dac.pdbx" target="lib\System.Device.Dac.pdbx" />
<file src="System.Device.Dac\bin\Release\System.Device.Dac.pe" target="lib\System.Device.Dac.pe" />
<file src="System.Device.Dac\bin\Release\System.Device.Dac.xml" target="lib\System.Device.Dac.xml" />
<!-- readme -->
<file src="readme.txt" target="readme.txt" />
</files>
</package>
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27130.2036
MinimumVisualStudioVersion = 10.0.40219.1
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "System.Devices.Dac", "System.Devices.Dac\System.Devices.Dac.nfproj", "{0E60B0DD-2B15-4664-8BD9-800AAD1717B3}"
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "System.Device.Dac", "System.Device.Dac\System.Device.Dac.nfproj", "{0E60B0DD-2B15-4664-8BD9-800AAD1717B3}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{DAE1E14A-5F94-4CF2-A94E-B4722F116FB6}"
ProjectSection(SolutionItems) = preProject
nanoframework.System.Devices.Dac.DELIVERABLES.nuspec = nanoframework.System.Devices.Dac.DELIVERABLES.nuspec
nanoframework.System.Devices.Dac.nuspec = nanoframework.System.Devices.Dac.nuspec
nanoframework.System.Device.Dac.DELIVERABLES.nuspec = nanoframework.System.Device.Dac.DELIVERABLES.nuspec
nanoframework.System.Device.Dac.nuspec = nanoframework.System.Device.Dac.nuspec
NuGet.Config = NuGet.Config
version.json = version.json
EndProjectSection
Expand Down
35 changes: 0 additions & 35 deletions nanoframework.System.Devices.Dac.nuspec

This file was deleted.

2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

===================================================================================

API docs: https://docs.nanoframework.net/api/System.Devices.Dac.html
API docs: https://docs.nanoframework.net/api/System.Device.Dac.html

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

Expand Down

0 comments on commit 92722a2

Please sign in to comment.