zzarchive-generator-fsharp icon indicating copy to clipboard operation
zzarchive-generator-fsharp copied to clipboard

"Add new project to solution" doesn't edit sln file

Open ghost opened this issue 9 years ago • 2 comments

I've created an empty solution, then, I used the "Add new project to solution" option, but doesn't edit the sln file. I mean, this option doesn't add the project and projectconfiguration sections. I found this question but can't find a way to re-template the .sln file once it have been created.

ghost avatar Nov 29 '15 03:11 ghost

It was already discussed in #18.

Krzysztof-Cieslak avatar Nov 30 '15 10:11 Krzysztof-Cieslak

Hi, oh, so sorry for opening a new issue on this.

You're right, the sln file is an VS's concern. But thinking about how to solve it I had an idea, using a file watcher on the editors that modify the sln (and also the fsproj) content when new file/folder is added. At least on Electron based editors there is a pathwatcher. So, in Atom and VSCode (using ionide), we can stop editing that files manually on xplat development. And also use FAKE Build without run into issues like this (when compile files separately). The only issue would be the order, that Move up Move down on VS Solution Explorer :confused:

ghost avatar Nov 30 '15 22:11 ghost