Category: visual studio fsharp
MRUNKS on Mon, 24 Aug 2015 18:17:23
I created an F# project in Visual Studio 2015 and it resides in a solution that also has C# projects.
When I add it to Source Control through the solution explorer for the first time, the project and all correlated .FS files are properly added to TFS and display the blue lock.
As soon as I try to check out the .proj file in the Solution explorer I receive the following error message
"None of the items you selected are currently valid for this operation"
If i right click on any of the individual files, I am able to successfully check them out as expected. So for some reason Visual Studio thinks there is nothing valid when I attempt to "right click" and check out for edit my F# project.
If I attempt the same steps on the C# projects then I have no problem everything works as expected.
If I check out the folder or project simply with TFS but not with the solution explorer it works fine. I tried created a new project and solution in F# and the problem still occurs. Any suggestions what might cause this ?
Joel Mueller (SNL) on Tue, 25 Aug 2015 00:35:14
This appears to happen to me as well, but I've literally never noticed before, as I've never even been tempted to check out all the files in any project, C# or F#, at the same time.
I just start editing a file, and when VS/TFS notices, it checks out that file for me. It's not quite as nice as Git or Mercurial, but at least it's not as goddamn-awful as being forced to explicitly check a file out before I start working with it.
So, I'm sorry that this issue interferes with your workflow, but boy am I ever glad I don't have to follow your workflow.
MRUNKS on Thu, 27 Aug 2015 15:27:18
I too can just edit the file but there are times where I want to check out the whole project and that's when it is frustrating. I am not sure what it would be with the F# projects and none of the others.