sayedihashimi / template-sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove source control configuration from generated projects

mattkirschner opened this issue · comments

My template project is connected to TFS source control and I'm having a heck of a time removing all the related bindings from new projects using this template. Right now, creating a new project results in a prompt stating that "The solution you are opening is bound to source control on...".

Is there any documentation that explains how and what to exclude in order to prevent new projects from retaining the template source control info? It seems that simply including ".vs/" and "/*.vspscc" in the source->modifiers->exclude array of template.json is not sufficient.

Looking into this a little more, the issue seems to be with a few lines in the .sln file that need to be removed. Is there any documentation on how to edit the solution file during template install?

Hi, I think this would be better asked over at https://github.com/dotnet/templating/issues. We will need their help to answer this particular question.

Ah, thanks - I didn't even think to look there. New issue here: dotnet/templating#5544

Thanks. We discuss some issues here, but this is beyond the scope of what we can help with here.