Mark Barto's Blog

Technical Blog about the Microsoft .NET Platform and everything that surrounds it such as .Net, C#, BizTalk, WCF, ASP.NET, SQL, Silverlight, IIS ...

VS: Turn off repairing file when user delete/modify file

vdp-5063



Visual studio creates advertised shortcuts so that when you are starting the application it will check first of existence for each file and repair the file automatically if it is modified or deleted. But sometimes you don't want to have this behavior for each file so how to deal with that ?

 

Read More ...

Posted by mabarto on 11-08-2011 and Filed under: Visual Studio
5 comments

SharePoint, Visual Studio 2010: Localization within WebPart

logo-sharepoint-2010



We have created a WebPart within Visual Studio 2010 for SharePoint 2010. We want to use localization within this WebPart but the usage of getting a resource element works different.

Instead of using the Resources class you use the GetLocalizedString method within the SPUtility class.

 

 

Read More ...

Posted by mabarto on 21-04-2011 and Filed under: SharePoint, Visual Studio
8 comments

VSTS, Visual Studio: Do not automatically check out

vs2010logo_transparent_large


When using Visual Studio Team System as source control environment it is very annoying when your solution/project or file is automatically checked out without knowing.

In Visual Studio it will automatically checked out without any prompt by default.

 

Read More ...

Posted by mabarto on 04-04-2011 and Filed under: Visual Studio, VSTS
234 comments

Visual Studio: Formatting XML

56604606_af050abf0b 

When opening a XML file within Visual Studio you get the contents without any linefeeds. It's very annoying that the format is not automatically set by Visual Studio.

 

 

 

Read More ...

Posted by mark on 16-09-2010 and Filed under: Visual Studio
3 comments

WPF, VS, XAML: Disable Design-Mode in Visual Studio

visual-studio-2010-logo


It's very annoying when opening a XAML file the first time that it will start in design-mode for preview mode.

Visual Studio will render the XAML code but sometimes if you have a lot of controls in it it can take a long time too load.

But there is a option within Visual Studio to turn this feature off.

 

Read More ...

Posted by mark on 27-08-2010 and Filed under: Visual Studio, WPF, XAML
4 comments

Visual Studio: randomly keyboard layout change

tiny-keyboard


Sometimes when running in Visual Studio my keyboard layout randomly change.

This is very annoying when you are trying to use the = sign but it will translate it to °.

 

 

 

Read More ...

Posted by Mark on 02-06-2010 and Filed under: Visual Studio
4 comments

ASP.NET, .NET, Visual Studio: MSDN Event - Scott Guthrie - Part 1

swSpeaker7wp_


Yesterday I was attended at the talk from Scott Guthrie in Brussels. It was an interesting technical session about all the new features within .Net Framework 4.0, Silverlight 4, VS2010, ASP.NET MVC 2.0.

The final agenda for the event was as follow:

13:00 - 13:30: Welcome and registration
13:30 - 15:00: Visual Studio 2010, .NET 4 Web Development
15:00 - 15:20: Coffee Break
15:20 - 17:30: Silverlight and ASP.NET MVC 2 Beta
17:30 - 18:00: Q&A with Scott Guthrie

 

 

Read More ...

Posted by Mark on 05-12-2009 and Filed under: .NET, Visual Studio, ASP.NET
3 comments