- ProjectConverter is now able to convert single project files passed as command line argument
This commit is contained in:
parent
9d456d1019
commit
7f75c22eea
@ -45,6 +45,12 @@ namespace ProjectConverter
|
||||
#endregion
|
||||
|
||||
#region ConvertProject
|
||||
public void ConvertProject(string projectFilePath)
|
||||
{
|
||||
ProjectPath projectPath = new ProjectPath(this, projectFilePath, ".");
|
||||
ConvertProject(projectPath);
|
||||
}
|
||||
|
||||
public void ConvertProject(ProjectPath project)
|
||||
{
|
||||
CurrentProject = project;
|
||||
|
@ -65,6 +65,9 @@ namespace ProjectConverter
|
||||
case ".sln":
|
||||
converter.ConvertAllProjects(file);
|
||||
break;
|
||||
case ".csproj":
|
||||
converter.ConvertProject(file);
|
||||
break;
|
||||
default:
|
||||
throw new NotImplementedException("unsupported file type '" + fileExt + "'");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user