Skip to content

Commit fd297b8

Browse files
committed
Work CI-CD
- Add packages lock file to project files. ***NO_CI***
1 parent 0d59296 commit fd297b8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Tests/MagicBitTestApp/MagicBitTestApp.nfproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
<RootNamespace>MagicBitTestApp</RootNamespace>
1616
<AssemblyName>MagicBitTestApp</AssemblyName>
1717
<TargetFrameworkVersion>v1.0</TargetFrameworkVersion>
18+
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
19+
<RestoreLockedMode Condition="'$(TF_BUILD)' == 'True' or '$(ContinuousIntegrationBuild)' == 'True'">true</RestoreLockedMode>
1820
</PropertyGroup>
1921
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.props')" />
2022
<ItemGroup>

nanoFramework.MagicBit/nanoFramework.MagicBit.nfproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
<AssemblyName>nanoFramework.MagicBit</AssemblyName>
1818
<TargetFrameworkVersion>v1.0</TargetFrameworkVersion>
1919
<DocumentationFile>bin\$(Configuration)\nanoFramework.MagicBit.xml</DocumentationFile>
20+
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
21+
<RestoreLockedMode Condition="'$(TF_BUILD)' == 'True' or '$(ContinuousIntegrationBuild)' == 'True'">true</RestoreLockedMode>
2022
</PropertyGroup>
2123
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.props')" />
2224
<ItemGroup>

0 commit comments

Comments
 (0)