Can you please let me know what is wrong with my solution, because am unable to uncheck the "Add All Assets" checkbox on the Add Subcomponent.
Each entity in a solution has two modes. The "All Assets" mode and the "Sub-component" mode. You can pick one mode on adding it to the solution, i.e. you cannot change it later.
However, you can just remove and re-add the entity to the solution so you can pick the mode.
Related
I am using VS2010 SP1 and TFS Version 10.0.40219.417
Now what happens is that I attempt to type in a non-checked out file, and well, nothing happens. VS does not check out the file. I have to manually check out the file for check in.
It's happening with me only. On my colleague system it's working fine. I have cross checked all the settings he has done in his VS2010. Please suggest what should I do ?
You probably covered this in "I have cross checked all the settings", but I'm going to ask anyway.
From How to: Disable Automatic Checkouts
In Visual Studio, on the Tools menu, click Options.
In the Options dialog box, click Source Control, and then click
Environment.
In the On Edit box, select a different option than Check out
automatically. The other available options are as follows:
Prompt for check out
Prompt for exclusive checkouts
Do nothing
Click OK.
Do you have "Do nothing" checked?
EDIT:
If the above setting is correct the next thing I would double check is if the solution is "Online". I have lost the connection without realizing it several times, it is worth an extra check.
To check:
Right-click on the solution name at the top of the Solution
Explorer and check if you have the "Go Online" option
I was trying to update my service reference and I think there was a dialog that appeared warning about write/overwriting a read-only file. I check the "Don't show this dialog again" and now I want it to reappear. Where is the setting for this?
BTW: Everytime I right click and choose Update Service Reference, it does its think and a DING sound occurs but no updates took place. I would like to see the dialog again.
Try Tools > Import/Export Settings > Reset All Settings
I recently switched from a Java based project to a C#/.net project. I previously used IntelliJ which had the concept of change lists where you could group your pending changes together and check each group in individually.
I have two problems with the pending changes window in visual studio.
1) Every time I check anything in, visual studio checks the checkbox beside Every pending change in the list forcing me to uncheck each and every one of them so I don't accidentally check something in. This is extremely frustrating because there are several files that I need to keep changed to correctly run my code locally. Is there any way to change this default behavior to not check any pending changes on check-in?
2) Is there any way to group changes into lists as opposed one big bucket of changes? Again this becomes frustrating when I need to check something in, but I have to search through the files and check the pertinent changes. I understand that shelve sets exist using TFS, but that doesn't cut it for me, especially since I have several changed files that I need to keep altered in order to correctly deploy locally, and I rarely ever want to check in.
Thanks in advance!
I have to manage lots of changes every day in Visual Studio, and I've got a few tips for you, but no silver bullet:
Use Ctrl+A to select all items and then press a checkbox to toggle the checkboxes for all items. This can be useful when performing changes to only a few items -- just uncheck everything, then make sure you have only the items checked that you'd like to update.
Use Ctrl+Click (then right-click) to 'Undo' selected changes. By default, the undo action will only apply to the selected items.
You might want to experiment with using multiple Workspaces -- and then filtering changes by workspace or by solution.
No, I don't know of a way to fix your problems. It sounds like the best answer would be to refactor your configuration settings or code so that you can check in all of your changes.
If your changes are in different projects you can partition what you check in using the Source Control Explorer by right clicking on the project folder and checking in that way. It will auto check only the files in the folder you right click on. Just keep in mind the Source Control Explorer gives you some other options. Otherwise, I do not know of a way to manually control your change sets file-by-file thought if this exists I would like to know about it too.
You can also use Ctrl+A to select all items and then press Spacebar to toggle the checkedboxes as checked/unchecked.
For some reason I've lost the dropdownbox above the text editor. The one that lists all methods, variables and properties in a class. And it makes me go crazy when I browse larger classes.
Maybe it is easier to enable "Navigation bar" option under "Tools->Options->Text Editor->[The language that you using]->General]
Have you tried resetting the interface?
from the command line run devenv.exe /resetsettings
2.. From Visual Studio
On the Tools menu, click Import and Export Settings.
On the Welcome to the Import and Export Settings Wizard page, click Reset all settings and then click Next.
If you want to save your current settings combination, click Yes, save my current settings, specify a file name, and then click Next.
—or—
If you want to delete your current settings combination, choose No, just reset settings, overwriting my current settings, and then click Next. This option does not delete default settings, which will still be available the next time you use the wizard.
In Which collection of settings do you want to reset to, select a settings collection from the list.
Click Finish.
The Reset Complete page alerts you to any problems encountered during the reset.
I have a solution with about 20 projects (that use Devexpress controls) in and when I do a normal solution build (ctrl-shift-B) it says everything is completed sucessfully when in actualy fact it has done nothing. To get it to build i have to right click on the solution and use the batch build option.
I've tried deleting the solution and regetting from TFS and i've even gone as far as reinstalling VS!
Anyone got any clues as to what is going wrong?
Sorry should have added that also tried to build from the main menus aswell.
I've had similar issues. It's a long shot, but right-click your solution and go to Properties -> Configuration Properties. Check to make sure all of your projects have the "Build" option checked.
Perhaps Ctrl+Shift+B has been assigned to one of the "check-to-see-if-it-is-needed-before-building" type of functions?
Check in the keyboard setting:
Right-click the toolbar
Select Customize in the popup menu
Click the Keyboard button in the lower right corner of the dialog
In the new dialog, in the "Press shortcut keys", a bit to the right and below the center, hit Ctrl+Shift+B
Verify that it is bound to Build.BuildSolution
at least that is what it is bound to for me. I notice there is an action named Build.RebuildSolution as well, you should experiment.