What's involved in preparing the .NET Framework sources for an RSCC release?
It has taken us a considerable amount of time to prepare the sources for SP1, test the RSCC package, and do the deployment. During the past months we have already put a a lot of thought into this problem and we will be changing the way the RSCC process is integrated in the development of the .NET framework. For the .NET Framework 3.5 and .NET Framework 3.5 SP1 release our process was optimized to start the source preparation process after the final build of the assemblies was done. For the upcoming releases we will be making the RSCC process part of our static analysis quality gate and as such make sure that the sources are RSCC ready at all times. Here's an overview of the differences between the processes:
.NET Framework 3.5 and .NET Framework 3.5 SP1 process
- Find the PDB that was built with the release version of the assembly.
- Extract the source code of each file used to build the PDB.
- Source code cleanup for the entire source tree:
- Policheck scan
- Removal of developer names
- Adding of a standard copyright banner
- etc.
- Run a visual pass on all the comments
- Remove certain comments and sections of code that we can't share
- Generate RSCC package
- Commit changes to source control
RSCC as a quality gate for upcoming releases
- Add RSCC build step to MSBuild
- Source code analysis during build (Policheck scan, etc)
- Remove comments and sections of code that you don't want to share for the check-in
- Code and comments review for the pending check-in
- Developer commits changes to source control
- Generate RSCC package gets done on a daily basis on the build server
What's the difference?
The biggest difference is that with the new process developers will make sure that the code they write is RSCC ready before they check their source code in. By doing this on an ongoing basis we hope to significantly reduce the overhead of releasing the .NET Framework source code.
Comments
Anonymous
September 03, 2008
PingBack from http://www.easycoded.com/whats-involved-in-preparing-the-net-framework-sources-for-an-rscc-release/Anonymous
September 03, 2008
I need this release now, I can't wait to start debugging with source code. :) Luis.Anonymous
September 04, 2008
Hi Luis, I'm not sure what your question is but we have already released the source code for important parts of the .NET Framework 3.5 and .NET Framework 3.5 SP1 (http://blogs.msdn.com/rscc/archive/2008/08/28/net-framework-3-5-sp1-sources-are-available.aspx). Thanks!, Steven