安装.net 2.0 之后无法调试infopath项目的问题终于解决了
我偷懒直接copy过来好了,我也找了好久才找到的,网上大部分是说安装了.net 2.0之后无法调试asp.net程序的问题,很少谈无法调试其他的像infopath的项目的问题,
http://www.lanwalker.com/2005/05/unable-to-attach-to-application_10.html
Unable to attach to application infopath.exe
Question:Has anyone seen this error when trying to debug frm VS .NET in an Infopath project?
I have tried to attach (via Debug->Process...) without success
Anyone run into this bad boy before ?
Solution:
Create a file named infopath.exe.config with the following contents:
<startup>
<requiredRuntime imageVersion="v1.1.4322" version="v1.1.4322" />
<supportedRuntime version="v1.1.4322" />
</startup>
Store it in the same folder in which InfoPath.exe is located
(typically, C:\Program Files\Microsoft Office\OFFICE11) and you're done
In effect, with this config file you are specifying that infopath.exe
will run in the context of .NET framework 1.1, and not 2.0 beta
posted on 2005-11-17 23:51 无为而为-凡事从积极的态度做起 阅读(355) 评论(0) 收藏 举报
浙公网安备 33010602011771号