Archive

Posts Tagged ‘Visual Studio 2008’

Visual Studio: Automatically increment assembly build version with custom settings (add-in)

I always wanted to have automatic build version increment for my apps and libraries to avoid setting it manually again and again. Additionally there should be support inside Visual Studio and  possibility for custom settings because I like the “date signing” where 3 last fields are just YYYY-MM-DD.

A dream come true ;) in form of Build Version Increment add-in for Visual Studio 2005/2008. This great add-in is very simple in use but do exactly what everyone developer needs. Add-in webpage: http://autobuildversion.codeplex.com/

My screenshots should say everything. Enjoy!

build_version_incremental_1

build_version_incremental_1a
Read more…

Visual Studio: DevExpress menu not visible after CodeRush Xpress installation

DevExpress company has a lot of free goodies for .NET developers. Unfortunately Microsoft has asked them to hide DevExpress entry from main menu (only in case of DevExpress freeware tools, for example CodeRush Xpress or DXCore). That’s very annoying behaviour because most of the DXCore community plugins can be accessed from DevExpress menu.

To show DevExpress entry in Visual Studio menu you have to edit or create special registry entry.

If you installed CodeRush Xpress “only for you” then apply this to HKCU hive.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Developer Express\CodeRush for VS\9.2]
"HideMenu"=dword:00000000

if for “everyone” then HKLM hive:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Developer Express\CodeRush for VS\9.2]
"HideMenu"=dword:00000000

In both cases you have to edit CodeRush Xpress version number to particular one installed on your computer. I had version 9.2

Ready to import registry files are below (but remember to change version number).

Fix - show DevExpress menu in Visual Studio (92)

Visual Studio: Dude, where is missing UserTasks list?!

Recently I reinstalled my comp and VS. When I loaded my project I notest that my all UserTasks from Visual Studio Task List disappeared!

It’s good to know they are all stored in .suo file which is a part of  Solution. So if you use Visual Studio Task List then remember to backup this .suo file also.

Visual Studio: Microsoft Code Analysis Tool .NET (CAT.NET)

CAT.NET is a snap-in to the Visual Studio IDE that helps you identify security flaws within a managed code (C#, Visual Basic .NET, J#) application you are developing. It does so by scanning the binary and/or assembly of the application, and tracing the data flow among its statements, methods, and assemblies. This includes indirect data types such as property assignments and instance tainting operations. The engine works by reading the target assembly and all reference assemblies used in the application — module-by-module — and then analyzing all of the methods contained within each. It finally displays the issues its finds in a list that you can use to jump directly to the places in your application’s source code where those issues were found. The following rules are currently support by this version of the tool. – Cross Site Scripting – SQL Injection – Process Command Injection – File Canonicalization – Exception Information – LDAP Injection – XPATH Injection – Redirection to User Controlled Site

http://www.microsoft.com/downloads/details.aspx?FamilyId=0178e2ef-9da8-445e-9348-c93f24cc9f9d&displaylang=en

Handy Visual Studio 2005/2008 tips & tricks

1) http://www.codeproject.com/kb/aspnet/visualstudiotipstricks.aspx

2) To disable splashscreen, add /nosplash parameter in your Visual Studio shortcut.

3) http://scottcate.com/Tricks/