今天在用 Web Service Software Factory 2010 的时候,建立了DataContractModel,建立好模型后,准备生成代码,结果报错 : System.OutOfMemoryException,关闭VS2010 IDE后,重新打开,仍报此错。
大为不解,于是搜索到下面这篇资料:http://servicefactory.codeplex.com/Thread/View.aspx?ThreadId=210793
在众多回答中,我找到符合我的问题:就是我昨天下载了新版的Reflector
1. Double click the Reflector exe.
2. Click on Tools --> Integration Options.
3. Uncheck the VS 2010 and VS 2008 options from the popup.
4. Click OK to exit.
按以上步骤执行后,恢复正常。