Skip to content

Commit f468ffe

Browse files
authored
Add SonarCloud (#71)
***NO_CI***
1 parent cac261b commit f468ffe

File tree

5 files changed

+6
-3
lines changed

5 files changed

+6
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![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.CoreLibrary.svg)]() [![#yourfirstpr](https://img.shields.io/badge/first--timers--only-friendly-blue.svg)](https://github.com/nanoframework/Home/blob/master/CONTRIBUTING.md)
1+
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-CoreLibrary&metric=alert_status)](https://sonarcloud.io/dashboard?id=nanoframework_lib-CoreLibrary) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-CoreLibrary&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nanoframework_lib-CoreLibrary) [![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.CoreLibrary.svg)]() [![#yourfirstpr](https://img.shields.io/badge/first--timers--only-friendly-blue.svg)](https://github.com/nanoframework/Home/blob/master/CONTRIBUTING.md)
22
[![Discord](https://img.shields.io/discord/478725473862549535.svg)](https://discord.gg/gCyBu8T)
33

44

azure-pipelines.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ steps:
3939
# step from template @ nf-tools repo
4040
# all build, update and publish steps
4141
- template: azure-pipelines-templates/class-lib-build.yml@templates
42+
parameters:
43+
soundCloudProject: 'nanoframework_lib-CoreLibrary'
4244

4345
# update dependencies
4446
- task: UpdatenFDependencies@1

source/nanoFramework.CoreLibrary/CoreLibrary.nfproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<SignAssembly>true</SignAssembly>
3030
</PropertyGroup>
3131
<PropertyGroup>
32-
<AssemblyOriginatorKeyFile>..\key.snk</AssemblyOriginatorKeyFile>
32+
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
3333
</PropertyGroup>
3434
<PropertyGroup>
3535
<DelaySign>false</DelaySign>
@@ -375,7 +375,7 @@
375375
</NFMDP_PE_ExcludeClassByName>
376376
</ItemGroup>
377377
<ItemGroup>
378-
<None Include="..\key.snk" />
378+
<None Include="key.snk" />
379379
<None Include="packages.config" />
380380
</ItemGroup>
381381
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets')" />

source/nanoFramework.CoreLibrary/System/Type.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public static Type GetType(String typeName)
4848
return GetTypeInternal(name, assemblyName, fVersion, ver);
4949
}
5050

51+
[Diagnostics.DebuggerHidden]
5152
[MethodImpl(MethodImplOptions.InternalCall)]
5253
private static extern Type GetTypeInternal(String typeName, string assemblyName, bool fVersion, int[] ver);
5354

File renamed without changes.

0 commit comments

Comments
 (0)