Tags » Visual Studio 2010

Find an installed tf.exe, then run it with the command-line parameters specified.

Often I want to execute a TF.exe from the console, but don’t have the Visual Studio environment variables setup. Most of the times I want to run TF.exe from the most current Visual Studio installation, hence this TF.bat file figures out the location of it, then runs with the parameters passed to TF.bat: 259 more words


Programmatically complete a workflow task

To complete a workflow task programmatically, use the following code (say taskItem is the task you want to complete):

taskItem.Web.AllowUnsafeUpdates = true;
Hashtable data = new Hashtable(); 39 more words

SharePoint 2010

Hardware and Software Requirements For visual studio 2010 Vinstallation

  • Windows 7, Windows Vista, Windows XP, Windows Server 2003, or Windows Server 2008
  • Visual Studio 2010 (Professional, Premium, or Ultimate) or Visual Basic 2010 Express…
  • 32 more words
Visual Basic 2010 Express

Top Apps for Apple Store

So here I come out of the dark ages of PC and Laptops and notebooks and here comes my first blog from a 4.7 inch smartphone . 491 more words

Visual Studio 2010

IlMerge is on NuGet.

IlMerge is a great way to merge multiple .NET assemblies into one, and I use it most often to combine assemblies with console applications so I end up with one executable.. 89 more words


Getting size of a file in c++ in Visual Studio 2010

This does not work with Visual Studio 2010 compiler for files bigger than 2 147 483 647 byte:

std::ifstream ifs(filePath.c_str(), std::ifstream::in | std::ifstream::binary);
ifs.seekg(0, std::ios_base::end);
std::cout << "ifstream file size: " << ifs.tellg() << std::endl;
… 9 more words
Visual Studio 2010

Custom Content Type using Visual Studio

1. Create Empty SharePoint Project

2. choose site and Sandbox solution

3. From Solution Explorer, Right click add new item and choose ContentType Template and give name… 149 more words

Visual Studio 2010