Launch of .bat files out of Visual Studio 2010

Or how to hang a voluntary action to the context to any item in the Project Explorer.

As already mentioned in the title, this step will be to rotate. Bat files since they are widely used in our daily activities, and constantly open Explorer or FAR is not very convenient. Much better to have effect until the pile and hang it on the key combination to achieve complete nirvana

So, given: a project that uses a batch file

Required: run a batch file from the context menu in the Project Explorer.

Continue reading

Visual Studio. Project Templates

Recently, I’ve started not just a bit but a lot experimenting with the code approaches, writing some test scripts and applications. The result, of course, always different, but not this will be discussed today. Gradually you begin to tire of setting standard projects. For the library project we need to delete class, created there by default, because it will be too lazy to rename. I am pleased to still redirect all output of compilations to the same folder at the root of the project from all libraries, not dawdle in the folders ..\bin\Debug \ for each component of the project, to remove *.dll. For Test projects deleting useless junk is especially actual! It would be nice to also set the attributes for the assembly and the information on it for everything.

I want if you need to create something new you will chose the project – and everything is already set! And the total output folder, and the appropriate values ​​in AssemblyInfo are prescribed, and nothing too much lying around in the project. I thought  and remembered that there is an option in the studio «Get online Templates», and if it is online it should be also offline – for my own templates. Said and done

As a result, I am very happy that I spent an hour to set up all necessary projects and now I do not digress into the process, but I am glad everything turned out fine and that we should not waste time on dumb work.

To learn how to do it in Visual Studio 2008, 2010 will be discussed further. Also it wil be discussed how to delete, and import ready-made project templates in the studio.

Visual Studio 2008

Beginning more than a banal and known to the pain everyone – open studio and create the desired design.

 

Continue reading