Skip to content

Commit 2a0004d

Browse files
committed
Enable SourceLink
***NO_CI***
1 parent eaa46c4 commit 2a0004d

File tree

4 files changed

+55
-1
lines changed

4 files changed

+55
-1
lines changed

nanoFramework.Tools.DebugLibrary.Net/nanoFramework.Tools.DebugLibrary.Net.csproj

+7
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
</NuGetPackageImportStamp>
1717
<TargetFrameworkProfile />
1818
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
19+
<Deterministic>true</Deterministic>
20+
<ContinuousIntegrationBuild Condition="'$(TF_BUILD)' == 'true'">True</ContinuousIntegrationBuild>
1921
<!-- need this here to rebuild the packages.lock.json file in case the hashes fail to validate -->
2022
<!-- <DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder> -->
2123
</PropertyGroup>
@@ -72,6 +74,11 @@
7274
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
7375
<PrivateAssets>all</PrivateAssets>
7476
</PackageReference>
77+
<PackageReference Include="Microsoft.SourceLink.GitHub">
78+
<Version>1.0.0</Version>
79+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
80+
<PrivateAssets>all</PrivateAssets>
81+
</PackageReference>
7582
<PackageReference Include="Microsoft.Windows.SDK.Contracts">
7683
<Version>10.0.19041.1</Version>
7784
</PackageReference>

nanoFramework.Tools.DebugLibrary.Net/packages.lock.json

+20
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@
88
"resolved": "4.2.1",
99
"contentHash": "46t+e1eESclH4TkfqUEYAgZ1+ZbXSFS7GqSKvtcw6u2yT05heDKdzj1r3YA/6FCZM4uB4z7qRW9V+gBsCilonQ=="
1010
},
11+
"Microsoft.SourceLink.GitHub": {
12+
"type": "Direct",
13+
"requested": "[1.0.0, )",
14+
"resolved": "1.0.0",
15+
"contentHash": "aZyGyGg2nFSxix+xMkPmlmZSsnGQ3w+mIG23LTxJZHN+GPwTQ5FpPgDo7RMOq+Kcf5D4hFWfXkGhoGstawX13Q==",
16+
"dependencies": {
17+
"Microsoft.Build.Tasks.Git": "1.0.0",
18+
"Microsoft.SourceLink.Common": "1.0.0"
19+
}
20+
},
1121
"Microsoft.Windows.SDK.Contracts": {
1222
"type": "Direct",
1323
"requested": "[10.0.19041.1, )",
@@ -60,6 +70,16 @@
6070
"resolved": "4.5.0",
6171
"contentHash": "okurQJO6NRE/apDIP23ajJ0hpiNmJ+f0BwOlB/cSqTLQlw5upkf+5+96+iG2Jw40G1fCVCyPz/FhIABUjMR+RQ=="
6272
},
73+
"Microsoft.Build.Tasks.Git": {
74+
"type": "Transitive",
75+
"resolved": "1.0.0",
76+
"contentHash": "z2fpmmt+1Jfl+ZnBki9nSP08S1/tbEOxFdsK1rSR+LBehIJz1Xv9/6qOOoGNqlwnAGGVGis1Oj6S8Kt9COEYlQ=="
77+
},
78+
"Microsoft.SourceLink.Common": {
79+
"type": "Transitive",
80+
"resolved": "1.0.0",
81+
"contentHash": "G8DuQY8/DK5NN+3jm5wcMcd9QYD90UV7MiLmdljSJixi3U/vNaeBKmmXUqI4DJCOeWizIUEh4ALhSt58mR+5eg=="
82+
},
6383
"System.Runtime.CompilerServices.Unsafe": {
6484
"type": "Transitive",
6585
"resolved": "4.5.3",

nanoFramework.Tools.DebugLibrary.UWP/nanoFramework.Tools.DebugLibrary.UWP.csproj

+7
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
<FileAlignment>512</FileAlignment>
1818
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
1919
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
20+
<Deterministic>true</Deterministic>
21+
<ContinuousIntegrationBuild Condition="'$(TF_BUILD)' == 'true'">True</ContinuousIntegrationBuild>
2022
<!-- need this here to rebuild the packages.lock.json file in case the hashes fail to validate -->
2123
<!-- <DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder> -->
2224
</PropertyGroup>
@@ -134,6 +136,11 @@
134136
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
135137
<Version>6.2.11</Version>
136138
</PackageReference>
139+
<PackageReference Include="Microsoft.SourceLink.GitHub">
140+
<Version>1.0.0</Version>
141+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
142+
<PrivateAssets>all</PrivateAssets>
143+
</PackageReference>
137144
<PackageReference Include="Nerdbank.GitVersioning">
138145
<Version>3.3.37</Version>
139146
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>

nanoFramework.Tools.DebugLibrary.UWP/packages.lock.json

+21-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@
1414
"NETStandard.Library": "2.0.3"
1515
}
1616
},
17+
"Microsoft.SourceLink.GitHub": {
18+
"type": "Direct",
19+
"requested": "[1.0.0, )",
20+
"resolved": "1.0.0",
21+
"contentHash": "aZyGyGg2nFSxix+xMkPmlmZSsnGQ3w+mIG23LTxJZHN+GPwTQ5FpPgDo7RMOq+Kcf5D4hFWfXkGhoGstawX13Q==",
22+
"dependencies": {
23+
"Microsoft.Build.Tasks.Git": "1.0.0",
24+
"Microsoft.SourceLink.Common": "1.0.0"
25+
}
26+
},
1727
"Nerdbank.GitVersioning": {
1828
"type": "Direct",
1929
"requested": "[3.3.37, )",
@@ -62,6 +72,11 @@
6272
"resolved": "4.2.1",
6373
"contentHash": "46t+e1eESclH4TkfqUEYAgZ1+ZbXSFS7GqSKvtcw6u2yT05heDKdzj1r3YA/6FCZM4uB4z7qRW9V+gBsCilonQ=="
6474
},
75+
"Microsoft.Build.Tasks.Git": {
76+
"type": "Transitive",
77+
"resolved": "1.0.0",
78+
"contentHash": "z2fpmmt+1Jfl+ZnBki9nSP08S1/tbEOxFdsK1rSR+LBehIJz1Xv9/6qOOoGNqlwnAGGVGis1Oj6S8Kt9COEYlQ=="
79+
},
6580
"Microsoft.Net.Native.Compiler": {
6681
"type": "Transitive",
6782
"resolved": "2.2.9-rel-29512-01",
@@ -88,10 +103,15 @@
88103
"resolved": "2.1.0",
89104
"contentHash": "GmkKfoyerqmsHMn7OZj0AKpcBabD+GaafqphvX2Mw406IwiJRy1pKcKqdCfKJfYmkRyJ6+e+RaUylgdJoDa1jQ=="
90105
},
106+
"Microsoft.SourceLink.Common": {
107+
"type": "Transitive",
108+
"resolved": "1.0.0",
109+
"contentHash": "G8DuQY8/DK5NN+3jm5wcMcd9QYD90UV7MiLmdljSJixi3U/vNaeBKmmXUqI4DJCOeWizIUEh4ALhSt58mR+5eg=="
110+
},
91111
"NETStandard.Library": {
92112
"type": "Transitive",
93113
"resolved": "2.0.3",
94-
"contentHash": "548M6mnBSJWxsIlkQHfbzoYxpiYFXZZSL00p4GHYv8PkiqFBnnT68mW5mGEsA/ch9fDO9GkPgkFQpWiXZN7mAQ==",
114+
"contentHash": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
95115
"dependencies": {
96116
"Microsoft.NETCore.Platforms": "1.1.0"
97117
}

0 commit comments

Comments
 (0)