Mah, ich wieder.
XAML regt mich auf.
Kurz und bündig:
Möcht mir jemand das erklären? Hab nämlich exakt keine Ahnung, warum der mir den Fehler wirft. Hab letztens das Async CTP v3 installiert, kann aber eig. nicht daran liegen.
Projekt:
App.config nur damit ich SQLite nutzen kann.
XAML regt mich auf.
Kurz und bündig:
Quellcode
- System.Windows.Markup.XamlParseException wurde nicht behandelt.
- Message=Die Datei oder Assembly "ProjektName, PublicKeyToken=b03f5f7f11d50a3a" oder eine Abhängigkeit davon wurde nicht gefunden. Die gefundene Manifestdefinition der Assembly stimmt nicht mit dem Assemblyverweis überein. (Ausnahme von HRESULT: 0x80131040)
- Source=PresentationFramework
- LineNumber=0
- LinePosition=0
- StackTrace:
- bei System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
- bei System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
- bei System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
- bei System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
- bei System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
- bei System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
- bei System.Windows.Application.DoStartup()
- bei System.Windows.Application.<.ctor>b__1(Object unused)
- bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
- bei MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
- bei System.Windows.Threading.DispatcherOperation.InvokeImpl()
- bei System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
- bei System.Threading.ExecutionContext.runTryCode(Object userData)
- bei System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
- bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
- bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
- bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
- bei System.Windows.Threading.DispatcherOperation.Invoke()
- bei System.Windows.Threading.Dispatcher.ProcessQueue()
- bei System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
- bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
- bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
- bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
- bei MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
- bei System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
- bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
- bei MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
- bei System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
- bei System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
- bei System.Windows.Application.RunDispatcher(Object ignore)
- bei System.Windows.Application.RunInternal(Window window)
- bei System.Windows.Application.Run(Window window)
- bei System.Windows.Application.Run()
- bei ProjektName.App.Main() in C:\Users\AliveDevil\Documents\Visual Studio 2010\Projects\ProjektName\ProjektName\obj\x86\Debug\App.g.cs:Zeile 0.
- bei System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
- bei System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
- bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
- bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
- bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
- bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
- bei System.Threading.ThreadHelper.ThreadStart()
- InnerException: System.IO.FileLoadException
- Message=Die Datei oder Assembly "ProjektName, PublicKeyToken=b03f5f7f11d50a3a" oder eine Abhängigkeit davon wurde nicht gefunden. Die gefundene Manifestdefinition der Assembly stimmt nicht mit dem Assemblyverweis überein. (Ausnahme von HRESULT: 0x80131040)
- Source=mscorlib
- FileName=ProjektName, PublicKeyToken=b03f5f7f11d50a3a
- FusionLog==== Zustandsinformationen vor Bindung ===
- LOG: Benutzer = joeran-Main\AliveDevil
- LOG: DisplayName = ProjektName, PublicKeyToken=b03f5f7f11d50a3a
- (Partial)
- WRN: Für eine Assembly wurden partielle Bindungsinformationen bereitgestellt:
- WRN: Assemblyname: ProjektName, PublicKeyToken=b03f5f7f11d50a3a | Domänen-ID: 1
- WRN: Eine partielle Bindung tritt auf, wenn nur ein Teil des Assemblyanzeigenamens bereitgestellt wird.
- WRN: Dies führt möglicherweise dazu, dass die Sammelmappe eine falsche Assembly lädt.
- WRN: Geben Sie die Textidentität der Assembly mit allen Einzelheiten an.
- WRN: Dazu gehören der einfache Name, die Version und Kultur und das öffentliche Schlüsseltoken.
- WRN: Weitere Informationen und allgemeine Lösungen für dieses Problem finden Sie im Whitepaper unter "http://go.microsoft.com/fwlink/?LinkId=109270".
- LOG: Appbase = file:///C:/Users/AliveDevil/Documents/Visual Studio 2010/Projects/ProjektName/ProjektName/bin/Debug/
- LOG: Ursprünglicher PrivatePath = NULL
- Aufruf von Assembly : PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.
- ===
- LOG: Diese Bindung startet im default-Load-Kontext.
- LOG: Die Anwendungskonfigurationsdatei wird verwendet: C:\Users\AliveDevil\Documents\Visual Studio 2010\Projects\ProjektName\ProjektName\bin\Debug\ProjektName.vshost.exe.Config
- LOG: Die Hostkonfigurationsdatei wird verwendet:
- LOG: Die Computerkonfigurationsdatei von C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config wird verwendet.
- LOG: Die Richtlinie wird derzeit nicht auf den Verweis angewendet (private, benutzerdefinierte, teilweise oder pfadbasierte Assemblybindung)
- LOG: Download von neuem URL file:///C:/Users/AliveDevil/Documents/Visual Studio 2010/Projects/ProjektName/ProjektName/bin/Debug/ProjektName.DLL.
- LOG: Download von neuem URL file:///C:/Users/AliveDevil/Documents/Visual Studio 2010/Projects/ProjektName/ProjektName/bin/Debug/ProjektName/ProjektName.DLL.
- LOG: Download von neuem URL file:///C:/Users/AliveDevil/Documents/Visual Studio 2010/Projects/ProjektName/ProjektName/bin/Debug/ProjektName.EXE.
- WRN: Der Vergleich des Assemblynamens führte zum Konflikt: PUBLIC KEY TOKEN.
- ERR: Das Setup der Assembly konnte nicht abgeschlossen werden (hr = 0x80131040). Die Suche wurde beendet.
- StackTrace:
- bei System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
- bei System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
- bei System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
- bei System.Reflection.Assembly.Load(AssemblyName assemblyRef)
- bei System.Windows.Baml2006.Baml2006SchemaContext.ResolveAssembly(BamlAssembly bamlAssembly)
- bei System.Windows.Baml2006.Baml2006SchemaContext.ResolveBamlTypeToType(BamlType bamlType)
- bei System.Windows.Baml2006.Baml2006SchemaContext.ResolveBamlType(BamlType bamlType, Int16 typeId)
- bei System.Windows.Baml2006.Baml2006SchemaContext.GetXamlType(Int16 typeId)
- bei System.Windows.Baml2006.Baml2006Reader.Process_ElementStart()
- bei System.Windows.Baml2006.Baml2006Reader.Process_OneBamlRecord()
- bei System.Windows.Baml2006.Baml2006Reader.Process_BamlRecords()
- bei System.Windows.Baml2006.Baml2006Reader.Read()
- bei System.Windows.Markup.WpfXamlLoader.TransformNodes(XamlReader xamlReader, XamlObjectWriter xamlWriter, Boolean onlyLoadOneNode, Boolean skipJournaledProperties, Boolean shouldPassLineNumberInfo, IXamlLineInfo xamlLineInfo, IXamlLineInfoConsumer xamlLineInfoConsumer, XamlContextStack`1 stack, IStyleConnector styleConnector)
- bei System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
- InnerException:
Möcht mir jemand das erklären? Hab nämlich exakt keine Ahnung, warum der mir den Fehler wirft. Hab letztens das Async CTP v3 installiert, kann aber eig. nicht daran liegen.
Projekt:
App.config nur damit ich SQLite nutzen kann.
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von „AliveDevil“ ()