没有VS2008 SP1的来源 [英] No source for VS2008 SP1
问题描述
好的,"叔叔!"我放弃。 :)我已经尝试了一切在阳光下,但无法让vs2008 SP1进入.Net源。我可以下载符号,偶尔也可以下载一些源代码。但没有关键的ASP.NET程序集的源,如System.Web.dll。
它对我有用。然后 - 因为我通常每年做几次摆脱累积的crapware - 我重建了我的开发机器并开始使用WinXP SP3,.Net 3.5 SP1和VS2008 SP1的干净安装。
现在,我没有尝试过(我尝试了很多东西)似乎使框架源代码下载所以我可以进入它。
我有理由相信我的VS工具/选项/调试设置是正确的。
- "启用我的代码"未经检查。
- "启用.Net Framework源代码步骤"检查。
- "启用源服务器"已检查。
- "要求源文件完全匹配"未经检查。
- 符号位置为 http://referencesource.microsoft.com/symbols
- 设置了缓存路径(我对路径拥有完全控制权限)
- "Enable Just My Code" is unchecked.
- "Enable .Net Framework source stepping" is checked.
- "Enable source server" is checked.
- "Require source files to exactly match" is unchecked.
- Symbol location is http://referencesource.microsoft.com/symbols
- cache path is set (and I do have full control permissions to the path)
- 从 http://referencesource.microsoft.com/ <下载参考源安装程序/ a>并按照自述文件中的说明尝试将其作为符号和源代码的来源
- 使用_NT_SYMBOL_PATH进行几次不同的迭代 - 包括srv * j:\ symbols-src * http ://referencesource.microsoft.com/symbols - 根据我在网上找到的所有文档,应该可以正常工作。我也没有试过_NT_SYMBOL_PATH。
- 将我的所有VS2008设置重置为C#默认值。还尝试了Web开发人员的默认设置。
- 应用QFE.944899,因为VS2008 SP1目前没有可用的指令,并且不清楚Shawn的博客文章是否需要修补程序包含在SP1中。
- 然后使用修补程序删除工具删除QFE.944899,然后重新应用VS2008 SP1。
- 然后重新应用(修复).Net 3.5 SP1,因为不清楚它是否包含在VS2008 SP1中。 (对于那个干净整洁的安装,嗯?:))
- 上述所有设置和符号加载程序的许多不同迭代。
- 如果您自动vs手动下载/加载符号,VS2008似乎从不同位置获取符号。自动下载通常似乎将符号放在MicrosoftPublicSymbols子文件夹中,而手动下载(具有完全相同的设置)将它们直接放在我的符号文件夹下。根据我在网上找到的一篇文章,这很重要。
- 在某些方面,似乎VS2008完全忽略了符号路径,而是使用某种内部配置/编码来源检索符号。例如,当我从 http://referencesource.microsoft.com/ 下载并安装参考源并将符号位置配置为my时本地安装文件夹和缓存位置到我的本地文件夹,VS 2008仍然从网上下载了符号,似乎完全忽略了包含引用源的本地文件夹。
- 有一些新的调试VS2008 SP1中的选项,例如,"启用.Net Framework源步进"。设置。我无法在任何地方找到这个记录。一些设置应该设置为显而易见,但是,如果没有确认,只需要在事情不起作用时再提出一个问题。
- 因为它有时会得到一些来源程序集,几乎似乎 http://referencesource.microsoft.com/symbols 没有我的版本的源代码集会。但是,(至少最初)这只是CLR的直接OOTB安装,首先安装1.1运行时,然后是3.5运行时,然后是3.5 SP1。有几个在线资源显示3.5 SP1程序集可用,所以它似乎应该工作。此外,这是我以前使用的3.5 SP1堆栈(这是有效的。)当然,我确实以不同的方式实现了目标。例如,我确定我在旧安装中设置了参考源,同时仍然只使用3.5(无SP1)和SP1(VS2008 SP1和.Net CLR SP1)。
- It seems like VS2008 gets the symbols from different locations if you automatically vs manually download/load symbols. The automatic download usually seems to put the symbols in a MicrosoftPublicSymbols subfolder whereas the manual download (with exactly the same settings) puts them directly below my symbols folder. According to one post I found on the net somewhere, this matters.
- In some ways, it seems like VS2008 is completely ignoring the symbol path and is instead using some sort of internally configured/coded source to retrieve the symbols. For example, when I downloaded and installed the reference source from http://referencesource.microsoft.com/ and configured the symbol location to my local install folder and the cache location to my local folder, VS 2008 still downloaded the symbols from the net and appeared to completely ignore my local folder containing the reference source.
- There are some new debugging options in VS2008 SP1, e.g., the "Enable .Net Framework source stepping" setting. I could not find this documented anywhere. It seems obvious what this setting should be set to but, without confirmation, it's just one more question that has to be asked when things aren't working.
- Because it sometimes gets source for some assemblies, it almost seems like http://referencesource.microsoft.com/symbols just doesn't have the source for my version of the assemblies. However, (at least initially) this was just a straight OOTB install of the CLR installing first the 1.1 runtime, followed by the 3.5 runtime, followed by 3.5 SP1. There are several online sources indicating 3.5 SP1 assemblies are available so it seems like it should work. Also, this is the same 3.5 SP1 stack I had before (that was working.) Although, of course, I did get there differently. For example, I'm sure I set up the reference source in my old install while still using just 3.5 (no SP1) and SP1 (both VS2008 SP1 and .Net CLR SP1) came later.
Ok, "Uncle!" I give up. :) I've tried everything under the sun but cannot get vs2008 SP1 to step into the .Net source. I can get symbols to download, and occasionally some source even downloads. But no source for critical ASP.NET assemblies such as System.Web.dll.
It was working ok for me. Then - as I usually do a couple times per year to get rid of the accumulated crapware - I rebuilt my development machine and started out with a squeaky clean install of WinXP SP3, .Net 3.5 SP1, and VS2008 SP1.
Now, nothing I have tried (and I've tried many things) seems to make the framework source download so I can step into it.
I am reasonably confident my VS tools/options/debug settings are correct.
我也尝试了以下内容;
I also tried the following;
其他一些注释;
无论如何,我现在已经花了将近两天的时间来摆弄它。我发现这个源在故障排除时是必不可少的,并且真的希望让它再次运行。我正在使用(也)未记录的ScriptUserControl类来处理Ajax Control Toolkit的问题。拥有框架源,所以我可以告诉我的控件如何初始化将是非常有价值的。
任何人有任何建议吗?
Anyway, I've been fiddling with this for nearly two days now. I find this source to be indispensible when troubleshooting and would really like to get it working again. I'm working on a problem with the Ajax Control Toolkit using the ScriptUserControl class that is (also) undocumented. Having the Framework source so I can tell how my control is getting initialized would be very valuable right now.
Anyone have any suggestions?
推荐答案
我和VS2008 SP1有完全相同的问题。
即使我尝试使用MassDownloader它也无法在 http://referencesource.microsoft.com/symbols 和其他人dll。
希望我马上修好:-(。
Hi,
I have exactly the same problem with VS2008 SP1.
Even if I try to use MassDownloader it can't find pdb for system.web.dll 2.0.50727.3074 on http://referencesource.microsoft.com/symbols and others dll.
Hope i'll be fixed soon :-( .
这篇关于没有VS2008 SP1的来源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!