none
how to target framework 3.5 instead of 4 RRS feed

  • Question

  • i have dll files which use targeting 3.5 , how to invoke that in vs2010, and is that possible with targeting 4.0

     


    nattelip
    • Edited by lipje Monday, September 5, 2011 11:30 AM
    Monday, September 5, 2011 11:30 AM

Answers

  • First of all you need to tell what version of Visual studio you are using and what language (VB.net , C# ) because changing the target framework is different for both.

    See the link below on how to change target frame work.

    http://msdn.microsoft.com/en-us/library/bb772098%28v=vs.90%29.aspx

     

    Creating and calling a dll

    http://www.jack-frost.co.uk/vb_net_dll_create.html

     


    Please mark those posts as answer which answers your question. Faraz
    • Marked as answer by lipje Monday, September 5, 2011 2:07 PM
    Monday, September 5, 2011 1:06 PM
  • You can target .NET Framework 3.5 in any Visual Studio 2010 project (provided you have a FULLY updated .NET Framework 2.0/3.0/3.5 through 3.5 SP1 on your computer).

    Although the precise location of the framework targeting option varies with project type, you'll typically find it by displaying the project properties dialog and clicking the Compile tab. Scroll down (if necessary) to reveal the Advanced Compile Options... button.

    When you change the target framework for a project, you must then close and reopen VS to have the retargeting take effect.

    BTW, if you have further questions about Visual Studio setup, here is the dedicated forum:

    http://social.msdn.microsoft.com/Forums/en-US/vssetup/threads

    • Marked as answer by lipje Monday, September 5, 2011 2:08 PM
    Monday, September 5, 2011 1:14 PM

All replies

  • First of all you need to tell what version of Visual studio you are using and what language (VB.net , C# ) because changing the target framework is different for both.

    See the link below on how to change target frame work.

    http://msdn.microsoft.com/en-us/library/bb772098%28v=vs.90%29.aspx

     

    Creating and calling a dll

    http://www.jack-frost.co.uk/vb_net_dll_create.html

     


    Please mark those posts as answer which answers your question. Faraz
    • Marked as answer by lipje Monday, September 5, 2011 2:07 PM
    Monday, September 5, 2011 1:06 PM
  • You can target .NET Framework 3.5 in any Visual Studio 2010 project (provided you have a FULLY updated .NET Framework 2.0/3.0/3.5 through 3.5 SP1 on your computer).

    Although the precise location of the framework targeting option varies with project type, you'll typically find it by displaying the project properties dialog and clicking the Compile tab. Scroll down (if necessary) to reveal the Advanced Compile Options... button.

    When you change the target framework for a project, you must then close and reopen VS to have the retargeting take effect.

    BTW, if you have further questions about Visual Studio setup, here is the dedicated forum:

    http://social.msdn.microsoft.com/Forums/en-US/vssetup/threads

    • Marked as answer by lipje Monday, September 5, 2011 2:08 PM
    Monday, September 5, 2011 1:14 PM