Question

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?

Was it helpful?

Solution

.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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top