Category: Visual Studio
-
VS 2010 Extensions
Visual studion extensions that I use: NuGet Package Manager Microsoft – Visual Studio Platform Team (Microsoft Corporation) Productivity Power Tools Team Foundation Server Power Tools December 2011 Web Standards Update for Microsoft Visual Studio 2010 SP1 PowerCommands for Visual Studio 2010 Web Essentials SQL Server Compact Toolbox EF 4.x POCO Entity Generator for C# EF…
-
Attach macro
A visual studio macro to attach to a program to your choice:
-
Visual Studio Macro – copy from old code
I have a class ( not under my control) and I want to make a shallow copy of his properties. I was tired to wrote this And I have not want to use reflection or expression trees ( http://hydrating.codeplex.com/) So I have made a fast Visual Studio Macro So the work was only to 1.…
-
Debug Visual Studio 2010 on Windows x64 global.asax
I have Windows 7 on x64. I have installed Visual Studio on top. Besides it is a 32 edition ( as the FF ),he does not know Edit and Continue (see http://blogs.msdn.com/b/rmbyers/archive/2009/06/8/anycpu-exes-are-usually-more-trouble-then-they-re-worth.aspx ) However,I did not expect that he does not know how to debug in Application_Start . Read and found this hack : http://blogs.msdn.com/b/webdevtools/archive/2007/12/13/workaround-debugging-global-aspx-cs-application-start-with-asp-net-web-server-within-visual-studio.aspx…
-
Generating history trigger with EF,edmx and TT files
I have wrote in an older post ( http://msprogrammer.serviciipeweb.ro/2010/06/28/ef-automatic-history-of-table-and-t4-files-tt-files/ ) how to generate history code for tables . The easy solution was to create a tt file that track for the ObjectContext the SaveChanges for each table that has a “history” in name. the limitation is that,when you raise an sql command such as “update…
-
TT files – generate enum from database
Many times you will program against a table that contains something like an enum,like Status( open=1,close=2,sent=3,approved=4 ) . It is peculiar to wrote those status as text in the other tables – and you do not like also to have update their codes in the C# (VB.NET) code source each time you will add another…