Powershell inside Visual Studio

The NuGet Package Manager has a NuGet Package Manager Console which is a PowerShell host. Open the console by clicking Tools > Library Package Manager > Package Manager Console. The package manager is automatically installed in Visual Studio 2010 when you install ASP.NET MVC 3. You can install ASP.NET MVC 3 using the Microsoft Web … Read more

Visual Studio log file

From the documentation of the /Log command line switch: If LogFile is not specified, two files will be written to the current user’s non-localized application data folder. The non-localized application data folder for Visual Studio can be found from the APPDATA environment variable. For example, for Visual Studio 2008, the folder is %APPDATA%\Microsoft\VisualStudio\9.0, where %APPDATA% … Read more

Refreshing a stored procedure in entity framework 3.5

I’ve seen two problems with updating a Stored Procedure after adding it to the entity framework: The Function Import created to call the SPROC wasn’t updated (incorrect, out-of-date parameters) The Complex Type created for the SPROC’s result set wasn’t updated (incorrect, out-of-date fields) Updating EDMX model (function import) Open the .edmx file (in the GUI … Read more

Visual Studio IDE – return to previous

Ctrl+- should do the trick which is the standard keyboard shortcut for Navigate Backwards. Or using the navigation buttons in the standard toolbar. This is explained on MSDN at https://blogs.msdn.microsoft.com/zainnab/2010/03/01/navigate-backward-and-navigate-forward/ On this MSDN page, you can see the following explanations The editor remembers locations when you move in a single command more than several lines … Read more

Renaming the containing project folder in VS.net under TFS

Check in all pending changes within the folder and ensure that all other team members to do the same. Ensure that you have a copy of the folder in your working directory (otherwise, you will not have the option to rename the folder in the Source Control Explorer in the next step). Get latest version … Read more