IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Visual Studio Discussion :

Application C# ne démarrant que sous VS 2012 [Débutant]


Sujet :

Visual Studio

  1. #1
    Nouveau membre du Club
    Profil pro
    Étudiant
    Inscrit en
    Avril 2005
    Messages
    60
    Détails du profil
    Informations personnelles :
    Âge : 38
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Avril 2005
    Messages : 60
    Points : 33
    Points
    33
    Par défaut Application C# ne démarrant que sous VS 2012
    Bonjour à tous,

    je suis en train de développer une application sous WPF, en MVVM (avec plusieurs lib derrière, NInject, Caliburn.Micro).

    Problème que j'ai: l'application démarre sans souci sous Visual Studio (en debug).
    Parcontre si lance le .exe directement depuis le répertoire, l'application ne démarre même pas.

    J'ai des log me montrant que le bootstrap ninject est bien lancé, que le constructeur de mon ViewModel est bien instancié...parcontre après plus rien.

    Je suis allé faire un tour dans le gestionnaire d'évèvement, et je voie bien le crash de mon application, parcontre je n'arrive pas à décoder l'erreur.

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
     
    Récipient d’erreurs -512259466, type 1
    Nom d’événement*: APPCRASH
    Réponse*: Non disponible
    ID de CAB : 0
     
    Signature du problème : 
    P1 : TxSGUI.exe
    P2 : 1.0.0.0
    P3 : 5215c787
    P4 : StackHash_199c
    P5 : 0.0.0.0
    P6 : 00000000
    P7 : c00000fd
    P8 : PCH_94
    P9 : 
    P10 : 
     
    Fichiers joints*:
    C:\Users\Manuel Tarantini\AppData\Local\Temp\WER7E5F.tmp.WERInternalMetadata.xml
     
    Ces fichiers sont peut-être disponibles ici*:
    C:\Users\Manuel Tarantini\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_TxSGUI.exe_d0accc8751779f62549fe3a719a34379bd1ba_1c58813d
     
    Symbole d’analyse : 
    Nouvelle recherche de la solution : 0
    ID de rapport : 656f88f6-0b02-11e3-be81-6817297a12ef
    Statut du rapport : 0
    Récipient avec hachage*: 1f96da365fc3c66d776d7f77e0bc9a82
    Et ca c'est le contenu du .WER
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
     
    Version=1
    EventType=APPCRASH
    EventTime=130216326681245584
    ReportType=2
    Consent=1
    UploadTime=130216326682572610
    ReportIdentifier=656f88f7-0b02-11e3-be81-6817297a12ef
    IntegratorReportIdentifier=656f88f6-0b02-11e3-be81-6817297a12ef
    WOW64=1
    NsAppName=TxSGUI.exe
    Response.BucketId=1f96da365fc3c66d776d7f77e0bc9a82
    Response.BucketTable=1
    Response.LegacyBucketId=-512259466
    Response.type=4
    Sig[0].Name=Nom de l’application
    Sig[0].Value=TxSGUI.exe
    Sig[1].Name=Version de l’application
    Sig[1].Value=1.0.0.0
    Sig[2].Name=Horodatage de l’application
    Sig[2].Value=5215c787
    Sig[3].Name=Nom du module par défaut
    Sig[3].Value=StackHash_199c
    Sig[4].Name=Version du module par défaut
    Sig[4].Value=0.0.0.0
    Sig[5].Name=Horodateur du module par défaut
    Sig[5].Value=00000000
    Sig[6].Name=Code de l’exception
    Sig[6].Value=c00000fd
    Sig[7].Name=Décalage de l’exception
    Sig[7].Value=PCH_94
    DynamicSig[1].Name=Version du système
    DynamicSig[1].Value=6.2.9200.2.0.0.256.48
    DynamicSig[2].Name=Identificateur de paramètres régionaux
    DynamicSig[2].Value=1036
    DynamicSig[22].Name=Information supplémentaire n°*1
    DynamicSig[22].Value=199c
    DynamicSig[23].Name=Information supplémentaire n°*2
    DynamicSig[23].Value=199cc907df8a4654c8ebf31545ec3b64
    DynamicSig[24].Name=Information supplémentaire n°*3
    DynamicSig[24].Value=ac93
    DynamicSig[25].Name=Information supplémentaire n°*4
    DynamicSig[25].Value=ac932fb721b478be6e53cf5b63cba0e7
    UI[2]=C:\Users\Manuel Tarantini\Documents\Visual Studio 2012\Projects\TxSProject\TxSGUI\bin\Debug\TxSGUI.exe
    UI[3]=TxSGUI a cessé de fonctionner
    UI[4]=Windows peut rechercher une solution au problème en ligne.
    UI[5]=Rechercher une solution en ligne et fermer le programme
    UI[6]=Rechercher ultérieurement une solution en ligne et fermer le programme
    UI[7]=Fermer le programme
    LoadedModule[0]=C:\Users\Manuel Tarantini\Documents\Visual Studio 2012\Projects\TxSProject\TxSGUI\bin\Debug\TxSGUI.exe
    LoadedModule[1]=C:\Windows\SYSTEM32\ntdll.dll
    LoadedModule[2]=C:\Windows\SYSTEM32\MSCOREE.DLL
    LoadedModule[3]=C:\Windows\SYSTEM32\KERNEL32.dll
    LoadedModule[4]=C:\Windows\SYSTEM32\KERNELBASE.dll
    LoadedModule[5]=C:\Windows\SYSTEM32\ADVAPI32.dll
    LoadedModule[6]=C:\Windows\SYSTEM32\msvcrt.dll
    LoadedModule[7]=C:\Windows\SYSTEM32\sechost.dll
    LoadedModule[8]=C:\Windows\SYSTEM32\RPCRT4.dll
    LoadedModule[9]=C:\Windows\SYSTEM32\SspiCli.dll
    LoadedModule[10]=C:\Windows\SYSTEM32\CRYPTBASE.dll
    LoadedModule[11]=C:\Windows\SYSTEM32\bcryptPrimitives.dll
    LoadedModule[12]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll
    LoadedModule[13]=C:\Windows\SYSTEM32\SHLWAPI.dll
    LoadedModule[14]=C:\Windows\SYSTEM32\USER32.dll
    LoadedModule[15]=C:\Windows\SYSTEM32\GDI32.dll
    LoadedModule[16]=C:\Windows\system32\IMM32.DLL
    LoadedModule[17]=C:\Windows\SYSTEM32\MSCTF.dll
    LoadedModule[18]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
    LoadedModule[19]=C:\Windows\SYSTEM32\MSVCR110_CLR0400.dll
    LoadedModule[20]=C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\f1e2e31220d2cf2be4b52998c55b319a\mscorlib.ni.dll
    LoadedModule[21]=C:\Windows\SYSTEM32\ole32.dll
    LoadedModule[22]=C:\Windows\SYSTEM32\combase.dll
    LoadedModule[23]=C:\Windows\system32\uxtheme.dll
    LoadedModule[24]=C:\Program Files (x86)\Common Files\microsoft shared\ink\tiptsf.dll
    LoadedModule[25]=C:\Windows\SYSTEM32\OLEAUT32.dll
    LoadedModule[26]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System\e49019d17d6569af4b306c2cbdb37328\System.ni.dll
    LoadedModule[27]=C:\Windows\assembly\NativeImages_v4.0.30319_32\WindowsBase\31661f0e49439c9337c7eda8f57c74b0\WindowsBase.ni.dll
    LoadedModule[28]=C:\Windows\SYSTEM32\CRYPTSP.dll
    LoadedModule[29]=C:\Windows\system32\rsaenh.dll
    LoadedModule[30]=C:\Windows\assembly\NativeImages_v4.0.30319_32\PresentationCore\858bafabb8c316b6c7b8df575e20ed9f\PresentationCore.ni.dll
    LoadedModule[31]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Presentatio5ae0f00f#\0191e31d0aa58252e5f2986210b2bd6f\PresentationFramework.ni.dll
    LoadedModule[32]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Xaml\f0f10b3a3a020dfef0e5ca168b54d9e3\System.Xaml.ni.dll
    LoadedModule[33]=C:\Windows\SYSTEM32\dwrite.dll
    LoadedModule[34]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\wpfgfx_v0400.dll
    LoadedModule[35]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\PresentationNative_v0400.dll
    LoadedModule[36]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\clrjit.dll
    LoadedModule[37]=C:\Windows\SYSTEM32\dwmapi.dll
    LoadedModule[38]=C:\Windows\SYSTEM32\clbcatq.dll
    LoadedModule[39]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Core\315798a873fc54adc093a392ffd0664c\System.Core.ni.dll
    LoadedModule[40]=C:\Windows\SYSTEM32\urlmon.dll
    LoadedModule[41]=C:\Windows\SYSTEM32\iertutil.dll
    LoadedModule[42]=C:\Windows\SYSTEM32\WININET.dll
    LoadedModule[43]=C:\Windows\SYSTEM32\Secur32.dll
    LoadedModule[44]=C:\Windows\SYSTEM32\SHELL32.dll
    LoadedModule[45]=C:\Windows\SYSTEM32\SHCORE.dll
    LoadedModule[46]=C:\Windows\SYSTEM32\VERSION.dll
    LoadedModule[47]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.CSharp\545d960e47b559e7ca4ba94bb90f046c\Microsoft.CSharp.ni.dll
    LoadedModule[48]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.E9ff182ca#\342633ae2cf76c61abc6929040c1e69c\Microsoft.Expression.Interactions.ni.dll
    LoadedModule[49]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Compba577418#\d6211551a6575c453d6138f5105183c3\System.ComponentModel.Composition.ni.dll
    LoadedModule[50]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Comp46f2b404#\b1a12f751faa5ab43b2fc071afc90003\System.ComponentModel.DataAnnotations.ni.dll
    LoadedModule[51]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Data7706cdc8#\55e3b156daf51b84a5d2ce0fcbc10177\System.Data.DataSetExtensions.ni.dll
    LoadedModule[52]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Data\b6c1e8b2dec72fb51f81c466e7eb5451\System.Data.ni.dll
    LoadedModule[53]=C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll
    LoadedModule[54]=C:\Windows\SYSTEM32\WS2_32.dll
    LoadedModule[55]=C:\Windows\SYSTEM32\CRYPT32.dll
    LoadedModule[56]=C:\Windows\SYSTEM32\NSI.dll
    LoadedModule[57]=C:\Windows\SYSTEM32\MSASN1.dll
    LoadedModule[58]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Drawing\4c19d6c0b993581e01db02d03cec58c9\System.Drawing.ni.dll
    LoadedModule[59]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\438597c0bad0387892a8d55f66060283\System.Windows.Forms.ni.dll
    LoadedModule[60]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windc7c43db6#\3ff6a75513c66fae784feb418169528a\System.Windows.Interactivity.ni.dll
    LoadedModule[61]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Xml\e3eabcc089d2f347c220f01af4794dfd\System.Xml.ni.dll
    LoadedModule[62]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Xml.Linq\f9c841e6d1105136ba95c548ca5a95bd\System.Xml.Linq.ni.dll
    LoadedModule[63]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Configuration\63710f540d4b93b7cae5c5afb22f4c38\System.Configuration.ni.dll
    LoadedModule[64]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.ServiceModel\c53cd8aea0c672344f208ea2786477ce\System.ServiceModel.ni.dll
    LoadedModule[65]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Runteb92aa12#\ebeeccc3fb6d613d0fe6efc3752c13f9\System.Runtime.Serialization.ni.dll
    LoadedModule[66]=C:\Windows\assembly\NativeImages_v4.0.30319_32\UIAutomationProvider\aa4275ab11dd545de6ccbe893ca7cbcc\UIAutomationProvider.ni.dll
    LoadedModule[67]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Data.Entity\6d31d1bf733a94df55db9debeb28d356\System.Data.Entity.ni.dll
    LoadedModule[68]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Runtime\94e5d2cd77cf809dee6a66247f808aaa\System.Runtime.ni.dll
    LoadedModule[69]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Resoc6338000#\eb827959c6a8b692d4f5a0dd329a7f2e\System.Resources.ResourceManager.ni.dll
    LoadedModule[70]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Presentatioaec034ca#\0105e956c4c767ad629b662e6fd5b86b\PresentationFramework.Aero2.ni.dll
    State[0].Key=Transport.DoneStage1
    State[0].Value=1
    FriendlyEventName=Fonctionnement arrêté
    ConsentKey=APPCRASH
    AppName=TxSGUI
    AppPath=C:\Users\Manuel Tarantini\Documents\Visual Studio 2012\Projects\TxSProject\TxSGUI\bin\Debug\TxSGUI.exe
    NsPartner=windows
    NsGroup=windows8
    Merci d'avance pour votre aide.

  2. #2
    Nouveau membre du Club
    Profil pro
    Étudiant
    Inscrit en
    Avril 2005
    Messages
    60
    Détails du profil
    Informations personnelles :
    Âge : 38
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Avril 2005
    Messages : 60
    Points : 33
    Points
    33
    Par défaut
    nouveau message d'erreur dans le gestionnaire d'event

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
     
    Récipient d’erreurs -486037246, type 5
    Nom d’événement*: CLR20r3
    Réponse*: Non disponible
    ID de CAB : 0
     
    Signature du problème : 
    P1 : txsgui.exe
    P2 : 1.0.0.0
    P3 : 5215cfac
    P4 : Caliburn.Micro.Contrib
    P5 : 1.0.1.0
    P6 : 51f79605
    P7 : b9
    P8 : 0
    P9 : System.StackOverflowException
    P10 : 
     
    Fichiers joints*:
    C:\Users\Manuel Tarantini\AppData\Local\Temp\WERBEB8.tmp.WERInternalMetadata.xml
     
    Ces fichiers sont peut-être disponibles ici*:
    C:\Users\Manuel Tarantini\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_txsgui.exe_988f32b40a41f622579f3274dedee39872e43f_3288c1a6
     
    Symbole d’analyse : 
    Nouvelle recherche de la solution : 0
    ID de rapport : 513abcba-0b07-11e3-be81-6817297a12ef
    Statut du rapport : 0
    Récipient avec hachage*: 42cefb1aef4eea90aa87c064f8e26e7c

    EDIT: appriorie ca serait du a Caliburn.Micro.Contrib, seulement pourquoi est-ce que ca le fait que en lancer le .exe et pas sous VS2012 ?

    je l'ai virer des dépendances et maintenant l'application se lance bien comme il faut...


    EDIT2: Bon finalement j'ai récuperé les sources de la lib, passer en .NET 4.5, mis les références comme il faut. Maintenant c'est tt bon.

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Réponses: 8
    Dernier message: 15/07/2013, 12h14
  2. Application d'un filtre dans sous form (syntaxe)
    Par samlepiratepaddy dans le forum Access
    Réponses: 12
    Dernier message: 15/09/2005, 21h32
  3. [Application]"Ouvrir en tant que" automatique
    Par Giovanny Temgoua dans le forum Windows
    Réponses: 4
    Dernier message: 02/09/2004, 20h27
  4. Comment fermer l'application en même temps que Windows ?
    Par semaj_james dans le forum Langage
    Réponses: 4
    Dernier message: 23/06/2004, 22h17

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo