开发者

.NET Framework 4 ILASM targeting framework 2

开发者 https://www.devze.com 2023-01-05 23:51 出处:网络
Question: I need to create, using ILASM.EXE, framework 2.0 assemblies. 开发者_如何学运维 So far, I have seen that fw 2 ilasm: creates 2.0 assembies.

Question: I need to create, using ILASM.EXE, framework 2.0 assemblies.

开发者_如何学运维

So far, I have seen that fw 2 ilasm: creates 2.0 assembies. FW 4 ilasm, on the other hand: creates 4.0 assemblies.

So far I am cool.

Now I need to know: is there a way (perhaps an argument) that can be used to make fw 4 ilasm to create fw 2 assemblies?


.NET 4 cannot target .NET 3.5 or .NET 2.0, that's why if you want to compile .NET 2.0 or 3.5 assemblies, with visual studio 2010, you need to also have .NET 3.5 installed.

http://msdn.microsoft.com/en-us/library/bb398197(VS.100).aspx

0

精彩评论

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