.NET Version ändern

  • Allgemein

Es gibt 2 Antworten in diesem Thema. Der letzte Beitrag () ist von nerd777.

    .NET Version ändern

    Moin Moin @all


    Wen man zb. mit VB 2010 ein Projekt zu einer Binary sprich zu einer .exe compild benötigt die erstelle .exe atomatisch .Net Framework v.4.0 bzw bei VB 2008 3.5 usw.

    Nun zu meiner frage kan man mit VB 2010 eine .exe erstellen die zb. nur .Net Framework 2.5 benötigt da man dadurch ja eine höhere kompatiblität
    hätte bzw. kann man das überhaupt einstellen wen nicht hab da was gehört das es mit Visual Studio gehen soll ich freue mich über produktive Kommentare

    PS. Ich hab schon Gegoogelt usw. aber immer nur sachen gefunden wie zb. Versionsnummer ändern etc.


    MFG nerd777
    In den Optionen des Projekt kannst du das "Zielframework" ändern, z. B. auf Fw 2.0.
    To change the version of the .NET Framework for Visual Basic projects

    1. On the Project menu, click ProjectName Properties.
    2. Click the Compile tab.
    3. Click Advanced Compile Options.
    4. In the Target Framework (all configurations) list, select either .NET Framework 2.0, .NET Framework 3.0, or .NET Framework 3.5.

      Note:For solutions that target the 2007 Microsoft Office system, you must use .NET Framework 3.5 or later.
    5. If you want to develop for .NET Framework Client Profile, specify this configuration:
      1. In the Target Framework (all configurations) list, select .NET Framework 3.5.
      2. Select Client-only Framework subset.
    6. Click OK.
    7. In the Target Framework Change message that appears, click Yes.
    Quelle: msdn.microsoft.com/en-us/library/bb772098%28VS.90%29.aspx


    Viele Grüße, Phil.