I am supporting a number of .Net developers who are using Subversion to version control their work, but we have been running into a number of issues that seem to revolve around the additional files that Visual Studio uses to manage projects, do debugging, etc. Specifically, it seems that these files are causing conflicts due to the fact that they are already in the repo. I know how to get them out and how to handle them, but I need to know what "they" are first.
This is a large, rather un-organized ASP.Net site and deploying the site is done via. svn updates, so files needed by IIS to dynamically compile (I think that's what it is) the site as files change needs to be left in the repo.
Something else, if someone accidentally checks in a folder or file that should be ignored, then you will need to manually remove the files from the repository before SVN will start ignoring them again. This is because files that are already in the repo will override any ignore settings.
The AnkhSVN 2.0 Subversion integration asks exactly this question to all the projects in your solution. (This question is one of the key parts of the SCC specification.) It will then only suggest adding these files.
In addition to the ones people have suggested above, I frequently have to ignore *.cache because for some reason I don't know Resharper likes to put it's .cache files in the same folders as the code I work on. Also, I don't think anyone has mentioned *.pdb yet.
I'm new to Visual Studio and using VS2017.Which Visual Studio project-files (like myproject.sln, etc.) should I check into Git to keep the configuration (include directories, linker options, etc.) when checking out on a different machine? Should I check in the full .vs/ directory? It's very big (2GB for some reason, although my repo is only 80MB) and I don't wan't a big repository, if avoidable.
In the past week I've had 2 Clip Studio files that suddenly won't let me open them. Each one is a comic .cmc file with multiple page files within it. I can still open each page file individually, but CAN'T open the Page Management File itself OR the most recent page I opened.
A STUDIO file is a design project created by Silhouette Studio, a program used to design items that can be cut with a Silhouette electronic cutting machine. It contains a design, which may include shapes, images, text, lines, colors, gradients, patterns, and effects. STUDIO files also store design page settings, cut settings, and registration marks.
Are you having problems opening a STUDIO file or are you simply curious about its contents? We're here to explain the properties of these files and provide you with software that can open or handle your STUDIO files.
While we do not yet describe the STUDIO file format and its common uses, we do know which programs are known to open these files, as we receive dozens of suggestions from users like yourself every day about specific file types and which programs they use to open them.
We are continually working on adding more file type descriptions to the site, so if you have information about STUDIO files that you think will help others, please use the Update Info link below to submit it to us - we'd love to hear from you!
Important: Different programs may use files with the STUDIO file extension for different purposes, so unless you are sure which format your STUDIO file is, you may need to try a few different programs.
These apps are known to open certain types of STUDIO files. Remember, different programs may use STUDIO files for different purposes, so you may need to try out a few of them to be able to open your specific file.
Not sure exactly what type of file you are trying to open? Try our new File Analyzer. It is a free tool that can identify more than 11,000 different kinds of files - most likely yours too! It will help you find software that can handle your specific type of file. Download File Analyzer here.
I work on a number of code projects, some open source and some not. Many of these projects are intended to be cross-platform, most often running on either Linux (my natural habitat) or Windows and generally relying on CMake to build. Recently, I noticed that a Windows developer on one of the projects checked in .sln files and .vcxproj and .vcxproj.filters files strewn about in nearly every directory.
Some of these files appear to contain things like paths that seem likely to be unique to that particular person's particular computer, which prompted the question about whether these should be added to the projects .gitignore file or more generally excluded from version control.
I've also consulted Microsoft's docs on using CMake in Visual Studio, which seems to indicate that for a CMake project, the .sln files, and others will either not be needed or will be regenerated if they are. For that reason, they seem to fail under criteron 1 above. On the other hand, it's common for autotools-based projects to include things in their repositories that autotools creates so that those who rebuild from source don't need autotools.
So to answer to your questions #1 & #2: including build files created by CMake into version control - regardless if they are Visual Studio project files or standard Unix makefiles - is not a good idea, they will never fit to everyones local checkout paths, hence they must be regenerated either.
If you want to allow others to rebuild the code without CMake, you need some VS project files with relative paths and no other specifics about the local dev environment. Given your build requirements are "simple enough", and you don't require "out-of-source builds" or other stuff which is incompatible with relative paths, I can imagine that it will be possible to create a small program or Powershell script which converts the absolute paths to relative ones. The script has to read the project files generated by CMake (which are human readable XML files) and replace all absolute paths and other environmental stuff by relative paths and less localized configurations.
The output of that script can then either be included in version control, or provided in other form for external contributors. The documentation, however, should make clear these project files should not be maintained manually, but regenerated whenever the CMake scripts are changed.
If my colleague and I need identical files, and me changing the file means it must be changed for my colleague, then it must be checked in. If the files cannot be the same for me and my colleague then they must not be checked in. Any files that will be generated automatically if they are missing should not be checked in.
Many types of files are associated with Visual Studio projects for classic desktop applications. The actual files included in your project depend on the project type and the options you select when using a wizard.
Projects usually produce either an EXE or a DLL. Projects can be dependent on each other; during the build process, the Visual Studio environment checks dependencies both within and between projects. Each project usually has core source code. Depending on the kind of project, it may have many other files containing various aspects of the project. The contents of these files are indicated by the file extension. The Visual Studio development environment uses the file extensions to determine how to handle the file contents during a build.
Project files are organized into folders in Solution Explorer. Visual Studio creates a folder for source files, header files, and resource files, but you can reorganize these folders or create new ones. You can use folders to organize explicitly logical clusters of files within the hierarchy of a project. For example, you could create folders to contain all your user interface source files. Or, folders for specifications, documentation, or test suites. All file folder names should be unique.
PDF files in a Project can be added to a Studio Session. This makes it possible to work on Project files using the real time collaboration advantages of a Session. An icon will appear next to the name of any Project file that has been added to a Session.
Only Sessions that are created using this feature can have Project files added to them. Therefore, unless you are adding more PDFs to a Session that has already been created for this purpose, the first step is to add a file to a new Session, as described below. Once the Session has been created, additional Project files can be added.
The user who sends the first Project file to the Session is automatically the Session Host and can send additional Project files to the Session as desired; any other user in the Project who wishes to send additional Project files to the Session not only needs to meet the Project permissions requirements described above, but also must be added to the Session and have the Add Documents permission in it.
aa06259810