Ejemplo n.º 1
0
 private ConfigSettings GetConfigFromCsProj(string containingDirectory, string csproj)
 {
     var proj = new CsProjParser(_filesystem.GetFileText(csproj));
     var settings =  ConfigSettings.Default();
     settings.AssemblyLocations = proj.GetAssemblyLocations();
     settings.StoryBasePath = containingDirectory;
     return settings;
 }
 public void Finds_output_assembly()
 {
     _parser.GetAssemblyLocations().First().ToLower().ShouldEqual("bin\\debug\\Bowling.dll".ToLower());
 }