Fehler nach update auf VisualStudio 2012

Nachdem ich mein VisualStudio von 2008 auf VisualStudio 2012 aktualisierst habe. Konnte ich keine neuen Projekte in C++ mehr erstellen die Kompilierung scheitertet jedes mal. Selbst die beschriebene Änderung der Plattform brachte keinen Erfolg und ich erhielt immer noch die folgenden Fehlermeldungen:

Fehler 1 error C2065: 'LOAD_LIBRARY_SEARCH_SYSTEM32': nichtdeklarierter Bezeichner c:\program files (x86)\microsoft visual studio 11.0\vc\atlmfc\include\atlcore.h 633 1 MFCApplication3
Fehler 2 error C2061: Syntaxfehler: Bezeichner '__RPC__inout_xcount' c:\program files (x86)\microsoft visual studio 11.0\vc\atlmfc\include\atliface.h 3011 1 MFCApplication3
Fehler 3 error C2733: 'BSTR_UserMarshal' : Zweite C-Bindung für überladene Funktion nicht zulässig c:\program files (x86)\microsoft visual studio 11.0\vc\atlmfc\include\atliface.h 3011 1 MFCApplication3
Fehler 4 error C2061: Syntaxfehler: Bezeichner '__RPC__in_xcount' c:\program files (x86)\microsoft visual studio 11.0\vc\atlmfc\include\atliface.h 3012 1 MFCApplication3
Fehler 5 error C2733: 'BSTR_UserUnmarshal' : Zweite C-Bindung für überladene Funktion nicht zulässig c:\program files (x86)\microsoft visual studio 11.0\vc\atlmfc\include\atliface.h 3012 1 MFCApplication3
Fehler 6 error C2061: Syntaxfehler: Bezeichner '__RPC__inout_xcount' c:\program files (x86)\microsoft visual studio 11.0\vc\atlmfc\include\atliface.h 3016 1 MFCApplication3
Fehler 7 error C2733: 'HWND_UserMarshal' : Zweite C-Bindung für überladene Funktion nicht zulässig c:\program files (x86)\microsoft visual studio 11.0\vc\atlmfc\include\atliface.h 3016 1 MFCApplication3
Fehler 8 error C2061: Syntaxfehler: Bezeichner '__RPC__in_xcount' c:\program files (x86)\microsoft visual studio 11.0\vc\atlmfc\include\atliface.h 3017 1 MFCApplication3
Fehler 9 error C2733: 'HWND_UserUnmarshal' : Zweite C-Bindung für überladene Funktion nicht zulässig c:\program files (x86)\microsoft visual studio 11.0\vc\atlmfc\include\atliface.h 3017 1 MFCApplication3
Fehler 10 error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt. c:\program files (x86)\windows kits\8.0\include\um\uianimation.h 2621 1 MFCApplication3
Fehler 11 error C2065: 'UI_E_VALUE_NOT_SET': nichtdeklarierter Bezeichner c:\program files (x86)\microsoft visual studio 11.0\vc\atlmfc\include\afxanimationhelper.h 411 1 MFCApplication3
Fehler 12 error C2065: 'UI_E_VALUE_NOT_SET': nichtdeklarierter Bezeichner c:\program files (x86)\microsoft visual studio 11.0\vc\atlmfc\include\afxanimationhelper.h 441 1 MFCApplication3
Fehler 13 error C2011: 'DXGI_FORMAT': 'enum' Typneudefinition c:\program files\microsoft sdks\windows\v6.0a\include\dxgitype.h 85 1 MFCApplication3
Fehler 14 error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt. c:\program files (x86)\windows kits\8.0\include\um\d2d1.h 309 1 MFCApplication3
Fehler 15 error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt. c:\program files (x86)\windows kits\8.0\include\um\d2d1.h 707 1 MFCApplication3
Fehler 16 error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt. c:\program files (x86)\windows kits\8.0\include\um\d2d1.h 853 1 MFCApplication3
Fehler 17 error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt. c:\program files (x86)\windows kits\8.0\include\um\d2d1.h 923 1 MFCApplication3
Fehler 18 error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt. c:\program files (x86)\windows kits\8.0\include\um\d2d1.h 1007 1 MFCApplication3
Fehler 19 error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt. c:\program files (x86)\windows kits\8.0\include\um\d2d1.h 1036 1 MFCApplication3
Fehler 20 error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt. c:\program files (x86)\windows kits\8.0\include\um\d2d1.h 1092 1 MFCApplication3
Fehler 21 error C2143: Syntaxfehler: Es fehlt ';' vor '*' c:\program files (x86)\microsoft visual studio 11.0\vc\atlmfc\include\afxwin.h 5584 1 MFCApplication3
Fehler 22 error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt. c:\program files (x86)\microsoft visual studio 11.0\vc\atlmfc\include\afxwin.h 5584 1 MFCApplication3
Warnung 23 warning C4183: 'GetITaskbarList3': Rückgabetyp fehlt; Memberfunktion, die 'int' zurückgibt wird angenommen c:\program files (x86)\microsoft visual studio 11.0\vc\atlmfc\include\afxwin.h 5584 1 MFCApplication3
Fehler 24 error C2143: Syntaxfehler: Es fehlt ';' vor '*' c:\program files (x86)\microsoft visual studio 11.0\vc\atlmfc\include\afxglobals.h 317 1 MFCApplication3
Fehler 25 error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt. c:\program files (x86)\microsoft visual studio 11.0\vc\atlmfc\include\afxglobals.h 317 1 MFCApplication3
Warnung 26 warning C4183: 'GetITaskbarList3': Rückgabetyp fehlt; Memberfunktion, die 'int' zurückgibt wird angenommen c:\program files (x86)\microsoft visual studio 11.0\vc\atlmfc\include\afxglobals.h 317 1 MFCApplication3
27 IntelliSense: Mindestens eine Instanz der überladenen Funktion ""ATL::operator new"" weist eine "C"-Verknüpfung auf. c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\new.h 80 24 MFCApplication3
28 IntelliSense: Mindestens eine Instanz der überladenen Funktion ""ATL::operator delete"" weist eine "C"-Verknüpfung auf. c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\new.h 82 23 MFCApplication3
29 IntelliSense: Diese Deklaration weist möglicherweise keine externe "C"-Verknüpfung auf. c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\atldef.h 691 1 MFCApplication3
30 IntelliSense: Diese Deklaration weist möglicherweise keine externe "C"-Verknüpfung auf. c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\atldef.h 701 1 MFCApplication3
31 IntelliSense: Der Bezeichner ""__RPC__inout_xcount"" ist nicht definiert. c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\atliface.h 3011 75 MFCApplication3
32 IntelliSense: Es wurde eine ")" erwartet. c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\atliface.h 3011 95 MFCApplication3
33 IntelliSense: Es wurde eine ")" erwartet. c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\atliface.h 3011 98 MFCApplication3
34 IntelliSense: Der Bezeichner ""__RPC__in_xcount"" ist nicht definiert. c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\atliface.h 3012 75 MFCApplication3
35 IntelliSense: Es wurde eine ")" erwartet. c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\atliface.h 3012 92 MFCApplication3
36 IntelliSense: Es wurde eine ")" erwartet. c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\atliface.h 3012 95 MFCApplication3
37 IntelliSense: Der Bezeichner ""__RPC__inout_xcount"" ist nicht definiert. c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\atliface.h 3016 75 MFCApplication3
38 IntelliSense: Es wurde eine ")" erwartet. c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\atliface.h 3016 95 MFCApplication3
39 IntelliSense: Es wurde eine ")" erwartet. c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\atliface.h 3016 98 MFCApplication3
40 IntelliSense: Der Bezeichner ""__RPC__in_xcount"" ist nicht definiert. c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\atliface.h 3017 75 MFCApplication3
41 IntelliSense: Es wurde eine ")" erwartet. c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\atliface.h 3017 92 MFCApplication3
42 IntelliSense: Es wurde eine ")" erwartet. c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\atliface.h 3017 95 MFCApplication3

mfc_fehler

Ich konnte die Lösung hier finden. Bzw. den entscheiden Hinweis zu den Einstellungspfaden von visual studio %LOCALAPPDATA%\Microsoft\MSBuild\v4.0\

Man muss in diesem Ordner nur die 4.0 in z.B. 4.0_ umbennen und VisualStudio neustarten dann werden diese Settings neuerstellt. Die Projekte können Kompiliert werden.vs_change