ProjectSimplifier icon indicating copy to clipboard operation
ProjectSimplifier copied to clipboard

Support converting a project in place

Open dsplaisted opened this issue 8 years ago • 2 comments

Usually when converting a project, you want to have it update the project file instead of creating a new one. This especially matters because the assembly name and other properties are inferred from the project name.

I'd suggest that if the -o parameter isn't specified for the convert command, that it simply writes the output to the input file.

I tried specifying that the output file should be the same as the input file, but that gives me a CommandLine.MissingRequiredOptionError.

dsplaisted avatar Jun 14 '17 16:06 dsplaisted

If doing this, please make a backup of the original file for recovery purposes.

NotMyself avatar Jul 13 '17 17:07 NotMyself

@dsplaisted I've made a change to default to the projectfile path if the output path is not specified. @NotMyself - i don't yet make a backup but have found reverting with git sufficient so far.

srivatsn avatar Jul 19 '17 18:07 srivatsn