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.
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.
- TFS will not let source code generator generate new files, as they are not checked out.
- 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.
- The generated code stays out of TFS.
- Compiled code of WebLibs takes lesser time to build project.
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.
Disable High End Graphics, Faster Performance
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.
Increase Paging Size
Increase it as much as you can in different drive but the acceptable range is 2GB to 4GB only.
Remove Unnecessary Vista Items as shown below
Setup Taskbar and Start Menu
Expand Items for Quicker Use