Visual Studio is locking .jfm files - visual-studio

(Using Visual Studio 2015 14.0.25431.01 Update 3)
My problem is much like this one -
Visual Studio 2015 Database Project directory contains a file with extension jfm
The approved answer is to edit the gitignore file to exclude this files.
But I'm using Visual Studio Online, not GIT, and there is no GitIgnore file for this solution.
I'm stumped. Any ideas

I think you're looking for a .tfignore file and not a .gitignore file. They are similar but the former is for TFVC and the latter for GIT.
See the 'Customize which files are ignored by version control' section of this document

Related

Visual Studio 2015 Community Xamarin Cross-Platform templates missing

I installed Visual Studio 2015 Community Update 3 with Xamarin, updated Xamarin and everything was working fine.
But suddenly, the Xamarin Cross-Platform templates went missing when I tried to create a new project.
I don't have these templates anymore:
I only have these ones:
What I tried:
Change
Repair
Uninstall & reinstall Xamarin
Tried this solution (delete cache.bin files): https://stackoverflow.com/a/40201478/1351076
Configuration:
Visual Studio 2015 Community Update 3
Xamarin 4.2.2.11
Question:
Anyone having this issue or a solution?
Can I download somewhere the official missing templates?
This was working for me:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\
Find the correct subfolder. This can be tricky. I had a Xamarin folder, but that was not the right one. In my case it was folder wa13kl1p.m3s.
However, open your folders and check it there is some Xamarin.Forms.Templates... files in it.
Inside that folder navigate to the T/P/CSharp folder.
Copy the Cross-Platform folder over to C:\Users\\Documents\Visual Studio 2015\Templates\ProjectTemplates\Visual C#
Same thing for the ItemTemplates:
But this time navigate to T/I/CSharp folder.
Copy the Cross-Platform folder over to C:\Users\\Documents\Visual Studio 2015\Templates\ItemTemplates\Visual C#
In the current Beta channel, the templates all get merged into a "Wizard Template" instead.
Which will give you all of the same options as the separate templates gave:
However if you run into an issue where templates are not included, please ensure you check your Xamarin extension cache:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Xamarin\Xamarin
Which will have various versions such as 4.2.2.11 that you are currently on. You can then move those .vstemplate files from the .zips to your C:\Users\{username}\Documents\Visual Studio 2015\Templates\ProjectTemplates\Visual C# location.
I would highly recommend updating to the Beta channel to ensure this template is at least there before doing this.

What determines the default startup project?

I have a open source project that include Visual Studio project files. There is a solution file with four projects files. When the source files are distributed and unpacked, Visual Studio picks the wrong project as the default project. New users don't know they need to right click a certain project, and then select Set as Startup Project.
I've tried re-ordering the projects in the solution file so the appropriate project is first, and I tried changing the UUID on the appropriate project so its the lowest. Neither have helped with the problem of Visual Studio selecting the wrong startup project.
The Visual Studio versions I test against are Visual Studio 2005, 2008, 2010, 2012, 2013 and 2015.
What determines the default startup project?
What can I do to ensure Visual Studio selects the correct startup project?
A related question is Why is “Set as Startup” option stored in the suo file and not the sln file?, but it asks "Why..." and does not ask "How To...".
If there is a *.suo file, the Startup Project is saved there.
Otherwise, the first project listed in the *.sln file will be the Startup.
(tested with VS 2013)

Remove missing files in Visual Studio 2013

Is there a quick way to remove only files that are missing in a Visual Studio project? So files that are no longer accessible that were either deleted or moved outside of Visual Studio.
It sounds like you've physically deleted a file that an MSVS project still "remembers".
You can probably just select and delete the project items in question in the MSVS IDE.
Personally, I'd just edit the project file (e.g. "myprog.csproj") in Notepad.

How to convert project from VS2012 to VS2013

Funny question but I stacked on it. I opened in VS2013 solution file which uses VS2012, but it still doesn't show me any screen for upgrade solution to VS2013. I mean I can open this project in VS 2013 and it works but solution file still shows that it use VS2012
According to this article some wizard should be shown, but it doesn't
http://msdn.microsoft.com/en-us/library/vstudio/ms185327(v=vs.100).aspx
Found the answer. We need to correct manually the Visual Studio sln file like this
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Open the project using VS2013, then go the the directory that the project is in and change the
extension of the Solution file (*.sln) to something like *.sln_12. Now save the project and a new sln file will be created.
Check this url http://visualstudiomagazine.com/articles/2013/06/12/vs-2013-can-load-vs-2012-and-vs-2010-projects.aspx. It supports round-tripping with older versions of visual studio so it doesn't upgrade solution/project file automatically.

Where are Visual Studio breakpoints saved?

I seem to be getting breakpoints from other programmers when checking out code...
Where is the list of breakpoints saved by Visual Studio? In the vbproj file? vbproj.user file? documents and settings? are they meant to be specific to the solution, the project, the user, the computer they are set on?
Thanks!
They are saved in the <solutionname>.suo file. SUO stands for Solution User Options, and should not be added to source control.
No .vbproj.user files should be in source control either!
Starting from Visual Studio 2015 CTP solution and project related files are stored in the .vs directory. The path to the suo file is .vs\<SolutionName>\v14\.suo for Visual Studio 2015.

Resources