Issue #170 - Adjust the configuration example file name

pull/170/head
Oleg Nenashev 2016-12-23 22:34:02 +01:00
parent c0d2d0b6e3
commit ef0d9f6aca
3 changed files with 6 additions and 1 deletions

View File

@ -26,7 +26,7 @@ namespace winswTests.Configuration
private ServiceDescriptor doLoad(string exampleName) {
var dir = Directory.GetCurrentDirectory();
string path = dir + "\\..\\..\\..\\..\\..\\examples\\" + exampleName + ".xml";
string path = dir + "\\..\\..\\..\\..\\..\\examples\\config-" + exampleName + ".xml";
if (!File.Exists(path))
{
throw new FileNotFoundException("Cannot find the XML file " + path, path);

View File

@ -33,6 +33,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RunawayProcessKiller", "Plu
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "winsw_dotNET4", "Core\ServiceWrapper_dotNET4\winsw_dotNET4.csproj", "{419AEEA7-E7DE-4A76-B001-76DB5F98C838}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{AA414F46-B863-473A-A0E0-C2971B3396AE}"
ProjectSection(SolutionItems) = preProject
..\examples\config-allOptions.xml = ..\examples\config-allOptions.xml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU