Work-around for C# CodeDom causing stack-overflow (CS1647) in csc.exe?

前端 未结 5 2240
滥情空心
滥情空心 2021-01-12 14:20

I\'ve got a situation where I need to generate a class with a large string const. Code outside of my control causes my generated CodeDom tree to be emitted to C# source and

5条回答
  •  滥情空心
    2021-01-12 15:22

    Make sure the application pools in IIS have 32-bit applications enabled. That's all it took for me to cure this problem trying to compile a 32-bit app in Win7 64-bit. Oddly (or not), Microsoft could not supply this answer. After a full day of searching, I found this link to the fix on an Iron Speed Designer forum:

    http://darrell.mozingo.net/2009/01/17/running-iis-7-in-32-bit-mode/

提交回复
热议问题