Tag: Utilities

DeveloperWindows

How to install and customize the Windows Terminal

At Microsoft Build 2019 conference, Microsoft announced and showed off the new Windows Terminal application. It quickly was released as a preview and has been updated regularly over the last 12 months.

In this video, Gregor Suttie aka “Azure Greg” shows you how to install and customize the Windows Terminal. If you haven’t tried the Windows Terminal or are curious on how it can be customized then check out this video.

Enjoy!

References

https://github.com/microsoft/terminal

Development

Extended Strongly Typed Resource Generator for VS2013 and VS2015

Following up to a post I did in 2012 on ResXFileCodeGeneratorEx Update for VS2010, here are links to download this tool for Visual Studio 2015 and Visual Studio 2013:

Extension for Visual Studio 2015 can be found here:
https://visualstudiogallery.msdn.microsoft.com/f43d27fa-6bf7-4f3d-bf5e-3e716e63716b

Extension for Visual Studio 2013 can be found here:
https://visualstudiogallery.msdn.microsoft.com/16d24be3-6400-4a43-b946-766e41aca4bd

Enjoy!

Development

Using Code Compare – Integration with TortoiseSVN

One of the tools I use for development is Code Compare from Devart, which allows me to easily and efficiently compare source code, whether it’s a file or a folder comparison. This tool rocks and they have a free version to boot!

Ok so what is Code Compare?

Code Compare is a free tool designed to compare and merge differing files and folders. Code Compare integrates with all popular source control systems: TFS, SVN, Git, Mercurial, and Perforce. Code Compare is shipped both as a standalone file diff tool and a Visual Studio extension.

Code Compare introduces the concept of Code Orientation, ultimately making it stand out from competitive file diff software. The concept implies syntax highlighting, similar lines detection as well as unique structure and lexical comparison algorithms. The file compare tool takes into account language specifics, which allows comparing sources in several of the most popular programming languages as code!

image

Integration with TortoiseSVN

One of the great benefits about Code Compare is that it can be integrated with a number of version control systems. This means you’re not stuck using the comparison tool that comes with each version control system and you can have a consistent experience across all your comparisons.

I have Code Compare integrated with TortoiseSVN and TFS.

For a list of version control systems that Code Compare can integrate with, checkout the following page.

References

http://www.devart.com/codecompare/
http://www.devart.com/codecompare/integration/
http://www.devart.com/codecompare/integration/integration_tortoisesvn.html

Development

Clean Project–Cleans Visual Studio Solutions

How many times have you tried to upload or email your Visual Studio solution, only to find out that your zip file contains files and folders that you didn’t mean to include, like the bin, obj and other folders. What about source control bindings? Yes that too will get included.

Well I came across a great utility called Clean Project from Ron Jacobs that cleans your Visual Studio solutions so you can quickly upload or email.

This functionality is available inside Visual Studio and also from the Windows Shell.

Getting Started

You can install CleanProject from Tools –> Extensions Manager in Visual Studio. Then search for CleanProject. In the References section below I listed links to other locations you can download the project from.

sshot-278

Emailing A Solution

If you want to email your solution:

  1. Select Tools –> Clean, Remove Source Bindings and Zip Solution
  2. Attach the zip file to your email and send

CleanProjVS

Windows Shell Folder Command

You can also run CleanProject from the Windows Shell. Just right click the folder you want to clean and select Clean, Remove Source Binding and Zip Solution from the context menu.

sshot-279

Resources

 

Thanks Ron Jacobs for your hard work on this utility. I look forward to further enhancements and/or other tools in the future.

Development

ResXFileCodeGeneratorEx Update for VS2010

If you were using this tool in Visual Studio 2008 and then upgraded your solution to Visual Studio 2010, you might have noticed that this functionality no longer worked. You also might have received an error, which you dismissed.

ResXFileCodeGeneratorEx is an awesome tool and I’m surprised it still hasn’t been officially updated to support Visual Studio 2010.

Well after doing some digging around, I found an article with a work around that enables this functionality in Visual Studio 2010. Here are the instructions to get it working on your machine, followed by an example:

  1. Shut down Visual Studio 2010.
  2. If you don’t already have the tool ResXFileCodeGeneratorEx downloaded and installed, please do so. You can get the latest installer from http://dmytro.kryvko.googlepages.com/
  3. Save the attached file in this email and remove the .temp extension.
  4. Double click the attached file that you renamed and have it add its contents to your Registry.
  5. Restart Visual Studio 2010.

Here is a working example of how to use the tool. Say you want to add a new entry to the PageText.resx resource file contained in your solution and the entry was “Abandoned”:

  1. Open up PageText.resx by double clicking the file.
  2. Add “Abandoned” in the name and “Abandoned” in the value.
    clip_image002
  3. Click Save.
  4. Next right click on PageText.rex and click on Run Custom Tool as shown below…
    clip_image002[8]
  5. Now you can reference this value from your code by typing in PageText.
    clip_image002[10]

Hope that helps.