Родитель
9279e54718
Коммит
fafc8156a7
|
@ -5,7 +5,8 @@
|
|||
<MaxCpuCount>1</MaxCpuCount>
|
||||
<ResultsDirectory>.\TestResults</ResultsDirectory><!-- Path relative to solution directory -->
|
||||
<TestSessionTimeout>120000</TestSessionTimeout><!-- Milliseconds -->
|
||||
<TargetFrameworkVersion>Framework40</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>net48</TargetFrameworkVersion>
|
||||
<TargetPlatform>x64</TargetPlatform>
|
||||
</RunConfiguration>
|
||||
<nanoFrameworkAdapter>
|
||||
<Logging>None</Logging>
|
|
@ -50,7 +50,7 @@ steps:
|
|||
parameters:
|
||||
sonarCloudProject: 'nanoframework_nanoFramework.DependencyInjection'
|
||||
runUnitTests: true
|
||||
unitTestRunsettings: '$(System.DefaultWorkingDirectory)\tests\nano.runsettings'
|
||||
unitTestRunsettings: '$(System.DefaultWorkingDirectory)\.runsettings'
|
||||
|
||||
# step from template @ nf-tools repo
|
||||
# report error
|
||||
|
|
|
@ -7,6 +7,7 @@ Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "nanoFramework.DependencyInj
|
|||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{5CA8DDDF-50C5-4044-A78C-170228780423}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
.runsettings = .runsettings
|
||||
nanoframework.DependencyInjection.nuspec = nanoframework.DependencyInjection.nuspec
|
||||
README.md = README.md
|
||||
version.json = version.json
|
||||
|
|
|
@ -23,9 +23,6 @@
|
|||
<TargetFrameworkVersion>v1.0</TargetFrameworkVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.props')" />
|
||||
<PropertyGroup>
|
||||
<RunSettingsFilePath>$(MSBuildProjectDirectory)\nano.runsettings</RunSettingsFilePath>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="ActivatorUtilitiesTests.cs" />
|
||||
<Compile Include="DependencyInjectionTests.cs" />
|
||||
|
@ -69,14 +66,13 @@
|
|||
<HintPath>..\packages\nanoFramework.CoreLibrary.1.12.0\lib\mscorlib.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="nanoFramework.TestFramework">
|
||||
<HintPath>..\packages\nanoFramework.TestFramework.1.0.209\lib\nanoFramework.TestFramework.dll</HintPath>
|
||||
<HintPath>..\packages\nanoFramework.TestFramework.2.0.41\lib\nanoFramework.TestFramework.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="nanoFramework.UnitTestLauncher">
|
||||
<HintPath>..\packages\nanoFramework.TestFramework.1.0.209\lib\nanoFramework.UnitTestLauncher.exe</HintPath>
|
||||
<HintPath>..\packages\nanoFramework.TestFramework.2.0.41\lib\nanoFramework.UnitTestLauncher.exe</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="nano.runsettings" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
@ -84,7 +80,7 @@
|
|||
</ItemGroup>
|
||||
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets')" />
|
||||
<!-- MANUAL UPDATE HERE -->
|
||||
<Import Project="..\packages\nanoFramework.TestFramework.1.0.209\build\nanoFramework.TestFramework.targets" Condition="Exists('..\packages\nanoFramework.TestFramework.1.0.209\build\nanoFramework.TestFramework.targets')" />
|
||||
<Import Project="..\packages\nanoFramework.TestFramework.2.0.41\build\nanoFramework.TestFramework.targets" Condition="Exists('..\packages\nanoFramework.TestFramework.2.0.41\build\nanoFramework.TestFramework.targets')" />
|
||||
<ProjectExtensions>
|
||||
<ProjectCapabilities>
|
||||
<ProjectConfigurationsDeclaredAsItems />
|
||||
|
@ -94,6 +90,6 @@
|
|||
<PropertyGroup>
|
||||
<WarningText>Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder.</WarningText>
|
||||
</PropertyGroup>
|
||||
<Warning Condition="!Exists('..\packages\nanoFramework.TestFramework.1.0.209\build\nanoFramework.TestFramework.targets')" Text="'$(WarningText)'" />
|
||||
<Warning Condition="!Exists('..\packages\nanoFramework.TestFramework.2.0.41\build\nanoFramework.TestFramework.targets')" Text="'$(WarningText)'" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="nanoFramework.CoreLibrary" version="1.12.0" targetFramework="netnano1.0" />
|
||||
<package id="nanoFramework.TestFramework" version="1.0.209" targetFramework="netnano1.0" developmentDependency="true" />
|
||||
<package id="nanoFramework.TestFramework" version="2.0.41" targetFramework="netnano1.0" developmentDependency="true" />
|
||||
</packages>
|
Загрузка…
Ссылка в новой задаче