Very simple question, if you compile a program with .NET 4.0 (a program that explicitly uses a feature from .NET 4.0 which is not available in previous framework versions), say a command line program, and you deploy it to a computer that doesn’t have .NET 4.0 (let’s say it only has .NET2.0 framework).
What happens when you run the .exe from the command line? Is there an exception thrown? Which exception?
I could test myself but I don’t have right now a Windows box handy that lacks this framework version.
Thanks in advance.
You will get the following error: