Ändern des Net.Frameworks von 4.5 auf 4 unter VB2012

  • VB.NET

Es gibt 12 Antworten in diesem Thema. Der letzte Beitrag () ist von Beatsleigher.

    Ändern des Net.Frameworks von 4.5 auf 4 unter VB2012

    Hi, habe ein kleines Problem mit dem Ändern des Frameworks,


    Habe ein Projekt geschrieben (Visual Studio 2012), welches natürlich unter NF 4.5 erstellt worden ist.

    Auf dem Rechner wo es laufen muss ist Win XP mit NF 4.0.

    Wenn ich es im V.Studio umstelle auf 4.0 macht er dies auch und es kommt auch kein Fehler beim konvertieren oder ausführen.

    Erstelle ich die ".Exe" und packe sie auf den XP Rechner kommt aber die Meldung:


    "Fehler bei der Überprüfung der Systemkomponente Microsoft .NET Framework 4.5 (x86 and x64). Fehlermeldung:

    "Die Installation von .NET Framework 4.5 wird auf diesem Betriebssystem
    nicht unterstützt. Wenden Sie sich an den Hersteller der Anwendung.""

    Bräuchte da dringend mal einen Rat, ist relativ wichtig. ;(
    Danke TVX erstmal. So leicht ist es aber dann doch nicht. ;)

    Das Menü habe ich ja bereits gefunden und es auch auf 4 umgestellt.
    Wenn ich das Programm dann aber "Veröffentliche" und auf dem anderen Rechner probiere geht es leider nicht.
    Er bricht nur mit einer Fehlermeldung ab...
    Kommt drauf an was dort leuft xp hat nur bis 3,5 zb

    EDIT: XP haben noch viele,diese Erfahrung musste ich auch schon machen !

    LG Andre

    Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von „TVX“ ()

    Kommt drauf an was dort leuft xp hat nur bis 3,5 zb


    Das ist inkorrekt. 4.0 wird von XP als letzte Version unterstützt.

    Wie wäre es, wenn du dein Wissen, bevor du es inkorrekt weitergibts erstmal prüfst?

    http://de.wikipedia.org/wiki/.NET#.NET_Framework_4 schrieb:

    Version 4.0 ist die letzte Version, die Windows XP und Windows Server 2003 unterstützt.
    Hi Danke für die weiteren Infos. :thumbup:
    Hoffe wir bekommen das hin, ist wirklich wichtig. (Teile eines Abschlussprojektes) :(

    Also auf XP ist 4.0 eigentlich möglich und auch installiert. (Aktuell teste ich in einer XP VM Ware, aber leider das gleich Ergebnis!)
    Die CPU stand auf Auto aber auch mit x86 keine verbesserung.

    Wenn ich es ausführen will kommt folgende Fehlermeldung:

    Spoiler anzeigen
    PLATFORM VERSION INFO
    Windows : 5.1.2600.196608 (Win32NT)
    Common Language Runtime : 4.0.30319.296
    System.Deployment.dll : 4.0.30319.1 (RTMRel.030319-0100)
    clr.dll : 4.0.30319.296 (RTMGDR.030319-2900)
    dfdll.dll : 4.0.30319.1 (RTMRel.030319-0100)
    dfshim.dll : 4.0.31106.0 (Main.031106-0000)

    SOURCES
    Deployment url : file:///C:/Dokumente%20und%20Einstellungen/Administrator/Desktop/EXE%20xxx/Waagenpr%C3%BCfstand%20xxx.application

    ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of C:\Dokumente und Einstellungen\Administrator\Desktop\EXE xxx\Waagenprüfstand xxx.application resulted in exception. Following failure messages were detected:
    + Exception reading manifest from file:///C:/Dokumente%20und%20Einstellungen/Administrator/Desktop/EXE%20xxx/Waagenpr%C3%BCfstand%20xxx.application: the manifest may not be valid or the file could not be opened.
    + Manifest XML signature is not valid.
    + SignatureDescription could not be created for the signature algorithm supplied.

    COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.

    WARNINGS
    There were no warnings during this operation.

    OPERATION PROGRESS STATUS
    * [06.05.2013 19:07:08] : Activation of C:\Dokumente und Einstellungen\Administrator\Desktop\EXE xxx\Waagenprüfstand xxxxx.application has started.

    ERROR DETAILS
    Following errors were detected during this operation.
    * [06.05.2013 19:07:08] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
    - Exception reading manifest from file:///C:/Dokumente%20und%20Einstellungen/Administrator/Desktop/EXE%20xxx/Waagenpr%C3%BCfstand%20xxx.application: the manifest may not be valid or the file could not be opened.
    - Source: System.Deployment
    - Stack trace:
    at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
    at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
    at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
    at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
    at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
    --- Inner Exception ---
    System.Deployment.Application.InvalidDeploymentException (SignatureValidation)
    - Manifest XML signature is not valid.
    - Source: System.Deployment
    - Stack trace:
    at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)
    at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
    --- Inner Exception ---
    System.Security.Cryptography.CryptographicException
    - SignatureDescription could not be created for the signature algorithm supplied.
    - Source: System.Security
    - Stack trace:
    at System.Security.Cryptography.Xml.SignedXml.CheckSignedInfo(AsymmetricAlgorithm key)
    at System.Security.Cryptography.Xml.SignedXml.CheckSignature(AsymmetricAlgorithm key)
    at System.Security.Cryptography.Xml.SignedXml.CheckSignatureReturningKey(AsymmetricAlgorithm& signingKey)
    at System.Deployment.Internal.CodeSigning.SignedCmiManifest.Verify(CmiManifestVerifyFlags verifyFlags)
    at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)

    COMPONENT STORE TRANSACTION DETAILS
    No transaction information is available.



    Wenn ich auf 3.5 stelle bringt er Fehler, daher müsste ich wohl besser bei 4 bleiben. ?(

    Quellcode

    1. - Exception reading manifest from file:///C:/Dokumente%20und%20Einstellungen/Administrator/Desktop/EXE%20xxx/Waagenpr%C3%BCfstand%20xxx.application: the manifest may not be valid or the file could not be opened.
    2. ...
    3. --- Inner Exception ---
    4. System.Deployment.Application.InvalidDeploymentException (SignatureValidation)
    5. - Manifest XML signature is not valid.
    existiert das manifest an gesuchter stelle?

    TVX schrieb:

    http://www.imgbox.de/users/public/images/uRfrVdtrTu.JPG


    Edit by Manschula: "Screenshots" (sic!) in dieser Größe bitte nicht direkt einbinden; als Link ist das völlig ausreichend!

    ich weiß, eig OT, das dafür gibts die Druck-Taste auf der tastatur
    Das stelle ich wies fest und ist wozu? :rolleyes: (Sorry habe noch nie ein Programm extern lauffähig gemacht.)

    EDIT:
    Aber dank deinem Hinweis habe ich mal folgendes probiert:
    Signierung - OneClicick Manifeste signieren - "Deaktiviert"

    Jetzt lässt es sich installieren! :thumbsup:

    Spielt das eine Rolle, oder haben wie des Rätsels Lösung? 8-)

    TiWo schrieb:

    Jetzt lässt es sich installieren!
    Hast Du es installiert oder nur kopiert?
    Falls Du diesen Code kopierst, achte auf die C&P-Bremse.
    Jede einzelne Zeile Deines Programms, die Du nicht explizit getestet hast, ist falsch :!:
    Ein guter .NET-Snippetkonverter (der ist verfügbar).
    Programmierfragen über PN / Konversation werden ignoriert!