This project has moved. For the latest updates, please go here.
1

Closed

Add .Net Framework 4.0 Support

description

Check for .Net Framework 4.0 Source Code Release Date And Update The Project For 4.0 Support If Needed.
 
If I use the current version i get source files under:
C:\symbols\src\source\dotnetfx35SP1_3053\1.1
However in visual studio it then doesn't find these files and instead downloads new copies to:
C:\symbols\src\source\dotnetfx35SP1_3053\1.3
This appears to be caused by the code hardcoding 1.1 on the assumption that .NET 3.5 SP1 maps to v1.1, this no longer seems to be the case. The code comments indicate this is a known issue but no patch to the code or issue tracking seems to exist.
 
A quick hack to honor the value from the Http_Alias exacted from the pdb is to add the following code to the BuildSrcSrvDownloadFromFile method:
 
string[] segments = new Uri(Http_Alias).Segments;
 
targetPath = Path.GetFullPath(Path.Combine(Path.Combine(targetPath, ".."), segments[segments.Length-1]));
 
In DownloadParserArg.cs:198, in the constructor, you set this.VsVersion = "9.0" ;
Then, in DownloadParserArg.cs:330, you check: if ( false == String.IsNullOrEmpty ( VsVersion ) )
 
So, every time you run the program with a vsver argument, you get an error.
Closed Apr 16, 2010 at 2:49 PM by keremkusmezer
Fixed.

comments

keremkusmezer wrote Apr 14, 2010 at 12:46 PM

Install VS2010 RTM and check the sourcecode download options.

wrote Apr 14, 2010 at 2:12 PM

wrote Apr 14, 2010 at 2:15 PM

keremkusmezer wrote Apr 14, 2010 at 8:46 PM

The 10.0 VsVersion Flag Support Added, The VsVersion="9.0" default setting bug fixed.
Changed The SymbolCache HardCoded Directory Description For 3.5 SP1 To Support 10.0 Also.
It seems the files under Reference Assemblies Not Longer Include Debug Section, So The Processing For 4.0 Assemblies Should Be Done On The GAC For v4.0, because the assemblies there include the debug section to get the pdb guids.

wrote Apr 15, 2010 at 12:19 AM

wrote Apr 16, 2010 at 2:49 PM

wrote Feb 14, 2013 at 6:57 PM

wrote May 16, 2013 at 9:05 AM