1- <?xml version =" 1.0" encoding =" utf-8" ?>
1+ <?xml version =" 1.0" encoding =" utf-8" ?>
22<Project ToolsVersion =" Current" DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
33 <PropertyGroup Label =" Globals" >
44 <NanoFrameworkProjectSystemPath >$(MSBuildExtensionsPath)\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath >
5151 <Reference Include =" nanoFramework.Runtime.Events, Version=1.11.37.0, Culture=neutral, PublicKeyToken=c07d481e9758c731" >
5252 <HintPath >..\..\packages\nanoFramework.Runtime.Events.1.11.37\lib\nanoFramework.Runtime.Events.dll</HintPath >
5353 </Reference >
54- <Reference Include =" System.Device.Wifi, Version=1.5.147 .0, Culture=neutral, PublicKeyToken=c07d481e9758c731" >
55- <HintPath >..\..\packages\nanoFramework.System.Device.Wifi.1.5.147 \lib\System.Device.Wifi.dll</HintPath >
54+ <Reference Include =" System.Device.Wifi, Version=1.5.149 .0, Culture=neutral, PublicKeyToken=c07d481e9758c731" >
55+ <HintPath >..\..\packages\nanoFramework.System.Device.Wifi.1.5.149 \lib\System.Device.Wifi.dll</HintPath >
5656 </Reference >
5757 <Reference Include =" System.IO.Streams, Version=1.1.96.0, Culture=neutral, PublicKeyToken=c07d481e9758c731" >
5858 <HintPath >..\..\packages\nanoFramework.System.IO.Streams.1.1.96\lib\System.IO.Streams.dll</HintPath >
5959 </Reference >
60+ <Reference Include =" System.Net, Version=1.11.60.0, Culture=neutral, PublicKeyToken=c07d481e9758c731" >
61+ <HintPath >..\..\packages\nanoFramework.System.Net.1.11.60\lib\System.Net.dll</HintPath >
62+ </Reference >
6063 <Reference Include =" System.Threading, Version=1.1.52.34401, Culture=neutral, PublicKeyToken=c07d481e9758c731" >
6164 <HintPath >..\..\packages\nanoFramework.System.Threading.1.1.52\lib\System.Threading.dll</HintPath >
6265 </Reference >
6871 <ProjectReference Include =" ..\..\nanoFramework.System.Net\System.Net.nfproj" />
6972 </ItemGroup >
7073 <Import Project =" $(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets" Condition =" Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets')" />
71-
7274 <!--
7375 Generate TestConfiguration.cs from the shared .runsettings file so that
7476 CompanionIP and CompanionControlPort only need to be set in one place.
7577 -->
7678 <Target Name =" GenerateTestConfiguration" BeforeTargets =" BeforeBuild" >
77- <XmlPeek XmlInputPath =" $(MSBuildThisFileDirectory)..\..\.runsettings"
78- Query =" /RunSettings/TestRunParameters/Parameter[@name='CompanionIP']/@value" >
79+ <XmlPeek XmlInputPath =" $(MSBuildThisFileDirectory)..\..\.runsettings" Query =" /RunSettings/TestRunParameters/Parameter[@name='CompanionIP']/@value" >
7980 <Output TaskParameter =" Result" ItemName =" _CompanionIPItems" />
8081 </XmlPeek >
81- <XmlPeek XmlInputPath =" $(MSBuildThisFileDirectory)..\..\.runsettings"
82- Query =" /RunSettings/TestRunParameters/Parameter[@name='CompanionControlPort']/@value" >
82+ <XmlPeek XmlInputPath =" $(MSBuildThisFileDirectory)..\..\.runsettings" Query =" /RunSettings/TestRunParameters/Parameter[@name='CompanionControlPort']/@value" >
8383 <Output TaskParameter =" Result" ItemName =" _CompanionPortItems" />
8484 </XmlPeek >
85-
8685 <PropertyGroup >
8786 <_CompanionIP >@(_CompanionIPItems)</_CompanionIP >
8887 <_CompanionPort >@(_CompanionPortItems)</_CompanionPort >
8988 <_CompanionIP Condition =" '$(_CompanionIP)' == ''" >127.0.0.1</_CompanionIP >
9089 <_CompanionPort Condition =" '$(_CompanionPort)' == ''" >11000</_CompanionPort >
9190 </PropertyGroup >
92-
9391 <ItemGroup >
9492 <_TestConfigLines Include =" // Auto-generated from .runsettings - do not edit directly." />
9593 <_TestConfigLines Include =" //" />
105103 <_TestConfigLines Include =" %20%20%20%20}" />
106104 <_TestConfigLines Include =" }" />
107105 </ItemGroup >
108-
109- <WriteLinesToFile File =" $(MSBuildThisFileDirectory)TestConfiguration.cs"
110- Lines =" @(_TestConfigLines)"
111- Overwrite =" true"
112- Encoding =" UTF-8" />
113-
106+ <WriteLinesToFile File =" $(MSBuildThisFileDirectory)TestConfiguration.cs" Lines =" @(_TestConfigLines)" Overwrite =" true" Encoding =" UTF-8" />
114107 <Message Text =" Generated TestConfiguration.cs: CompanionIP=$(_CompanionIP) CompanionControlPort=$(_CompanionPort)" Importance =" normal" />
115108 </Target >
116-
117109 <!-- MANUAL UPDATE HERE -->
118110 <ProjectExtensions >
119111 <ProjectCapabilities >
120112 <ProjectConfigurationsDeclaredAsItems />
121113 </ProjectCapabilities >
122114 </ProjectExtensions >
123- </Project >
115+ </Project >
0 commit comments