Open documents in full XAML view
May 17th, 2011 / Author: AftershockTo always open documents in full XAML view:
Tools>Options then Text Editor>XAML>Miscellaneous and select “Always open documents in full XAML view”
Open documents in full XAML viewMay 17th, 2011 / Author: AftershockTo always open documents in full XAML view: Tools>Options then Text Editor>XAML>Miscellaneous and select “Always open documents in full XAML view” Turn off Automatic code collapse in VS 2010 for C#April 13th, 2011 / Author: AftershockOutlining is the feature that collapses code into programmer defined regions, to turn it off go to: Tools/Options/Text Editor/C#/Advanced Clear the checkbox “Enter outlining mode when files open” Reset VS 2010 SettingsApril 13th, 2011 / Author: AftershockTo reset the Visual Studio 2010 setting use the Visual Studio Command Prompt to run the following commands:
devenv /resetuserdata devenv /resetsettings Choose Items… in Visual Studio 2008 causes crashAugust 30th, 2010 / Author: AftershockWhen I try to add items to the toolbox using the Choose Items option VS crashes.
To fix the problem I had to run the following commands from the Command Prompt:
How to create space on a full diskMay 17th, 2010 / Author: AftershockThe WER ReportQueue can be taking a ton of space that can be freed up. In Windows 2008 Server browse to c:\programdata\microsoft\windows\wer\reportqueue Delete this directory, freed up over 8 GIG on my box.
Next to turn this reproting off do the following:
Convert string to DateTimeJanuary 4th, 2010 / Author: AftershockThe line below will convert the string into a DateTime in C#:
DateTime startDate = DateTime.Parse( “01/01/2009″);
Virtual PC ShortcutsNovember 11th, 2009 / Author: AftershockAll of these keys use the right Alt key:
Register and Unregister a Windows service in XPSeptember 10th, 2009 / Author: AftershockTo unregister a service in XP use the following in a Visual Studio command prompt: sc delete “ServiceName” or InstallUtil /u “ServiceName“ works better. To Register a Windows service in XP: C:\Windows\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe /i “Path to exe.exe“ The process account used to run ASP.NET must have read access to the IIS metabaseJuly 24th, 2009 / Author: AftershockUsually occurs after IIS is installed after the .NET Framework. At a command prompt navigate to ~\Windows.Microsoft.NET\Framework\v2.0.50727 and run the following command: aspnet_regiis -i Re-enable Hibernate in VistaJuly 16th, 2009 / Author: Aftershockpowercfg /hibernate on * After running Disk Cleanup the Hibernate feature will be missing run the command above to re-enable it. |