Banner Ad

Showing posts with label Visual Studio 2010. Show all posts
Showing posts with label Visual Studio 2010. Show all posts

Tuesday, March 11, 2014

Visual Studio Tips & Tricks - 8: Breakpoint will not currently be hit. No symbols have been loaded for this project.

By Francis   Posted at   5:50 PM   Visual Studio Tips and Tricks 2 comments

Most of the developers who are using Visual studio have encountered the above problem. As a ASP.Net Developer I have this atleast once a day. So the below are my tricks to get ride of this issue.

 

1) Just Close the VS IDE.

2) Go to Task Manager and kill the worker process. (If you are working on  ASP.Net application).

3) Go to the .Net installation folder ( Normally it should be C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files OR C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files) and clear the temp files from the temporary folder.

4) Open the solution and "Rebuild" entire solution. Now try to attach the debugger.

 

Please note that, in some machines you may have 2 framework installation, one for 32-bit and another for 64-bit. So when you go with step 3, pay close attention and make sure which .net framework was used and also which version no (either 2,3,3.5 or 4) was used by your application.

 

Hope this helps!

Wednesday, March 5, 2014

VisualStudio Tips & Tricks - 7 : Using Transact-SQL Editor in Visual Studio 2010

By Francis   Posted at   10:13 AM   Visual Studio Tips and Tricks No comments
                           Few months ago, when we upgrade from VSS to TFS, somehow we lost intellisense in SQLServer Management studio 2008 R2. We struggle a lot to obtain. But no luck till now. However, currently we are using Visual Studio 2010, which enriched with lot of futures.
            Instead of using SQL Server Management, what I did was open the SQL file using Visual Studio 2010. In Visual Studio, Right click on the Menu bar, from the floating menu “check” the “Transact-SQL Editor”.

image
Now we got the toolbar available in SQL to do some basic operations like connect the SQL Server, Execute the Transact SQL etc., The main benefit in this approach is the intellisense works fine with in the “Transact-SQL Editor”. So my problem solved temporary.
One of the main attraction in this feature is, we can do all basic operations with in this editor. However, I’m not at all a DBA, just a developer who used SQL server as a backend. This is more convenient way work as of now.

Hope this may help to some one!!

Tuesday, March 4, 2014

Visual Studio Tips & Tricks – 6 : Multi-Copy functionality in Visual Studio

By Francis   Posted at   12:26 PM   Visual Studio Tips and Tricks No comments

                                    Some time we may need to copy the multiple code snippets (that is we may need to copy and paste lines that are not in order) in a file and paste it in another location of the file inside Visual Studio. For example, we have 5 lines of text, what we need is to copy the 1,3 and 5 line of text and paste it on some other location. To achieve that functionality to do the following:

 

1) Copy the code snippets using Ctrl+C key combination. (That is select the line 1 and press Ctrl + C and select line 3 press Ctrl + C and so on).

2) When you paste that code press the key combination Ctrl + V + Shift key, which rotates the copied lines of text. To paste a particular selected text just press Ctrl + V.

 

Hope this helps to some one!

Monday, October 14, 2013

Visual Studio Tips & Tricks: 5 - Hexa Decimal values displayed during Debug the application

By Francis   Posted at   9:27 AM   Visual Studio Tips and Tricks No comments
                  Recently, I had a wired problem in Visual studio. In this post i’m going to discuss about it. The problem is, when I try to debug my application in Visual Studio 2010, the values are displayed in Hexadecimal format. Please take a look into the below picture.
Hexa Decimal values displayed during Debug the application
Values of Variable Displayed in Hexa Decimal Format
The reason is somehow the “Hexadecimal Display” option has been checked in the “Watch” window.
“Hexadecimal Display” option in Watch Window
“Hexadecimal Display” option in Watch Window

So that all the values are displayed in Hexadecimal form in watch window too.
So just disable the “Hexadecimal Display” in the watch window’s float menu. The display will correctly display in the decimal form.
Values of Variable Displayed in Decimal Format
Values of Variable Displayed in Decimal Format


Hope this helps someone!

Monday, August 26, 2013

Visual Studio Tips &Tricks: 4 – Solution File Not Found

By Francis   Posted at   11:19 AM   Visual Studio Tips and Tricks No comments
                  Last night I have tried to add a Blank Solution and then to add a website under that solution. First I have added that blank solution. Solution added successfully. When I added the Website under that solution, then the Solution has been hidden only website alone displayed in Solution Explorer.

Website With out Solution

To Bring the Solution file, go to the Tools -> Option Menu.

Select “Projects and Solutions” and check the check box with the text “Always show solution”. 
Option Window in Visual Studio
That’s all now the solution file displayed in the top of web site like below.
Website with Solution

Hope this helps a bit!

Thursday, August 22, 2013

Visual Studio Tips &Tricks : 3 – Ctrl+, - File Search Easy

By Francis   Posted at   11:28 AM   Visual Studio Tips and Tricks No comments
                 Whenever the project grows large it’s hard to take the necessary file in Visual studio. That is we need to traverse a lot of folders or sub folders if we know the file where it was exactly. 

                  Sometimes, when you deployed in a new project, if another user just mention a file name and ask you take a look about particular logic its really painful to find that file where it was located exactly.

                   At these times the hot key combination Ctrl + , (Control Key with Semicolon) comes a handy. Which opens “Navigate To” window in which if we started type it will list down the file name in a quicker manner. So that we can pick up the file easily.
Navigate To - Window 

                   It not only listed the File names, it also list down the method name too. So whether you search a method or File use the 
shortcut key Ctrl+, and navigate quicker.

Please give your valuable comments which improves my future articles!

Hope this helps a bit!

Monday, December 19, 2011

Visual Studio – An Overview

By Francis   Posted at   8:48 AM   Visual Studio 2010 No comments
What is Visual Studio?
Visual studio is an IDE (Integrated Development Environment) provided by Microsoft which is the One of the prominent Microsoft product. So what is integrated development environment? The answer is so simple.
You can develop A to Z of applications in a single development environment. That is, with visual studio you can develop from a console application to well equipped web application in a single environment. So that it is called as IDE.
The bottom line of this product is, it provided a multi language support also. You can develop the application with Visual Basic, C#, J#, VC++ etc. So this is the small introduction about visual studio.





In future articles, I will provide much examples on the visual studio concepts like short cut keys, shortcut functionalities etc.
Connect with Us