only My site
Showing posts with label Visual Studio 2008. Show all posts
Showing posts with label Visual Studio 2008. Show all posts

Wednesday, January 9, 2013

Visual Source Safe : Could not find the visual SourceSafe internet web service connection information. SourceSafe web service cannot be accessed.

Today one of my team member tried to open a solution from VS2010 and which is hosted in VSS server. During the time he opens the solution the VSS Server was switched off (offline) and he was promted with multiple options (of course, the system couldn't connect to the shared folder database) and he choode "work offline" mode and opened the solution.

Lates the VSS server was Switched on (online) and he tried to open the .net project solution .sln , and this time he got the following error.

"Could not find the visual SourceSafe internet web service connection information. SourceSafe web service cannot be accessed."

Solution :

Go to the Visual Studio -> Tools -> options -> Choose Source Control and Plug-in Selection.
Switch Back to Microsoft Visual SourceSafe instead of Microsoft Visual SourceSafe(Interenet);

For VS2010 Premium and Ultimate
Go to the Visual Studio -> Debug -> Options and Settings -> Choose Source Control and Plug-in Selection.  Switch Back to Microsoft Visual SourceSafe instead of Microsoft Visual SourceSafe(Interenet);

Note : The scenario above I mentioned is based on my friend's Information.

Tuesday, January 8, 2013

VSS 2005 and VS2010 Integration

Issue :

I was looking to configure the VSS 2005 in Tools -> Options -> Source Control and it was not there in VSS 2010 Ultimate edition.

Resolution :

Note that in Premium and Ultimate version the path to change to VSS is through DEBUG -> OPTIONS AND SETTINGS -> SOURCE CONTROL

To configure VSS2005 with VS2010 we can change the settings in Tools-> Options-> Source Control-> Select the Vss Source Safe option. Note that in Premium and Ultimate version the path to change to VSS is through  DEBUG -> OPTIONS AND SETTINGS -> SOURCE CONTROL

Monday, July 28, 2008

Build Events

The screen shot illustrates the post build event( copy dll assembly to d:\ass..path)...You can play around with the events in VS 2005,2008.

Monday, July 7, 2008

VS 2008 Shortcuts & Code snippets

Build
======

Ctrl + Shift + B - Build Solution
Ctrl + Attach to Process

Debugging
===========
F9 - Break point / Toggle Breakpoint
Ctrl + Shift + F9 - Clear All Breakpoints
Ctrl + B + T - Book mark
Ctrl + B + E - Enable Bookmark
Ctrl + B + C - Clear all Bookmarks
Ctrl + B + P - Previous Bookmark
Ctrl + B + N - Next Bookmark

F2 / Crtl + R + R - Rename function with preview

Edit
=====
Cycle Clip Board ring
Ctrl + Shift + V

Ctrl + F - Quick find (Current Document)
Ctrl + Shift + F - Find in files (Entire solution)
Ctrl + Shift + H - Find & Replace
Alt + F12 - Find Symbol
F8 and SHIFT + F8 - Forward and backwards in your search results

Ctrl+E,D - Format Document
Ctrl+E,F - Format Selection or Current cursor line
Ctrl+Shift+U - Make Uppercase
Ctrl+U - Make Lowercase

Comment Selection (Ctrl+E,C)
28. Uncomment Selection (Ctrl+E,U)
Delete Horizontal White Space (Ctrl+E, \)
24. View White Space (Ctrl+E,S)
25. Word Wrap (Ctrl+E,W)
26. Incremental Search (Ctrl+I)


Crtl + Up Arror - Scroll line Down
Crtl + Down Arror - Scroll line Up

Code Snippets
=============

Ctrl + K, Ctrl + X

Create XML file and sinppet to add snippet using Ctrl + k , ctrl _ x.

Add your code in CDATA Tag and save the XML files as "FileName.snippet" Format.

Use Snippet Manager (Ctrl + k, Ctrl + B) to Import the snippet.

Create own Code snippets inside VS
http://msdn.microsoft.com/en-us/library/bb245788.aspx

Saturday, June 21, 2008

Visual Studio 2008 - Tips & Issues

Visual studio : 1
When paste a code in aspx file, the designer will not get updated until there is no error in the aspx .Eg: the pasted code have the same Id as of the current page then it will not update this control id and rest of the ids in the pasted code.
Visual studio : 2
"Clean Solution" - The Solution Explorer in Visual Studio 2005 now makes it easy for you to clean up unwanted files. Simply choose Clean Solution from the Build Menu and all the intermediate files and output directories in your whole solution will be removed. This is a quicker and easier way to perform the same cleanup as you could in the command line environment with the following syntax:
devenv /clean SolnConfigName SolutionName
http://msdn.microsoft.com/en-us/vs2005/aa718635.aspx