locked
Which version of Visual Studio 2010 is required for Pex?

    Question

  • I am told that it is Visual studio 2010 professional or higher. However, when I try to save the tests, Visual Studio crashes and is restarted. A project file is created with some files that don't contain any of the tests. There reference to Microsoft.Pex.Framework doesn't exist and neither does the reference to NUnit.

    In the event viewer I get the following:

    The description for Event ID 0 from source VSTTExecution cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

    If the event originated on another computer, the display information had to be saved with the event.

    The following information was included with the event:

    (devenv.exe, PID 5568, Thread 1) TuipPackage.InitializeTestProjectPlugins: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.CodedUITestPackage, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
    File name: 'Microsoft.VisualStudio.QualityTools.CodedUITestPackage, PublicKeyToken=b03f5f7f11d50a3a'
       at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
       at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)
       at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
       at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
       at Microsoft.VisualStudio.TestTools.Tips.TuipPackage.TuipPackage.InitializeTestProjectPlugins()

    Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
    Running under executable  C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe
    --- A detailed error log follows.

    === Pre-bind state information ===
    LOG: User = USESOFT\david
    LOG: DisplayName = Microsoft.VisualStudio.QualityTools.CodedUITestPackage, PublicKeyToken=b03f5f7f11d50a3a
     (Partial)
    WRN: Partial binding information was supplied for an assembly:
    WRN: Assembly Name: Microsoft.VisualStudio.QualityTools.CodedUITestPackage, PublicKeyToken=b03f5f7f11d50a3a | Domain ID: 1
    WRN: A partial bind occurs when only part of the assembly display name is provided.
    WRN: This might result in the binder loading an incorrect assembly.
    WRN: It is recommended to provide a fully specified textual identity for the assembly,
    WRN: that consists of the simple name, version, culture, and public key token.
    WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
    LOG: Appbase = file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/
    LOG: Initial PrivatePath = NULL
    Calling assembly : (Unknown).
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe.Config
    LOG: Using host configuration file:
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
    LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.DLL.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/Microsoft.VisualStudio.QualityTools.CodedUITestPackage/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.DLL.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.DLL.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.QualityTools.CodedUITestPackage/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.DLL.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.DLL.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.QualityTools.CodedUITestPackage/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.DLL.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/CommonExtensions/Microsoft/TemplateProviders/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.DLL.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/CommonExtensions/Microsoft/TemplateProviders/Microsoft.VisualStudio.QualityTools.CodedUITestPackage/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.DLL.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.DLL.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.QualityTools.CodedUITestPackage/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.DLL.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/PrivateAssemblies/DataCollectors/x86/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.DLL.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/PrivateAssemblies/DataCollectors/x86/Microsoft.VisualStudio.QualityTools.CodedUITestPackage/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.DLL.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/CommonExtensions/Microsoft/Editor/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.DLL.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/CommonExtensions/Microsoft/Editor/Microsoft.VisualStudio.QualityTools.CodedUITestPackage/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.DLL.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.DLL.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.QualityTools.CodedUITestPackage/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.DLL.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.EXE.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/Microsoft.VisualStudio.QualityTools.CodedUITestPackage/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.EXE.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.EXE.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.QualityTools.CodedUITestPackage/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.EXE.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.EXE.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.QualityTools.CodedUITestPackage/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.EXE.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/CommonExtensions/Microsoft/TemplateProviders/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.EXE.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/CommonExtensions/Microsoft/TemplateProviders/Microsoft.VisualStudio.QualityTools.CodedUITestPackage/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.EXE.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.EXE.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.QualityTools.CodedUITestPackage/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.EXE.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/PrivateAssemblies/DataCollectors/x86/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.EXE.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/PrivateAssemblies/DataCollectors/x86/Microsoft.VisualStudio.QualityTools.CodedUITestPackage/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.EXE.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/CommonExtensions/Microsoft/Editor/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.EXE.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/CommonExtensions/Microsoft/Editor/Microsoft.VisualStudio.QualityTools.CodedUITestPackage/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.EXE.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.EXE.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.QualityTools.CodedUITestPackage/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.EXE.


    the message resource is present but the message is not found in the string/message table

    -------------------------------------------

     

    This seems to indicate that I need a higher version of Visual Studio.

     

    My environment is Windows 7 Enterprise 64 bits. Visual Studio Professional.

     

    TIA,

    D

     

     

    Thursday, April 14, 2011 8:48 AM