Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • 4
    No, you can't. Why did you not try? Commented Apr 16, 2013 at 13:33
  • @leppie: I tried this and getting exception as "this assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded" So i am looking for any other way it can be possible Commented Apr 16, 2013 at 13:36
  • It is not possible. Why can't you compile the code for .NET 3.5? What special feature do you use? Commented Apr 16, 2013 at 13:39
  • @leppie: Actually some api requires .NET 4.0. Though i can build project using "NANT" with target framwork 3.5, but when call come to .NET 4.0 built dll, it throws above mentioned error. Commented Apr 16, 2013 at 13:44
  • Why do you require .NET 3.5? Why can't you compile everything with .NET 4, which'll remove this problem entirely? Commented Apr 16, 2013 at 14:56