Commit 07233a79 authored by Ghislain MARY's avatar Ghislain MARY

Fix resource detection in belle-sip-tester for Windows 10.

parent 9f584aa5
......@@ -93,6 +93,9 @@
<Content Include="ApplicationInsights.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Assets\common\bc_completion">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="project.json" />
</ItemGroup>
<ItemGroup>
......@@ -138,10 +141,16 @@
<Name>belle-sip-tester-runtime-component</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup />
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">
<VisualStudioVersion>14.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>
XCopy /I /Y $(ProjectDir)..\..\..\..\tester\common\bc_completion $(ProjectDir)Assets\common
</PreBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
......
......@@ -114,7 +114,7 @@ void BelleSipTester::runAllToXml()
init(true);
FILE *f = fopen(logFile, "w");
belle_sip_set_log_file(f);
bc_tester_start("belle-sip-tester");
bc_tester_start(NULL);
bc_tester_uninit();
fclose(f);
free(xmlFile);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment