Eclipse based IDEs such as Flash Builders have problem with generated source code with TFS 2010 (Visual Studio Team Foundation 2010 Everywhere), and here is the workaround to solve this problem.

Problem Definition

Eclipse monitors file system changes and automatically adds all generated files in the Team Foundation Server. Now TFS Everywhere for Eclipse does not support ignoring a folder. Eclipse keeps on adding code of your Web Service generated code in TFS and finally TFS shows lot of files in pending check ins. However if you check-in them, then next time, your code generation tools will not work correctly because files will have to be checked out. And even if you do, code generation will delete some files, and TFS will give error that it can not file and will not let you check-in new items.

  1. TFS will not let source code generator generate new files, as they are not checked out.
  2. After checking out, Deleted files will give errors while checking new files.

Web Library Projects as Solution

We ran with exact same problem with Eclipse to manage flex and java projects. Mostly the web service client code are generated dynamically and we really do not want it to go in TFS. So we created library projects and we only stored library project’s configuration in the TFS.

We can import the WebLibs in our main projects, there are various advantages.

  1. The generated code stays out of TFS.
  2. Compiled code of WebLibs takes lesser time to build project.
Share
Tagged with:  

This document only refers to optimization of Vista Machine for faster development only intended for the ones who are doing development on C#, ASP.NET and Optional VC++, no VB.NET.

Installation of Limited Visual Studio 2008

We probably dont need Compact Frameworks and VB.NET and other tools, unnecessary installing them doesnt waste much of Hard disk space but what happens that your registry grows too big as you install more number of items. Registry is very costly database, and its accessed very regularly, more items in registry, slower and slower the PC. So here is list of items you should install.

Visual Studio Items

Visual Studio Items

Disable High End Graphics, Faster Performance

Disable High End Graphics

Disable High End Graphics

Disable System Restore Points

Now, System Restore Points are good, but usually on development machine, they run very slow, and they never do any good if system crashes, the restore time is as big as and as problematic as to reinstall OS.

Disable System Restore Points

Disable System Restore Points

Increase Paging Size

Increase it as much as you can in different drive but the acceptable range is 2GB to 4GB only.

Increase Paging Size

Increase Paging Size

Remove Unnecessary Vista Items as shown below

Remove Unnecessary Programs and Features

Remove Unnecessary Programs and Features

Setup Taskbar and Start Menu

Taskbar and Startmenu Properties

Taskbar and Startmenu Properties

Expand Items for Quicker Use

Expand Control Panel

Expand Control Panel

Expand Documents

Expand Documents

Expand Admin Tools

Expand Admin Tools

Share
Tagged with: