开发者

Run a .net framework 1.1 program under .net framework 4.0

I want to run the freeware version of codesmith (2.6, that has been built on .net framework 1.1) on Windows Server 2008 r2 64bit

There is a way to force it run under the .net framework 4.0?

The .net 1.1 installer says there are compatibility issues on my os

edit: I wanted to know if there is a way to decompile/recompile , like those hacks to add x64 compati开发者_如何学编程bility to .net apps if it was flagged as 32bit only in visual studio


It's possible

Just delete:

<startup>
    <supportedRuntime version="v1.1.4322" />
    <supportedRuntime version="v1.0.3705" />
    <requiredRuntime version="v1.0.3705" />
</startup>

from CodeSmith.exe.config, and it works flawlessly on .net framework 4.0 on x64 :-D


I'd highly recommend updating to the latest version that has been fully tested on the latest editions of Windows 64bit and .NET. Please contact sales/support and we will work with you ;) and help get your templates updated if needed.

Thanks -Blake Niemyjski


It is not possible. Dot net 1.1 and 4.0 has many differences. There is a good number of API that has been changed. So, even if you could hack it to run on 4.0, it might be crashing.


Updating to Windows 8.1 actually removed previously installed Framework 1.1.

Deleting the <startup> node in config file did not work for me, however - changing that part in the CodeSmith.exe.config to:

<startup>
  <supportedRuntime version="v2.0.50727" />
</startup>

made it work on Framework 2.0 without the problem, so I was able to make changes on my old project.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜