project-files

Why does Visual Studio check out the .vspscc file when I add a file to a project?

让人想犯罪 __ 提交于 2020-05-24 21:04:50
问题 If I add a new file to a project under TFS source control, it will check out the project file and the corresponding .vspscc file for that project file. The project file itself changes (to include the new file), but the .vspscc file doesn't change at all. Why bother checking it out? Is there a way to disable it from being checked out and if there is, should I? 回答1: It gets checked out because under certain conditions it will be modified..and thus they checked it out as a matter of default. I

Why does Visual Studio check out the .vspscc file when I add a file to a project?

杀马特。学长 韩版系。学妹 提交于 2020-05-24 21:00:30
问题 If I add a new file to a project under TFS source control, it will check out the project file and the corresponding .vspscc file for that project file. The project file itself changes (to include the new file), but the .vspscc file doesn't change at all. Why bother checking it out? Is there a way to disable it from being checked out and if there is, should I? 回答1: It gets checked out because under certain conditions it will be modified..and thus they checked it out as a matter of default. I

Visual studio to override file on selected build configuration

泄露秘密 提交于 2020-04-30 07:17:29
问题 at the moment my project has a license file. No extension attached to the file. The file itself only contains a key. I have 3 build configuration Dev Stage Prod At the moment I have 4 license file. GLicense GLicense_dev GLicense_stage GLicense_prod I tried to use #c preprocessor directive but the third party dll requires me to have the license name exactly as GLicense . The next approach I was thinking of taking was overriding the content of GLicense when building. I was wondering how abouts

Edit non-project files in IntelliJ

风流意气都作罢 提交于 2020-01-25 00:42:16
问题 I've been trying to edit a non-project file using IntelliJ Community Edition 2016.3, and I cannot get around the write only protection. I do not get a pop-up asking whether I would actually like to edit the non-proj file, as seen in this post: Intelij 15 edit non project files by default And I've also installed the Non Project Files Unlocker plugin, unfortunately it did not seem to have an impact (yes I restarted the IDE). If anyone has had the same experience or if someone has a workaround

Set a default build configuration for project

蹲街弑〆低调 提交于 2019-12-23 16:31:28
问题 I have several possible configurations in a Visual Studio project file. How can I specify which one is selected by default (when no .suo is present)? Right now, when I open the project in Visual Studio, Debug configuration is selected by default. Relevant part of the project file: <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProductVersion>...</ProductVersion> <SchemaVersion>...<

How can I solve the “The OutputPath property is not set for this project” err?

送分小仙女□ 提交于 2019-12-23 05:27:04
问题 In my Windows CE app, I have been trying to change all project references from "Any CPU" (or "AnyCPU") to "x86" To do so, I've hand-edited the .csproj file (Project > Properties... only has "Any CPU" available as an option, no "x86" (or anything else). Now that I've dont that, though, I get, " The OutputPath property is not set for this project. Please check to make sure that you have specified a valid Configuration/Platform combination. Configuration='Debug' Platform='AnyCPU' " Where the

Using conditionals in project's main unit - IDE destroys code

☆樱花仙子☆ 提交于 2019-12-22 10:39:35
问题 I'm building a windows service application which has a configuration to compile it as a basic windows application. The main project file for the exe includes conditionals which determine whether the project is being compiled as a service application or as a windows forms application. The problem is, when I do something which makes the project code change, the code gets destroyed and broken. For example, a line which says Application.Initialize; becomes AppliApplication.Initialize; and the

Good structuring of JavaScript in a project?

时间秒杀一切 提交于 2019-12-22 06:40:57
问题 So, I'm fairly done with the JS in my website now. It involves jQuery (and as such a .ready init) The page has two parts, the upper is mainly Google Maps and the lower is input forms. All of this is currently in one .js, functions, inits, iterations, all of it. It's well structure and all that, everything is properly done. My question is however: What is a good structure? Should I be putting the upper half in one file and the lower in another? Or should I put all the needed initializations

Parsing Visual Studio Project File as XML

左心房为你撑大大i 提交于 2019-12-12 18:16:38
问题 Using a dynamic xml parser, I'm trying to load a VS Project file as an XElement. Here is a slimmed down version of the project file: <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup> </ItemGroup> <ItemGroup> </ItemGroup> </Project> The file appears to load in the sense that when I ToString(), I get the contents. However, when trying to pick out elements, nothing is ever found:

Visual Studio 2008 project file does not load because of an unexpected encoding change

末鹿安然 提交于 2019-12-10 03:45:42
问题 In our team we have a database project in visual Studio 2008 which is under source control by Team Foundation Server. Every two weeks or so, after one co-worker checks in, the project file won't load on the other developers machines. The error message is: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1. When I look at the project file in Notepad++, the file looks like this: ��<NUL?NULxNULmNULlNUL NULvNULeNULrNULsNULiNULoNULnNUL ... and so on (you