Work CI-CD
- Update nbgv dependency. - Add packages lock to projects. ***NO_CI***
This commit is contained in:
Родитель
93f5de93c0
Коммит
68e8309c19
|
@ -17,6 +17,9 @@
|
|||
<TargetFrameworkVersion>v1.0</TargetFrameworkVersion>
|
||||
<NF_IsCoreLibrary>True</NF_IsCoreLibrary>
|
||||
<DocumentationFile>bin\$(Configuration)\System.Device.Spi.xml</DocumentationFile>
|
||||
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
|
||||
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
|
||||
<RestoreLockedMode Condition="'$(TF_BUILD)' == 'True' or '$(ContinuousIntegrationBuild)' == 'True'">true</RestoreLockedMode>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SignAssembly>true</SignAssembly>
|
||||
|
@ -69,17 +72,20 @@
|
|||
<Private>True</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="packages.lock.json" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets')" />
|
||||
<ProjectExtensions>
|
||||
<ProjectCapabilities>
|
||||
<ProjectConfigurationsDeclaredAsItems />
|
||||
</ProjectCapabilities>
|
||||
</ProjectExtensions>
|
||||
<Import Project="..\packages\Nerdbank.GitVersioning.3.5.107\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\packages\Nerdbank.GitVersioning.3.5.107\build\Nerdbank.GitVersioning.targets')" />
|
||||
<Import Project="..\packages\Nerdbank.GitVersioning.3.5.109\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\packages\Nerdbank.GitVersioning.3.5.109\build\Nerdbank.GitVersioning.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<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>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Nerdbank.GitVersioning.3.5.107\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Nerdbank.GitVersioning.3.5.107\build\Nerdbank.GitVersioning.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Nerdbank.GitVersioning.3.5.109\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Nerdbank.GitVersioning.3.5.109\build\Nerdbank.GitVersioning.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -3,5 +3,5 @@
|
|||
<package id="nanoFramework.CoreLibrary" version="1.12.0" targetFramework="netnanoframework10" />
|
||||
<package id="nanoFramework.Runtime.Events" version="1.10.0" targetFramework="netnanoframework10" />
|
||||
<package id="nanoFramework.System.Device.Gpio" version="1.1.5" targetFramework="netnanoframework10" />
|
||||
<package id="Nerdbank.GitVersioning" version="3.5.107" developmentDependency="true" targetFramework="netnanoframework10" />
|
||||
<package id="Nerdbank.GitVersioning" version="3.5.109" developmentDependency="true" targetFramework="netnano1.0" />
|
||||
</packages>
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"version": 1,
|
||||
"dependencies": {
|
||||
".NETnanoFramework,Version=v1.0": {
|
||||
"nanoFramework.CoreLibrary": {
|
||||
"type": "Direct",
|
||||
"requested": "[1.12.0, 1.12.0]",
|
||||
"resolved": "1.12.0",
|
||||
"contentHash": "qQrFNXmJiStMC4VXk5cVMOJp23/qlT9FW5i9i+igwQVwraQTtvpkam8yK1hj992jqrbjoCIFZP4Hw9E8H0pB7w=="
|
||||
},
|
||||
"nanoFramework.Runtime.Events": {
|
||||
"type": "Direct",
|
||||
"requested": "[1.10.0, 1.10.0]",
|
||||
"resolved": "1.10.0",
|
||||
"contentHash": "ZRDjzVoTdc6+3sUNk9vORz4HHonYYGM4ED2V8VcfkYC8xQ8VFoaP8U6mXLd70ocmyhGaP9GK86sxHUQykSK7vA=="
|
||||
},
|
||||
"nanoFramework.System.Device.Gpio": {
|
||||
"type": "Direct",
|
||||
"requested": "[1.1.5, 1.1.5]",
|
||||
"resolved": "1.1.5",
|
||||
"contentHash": "NOhVZXIfotaFDQeoR37TyeHTHQKsrjTbOoMm1ZWmZrzRTpqxd5HUc+RBOEMflMD8qEwPKkxHBtfbR09kO4Iq8A=="
|
||||
},
|
||||
"Nerdbank.GitVersioning": {
|
||||
"type": "Direct",
|
||||
"requested": "[3.5.109, 3.5.109]",
|
||||
"resolved": "3.5.109",
|
||||
"contentHash": "tKA1XJ5U2Ytk+u2/5sGNa04Pw6z9noYmqbpmHpjvbwJTtIalqsQjnwT4RQKSDTTIznHBbKxzv3HVh8QD28Qk+g=="
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -21,6 +21,8 @@
|
|||
<IsTestProject>true</IsTestProject>
|
||||
<TestProjectType>UnitTest</TestProjectType>
|
||||
<TargetFrameworkVersion>v1.0</TargetFrameworkVersion>
|
||||
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
|
||||
<RestoreLockedMode Condition="'$(TF_BUILD)' == 'True' or '$(ContinuousIntegrationBuild)' == 'True'">true</RestoreLockedMode>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.props')" />
|
||||
<PropertyGroup>
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"version": 1,
|
||||
"dependencies": {
|
||||
".NETnanoFramework,Version=v1.0": {
|
||||
"nanoFramework.CoreLibrary": {
|
||||
"type": "Direct",
|
||||
"requested": "[1.12.0, 1.12.0]",
|
||||
"resolved": "1.12.0",
|
||||
"contentHash": "qQrFNXmJiStMC4VXk5cVMOJp23/qlT9FW5i9i+igwQVwraQTtvpkam8yK1hj992jqrbjoCIFZP4Hw9E8H0pB7w=="
|
||||
},
|
||||
"nanoFramework.Runtime.Events": {
|
||||
"type": "Direct",
|
||||
"requested": "[1.10.0, 1.10.0]",
|
||||
"resolved": "1.10.0",
|
||||
"contentHash": "ZRDjzVoTdc6+3sUNk9vORz4HHonYYGM4ED2V8VcfkYC8xQ8VFoaP8U6mXLd70ocmyhGaP9GK86sxHUQykSK7vA=="
|
||||
},
|
||||
"nanoFramework.System.Device.Gpio": {
|
||||
"type": "Direct",
|
||||
"requested": "[1.1.5, 1.1.5]",
|
||||
"resolved": "1.1.5",
|
||||
"contentHash": "NOhVZXIfotaFDQeoR37TyeHTHQKsrjTbOoMm1ZWmZrzRTpqxd5HUc+RBOEMflMD8qEwPKkxHBtfbR09kO4Iq8A=="
|
||||
},
|
||||
"nanoFramework.TestFramework": {
|
||||
"type": "Direct",
|
||||
"requested": "[2.0.43, 2.0.43]",
|
||||
"resolved": "2.0.43",
|
||||
"contentHash": "HNsLJa/ZMK41A+86siZJUelZTeYWKdFm4M8tpcvtmyU52FSvBsciVJchgtgmM7XXe6A8YhT71PU1ZIV03EVmEQ=="
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче