mirror of https://github.com/winsw/winsw
Issue #170 - Adjust the configuration example file name
parent
c0d2d0b6e3
commit
ef0d9f6aca
|
|
@ -26,7 +26,7 @@ namespace winswTests.Configuration
|
||||||
|
|
||||||
private ServiceDescriptor doLoad(string exampleName) {
|
private ServiceDescriptor doLoad(string exampleName) {
|
||||||
var dir = Directory.GetCurrentDirectory();
|
var dir = Directory.GetCurrentDirectory();
|
||||||
string path = dir + "\\..\\..\\..\\..\\..\\examples\\" + exampleName + ".xml";
|
string path = dir + "\\..\\..\\..\\..\\..\\examples\\config-" + exampleName + ".xml";
|
||||||
if (!File.Exists(path))
|
if (!File.Exists(path))
|
||||||
{
|
{
|
||||||
throw new FileNotFoundException("Cannot find the XML file " + path, path);
|
throw new FileNotFoundException("Cannot find the XML file " + path, path);
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RunawayProcessKiller", "Plu
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "winsw_dotNET4", "Core\ServiceWrapper_dotNET4\winsw_dotNET4.csproj", "{419AEEA7-E7DE-4A76-B001-76DB5F98C838}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "winsw_dotNET4", "Core\ServiceWrapper_dotNET4\winsw_dotNET4.csproj", "{419AEEA7-E7DE-4A76-B001-76DB5F98C838}"
|
||||||
EndProject
|
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
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue