Douglas Purdy

EDM 3.0: Bring EDM and “M” together

with 16 comments

One of the biggest things we have done in recent months is start to bring EDM and “M” together into one data model.

I could spend a bunch of time talking about the design principles behind that work, but I want to be as concrete as I can and get down to something that help you (if you are a .NET developer) today.

In a nutshell, “M” replaces the EDMX XML file that you are no doubt familiar with if you have used either the Entity Framework or Data Services.

Said differently, we have a nice human-friendly DSL that replaces a human-hostile XML file.

In addition, this nice, warm and friendly DSL can both generate your database and the EF classes you need to program against the database.

Before I talk about how this works, I want to say one thing:

EF and DS are at the knee of the adoption curve and we are not going to do anything to slow down that adoption; so rest assured that we are committed bring EDM and “M” together in a way that places the upmost importance on existing and future investments in EF and DS.

With that said, let’s look at a simple example (if you want to follow along, download the bits first)…

1. Look at all the “Oslo” VS projects that we have in the CTP bits (the name landed too late to get the bits updated).

image

2.  Let’s create a simple “M” model

image

3. Set the connection string in the project properties

image

4. Deploy (this will create the database and the CLR classes you need)

image

image

5. Write some code against the generated classes

image

6. Run the App

image

8. Under the covers (you can look in the obj folder to see what we generate)

image

9. Really under the covers, especially if you don’t like to use an IDE (you know who you are)

image

This uses a command-line option for m.exe and tool that will generate the EF classes for you.

I am fairly sure that someone on the language team is going to throw something at me when they read this.

image

When Sells and I talked about this feature at PDC, it resulted in at least two separate rounds of applause from the audience and I know it was a highlight (one of many) at the Box/Anderson anchor session.

You can get more details on this at http://msdn.microsoft.com/en-us/library/ee713219(VS.85).aspx.

November 25th, 2009 at 7:03 am

Posted in Data, Microsoft, Oslo, SQL Server Modeling, Software Development

16 Responses to 'EDM 3.0: Bring EDM and “M” together'

Subscribe to comments with RSS or TrackBack to 'EDM 3.0: Bring EDM and “M” together'.

  1. This is great stuff, much simpler than I thought, eager to try it out soon.

    Zubair.NET!

    25 Nov 09 at 07:10

  2. Looks promising. I assume that the database is optional??
    Are there T4 templates that MEX uses to generate the code?

    Joe Wood

    25 Nov 09 at 13:56

  3. I love relational database theory and concepts, but I hate the SQL language, and how awkward SQL databases are to develop against and deploy. Microsoft got a lot of my respect with LINQ, but it only solves a small part of the problem. It looks like you guys are continuing to attack this, so good luck to you.

    contextfree

    25 Nov 09 at 23:22

  4. type people.cs | more

    :P How about:

    more people.cs

    Matthew Wilson

    27 Nov 09 at 07:07

  5. Yes, this uses a T4 template. In the CTP the mex.exe tool looks for a class with a specific signature instead of hosting the T4 engine at runtime. You can use the new self-host T4 compilation to create these classes.

    chris anderson

    28 Nov 09 at 00:06

  6. I tried this, and trying to create an Oslo class library is consistently crashing (well, shutting down; it doesn’t appear to be an official “crash” of the kind that goes through Watson etc.) Visual Studio (2010 beta 2, on W7 32-bit).

    contextfree

    30 Nov 09 at 05:27

  7. @contextfree

    this is the second report that I have gotten. can you attach the debugger and send me a stack trace? douglasp@microsoft.com

    douglasp

    30 Nov 09 at 16:42

  8. [...] asked me a question related to my EDM 3.0: Bring EDM and “M” together post that I wanted to answer [...]

  9. When I try to create an Oslo class library project, Visual Studio 2010 Beta 2 Ultimate just shuts down as reported above. I am using windows 7 64 bit. I know how to debug a Visual Studio applications, but can you point me to a link on how to debug Visual Studio itself?

    brucer

    10 Dec 09 at 22:06

  10. @brucer: you can open another VS instance and attach that debugger to the first VS instance. When it throws an exception, you can catch it. i think the team is still working with shawn to figure out what is happening on his machine. the last i heard there was some thing about installing N betas/ctps into VS that could be causing this.

    douglasp

    11 Dec 09 at 08:57

  11. how use the parameters (/templateAssemblyPath /templateClass )of mex.exe,
    has some demo or doc?

    linze

    11 Dec 09 at 09:49

  12. @linze I’ll ping the community tool and the Anderson.

    douglasp

    11 Dec 09 at 19:02

  13. I attempted to debug the issue associated with not being able to create an Oslo Class Library Project, with the following results:

    I started two instances of Visual Studio 2010 Ultimate Beta 2:
    (1) The first instance is the instance being debugged. It will attempt to create a new Oslo Class Library Project but will just close without any error message.
    (2) The second instance is the instance performing the debugging.

    I enabled IntelliTrace for IntelliTrace events only in the instance performing the debugging.

    I attempted to create an Oslo Class Library Project in the instance being debugged.

    I received the following exception message in the instance performing the debugging:
    System.ExecutionEngineException was unhandled
    Message=Exception of type ‘System.ExecutionEngineException’ was thrown.
    InnerException:

    I also noticed the following message in the instance performing the debugging:
    IntelliTrace is not available for non-x86 architectures. Change your platform to enable IntelliTrace debugging.

    My architecture is:
    Intel(R) Core(TM) i7 CPU Q 820 @ 1.73GHz 1.73 GHz

    I then continued debugging, the instance being debugged closed, and I received the following output in the instance performing the debugging:

    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Platform.AppDomainManager\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Platform.AppDomainManager.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Microsoft.VisualStudio.Gel.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\assembly\GAC\Microsoft.VisualStudio.OLE.Interop\7.1.40304.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.OLE.Interop.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\assembly\GAC\Microsoft.VisualStudio.Shell.Interop.10.0\10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Shell.Interop.10.0.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_32\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Microsoft.VisualStudio.Shell.UI.Internal.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Microsoft.VisualStudio.Shell.UI.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\en\Microsoft.VisualStudio.Shell.UI.Internal.resources.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\assembly\GAC\Microsoft.VisualStudio.Shell.Interop.8.0\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Shell.Interop.8.0.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Shell.10.0\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Shell.10.0.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework.Aero\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.Aero.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Microsoft.VisualStudio.Platform.WindowManagement.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\assembly\GAC\Microsoft.VisualStudio.Shell.Interop\7.1.40304.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Shell.Interop.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\assembly\GAC\Microsoft.VisualStudio.Shell.Interop.9.0\9.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Shell.Interop.9.0.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Design\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Design.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Microsoft.VisualStudio.Shell.ViewManager.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\assembly\GAC\EnvDTE\8.0.0.0__b03f5f7f11d50a3a\EnvDTE.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\assembly\GAC\EnvDTE80\8.0.0.0__b03f5f7f11d50a3a\EnvDTE80.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\en\Microsoft.VisualStudio.Platform.WindowManagement.resources.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_32\Microsoft.VisualStudio.Settings\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Settings.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Microsoft\RiaTools\Intellisense\Microsoft.VisualStudio.RiaServices.Intellisense.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\CommonExtensions\Microsoft\Editor\Microsoft.VisualStudio.Editor.Implementation.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\assembly\GAC\Microsoft.VisualStudio.TextManager.Interop\7.1.40304.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.TextManager.Interop.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\assembly\GAC\Microsoft.VisualStudio.TextManager.Interop.8.0\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.TextManager.Interop.8.0.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\assembly\GAC_MSIL\Microsoft.MSXML\8.0.0.0__b03f5f7f11d50a3a\Microsoft.MSXML.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\CommonExtensions\Microsoft\Editor\Microsoft.VisualStudio.Text.Data.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\CommonExtensions\Microsoft\Editor\Microsoft.VisualStudio.CoreUtility.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\CommonExtensions\Microsoft\Editor\Microsoft.VisualStudio.Text.Logic.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.ComponentModelHost.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.ComponentModelHost.Implementation.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.Composition\v4.0_4.0.0.0__b77a5c561934e089\System.ComponentModel.Composition.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.ExtensibilityHosting.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.CommonIDE\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.CommonIDE.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.ExtensionManager.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.ExtensionManager.Implementation.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\assembly\GAC\Microsoft.VisualStudio.VSHelp80\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.VSHelp80.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.FileDiscovery.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\CommonExtensions\Microsoft\Editor\Microsoft.VisualStudio.Platform.VSEditor.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\CommonExtensions\Microsoft\Editor\Microsoft.VisualStudio.Platform.VSEditor.Interop.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘MetadataViewProxies_ece18157-d222-41dc-bfcb-30b0c35529ae’
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\CommonExtensions\Microsoft\Editor\Microsoft.VisualStudio.UI.Undo.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\CommonExtensions\Microsoft\Editor\Microsoft.VisualStudio.Text.UI.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\CommonExtensions\Microsoft\Editor\Microsoft.VisualStudio.Editor.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\CommonExtensions\Microsoft\Editor\Microsoft.VisualStudio.Text.UI.Wpf.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.Text.Internal.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\CommonExtensions\Platform\Debugger\VsDebugPresentationPackage.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\assembly\GAC\Microsoft.VisualStudio.VSHelp\7.0.3300.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.VSHelp.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\UIAutomationProvider\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationProvider.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\assembly\GAC\Microsoft.VisualStudio.CommandBars\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.CommandBars.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\en\Microsoft.VisualStudio.Shell.UI.resources.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Shell.Immutable.10.0\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Shell.Immutable.10.0.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    The thread ” (0×1a74) has exited with code 0 (0×0).
    The thread ” (0×1bec) has exited with code 0 (0×0).
    The thread ” (0×1bc4) has exited with code 0 (0×0).
    The thread ” (0xb04) has exited with code 0 (0×0).
    The thread ” (0xecc) has exited with code 0 (0×0).
    The thread ” (0×1a5c) has exited with code 0 (0×0).
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Accessibility\v4.0_4.0.0.0__b03f5f7f11d50a3a\Accessibility.dll’
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Microsoft.VisualStudio.ImportProjectFolderWizard.dll’
    Entering constructor for: Microsoft.VsWizards.ImportProjectFolderWizard.NewProjectFromExistingPackage
    Entering Initialize() of: Microsoft.VsWizards.ImportProjectFolderWizard.NewProjectFromExistingPackage
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.Dialogs.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.ExtensionsExplorer.UI.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.ExtensionsExplorer.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\CommonExtensions\Microsoft\TemplateProviders\Microsoft.VisualStudio.TemplateProviders.Implementation.dll’
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationUI\v4.0_4.0.0.0__31bf3856ad364e35\PresentationUI.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Build.Utilities.v4.0\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.Build.Utilities.v4.0.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    devenv.exe Information: 0 : InstalledTemplatesProvider: returning property: DialogContext
    devenv.exe Information: 0 : InstalledTemplatesProvider: returning property: TemplateDir
    devenv.exe Information: 0 : InstalledTemplatesProvider: returning property: Flags
    devenv.exe Information: 0 : InstalledTemplatesProvider: returning property: FrameworkVersion
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.Debugger.Interop.Internal.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Remoting\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Remoting.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\assembly\GAC\Microsoft.VisualStudio.Debugger.InteropA\9.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.InteropA.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\stanpackage.dll’
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.TestImpact.AutoPackage.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.TestImpact.Common.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\assembly\GAC\EnvDTE100\10.0.0.0__b03f5f7f11d50a3a\EnvDTE100.dll’
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\assembly\GAC\EnvDTE90\9.0.0.0__b03f5f7f11d50a3a\EnvDTE90.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Microsoft.VisualStudio.TemplateWizard.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.TemplateWizardInterface\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.TemplateWizardInterface.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Microsoft.VisualStudio.Diagnostics.Measurement.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\assembly\GAC\Microsoft.VisualStudio.TextManager.Interop.10.0\10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.TextManager.Interop.10.0.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\CommonExtensions\Web\Exports\Microsoft.VisualStudio.Web.Exports.dll’
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Microsoft.VisualStudio.Web.HTML.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Microsoft.VisualStudio.Web.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Build\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.Build.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Build.Framework\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.Build.Framework.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Oslo\1.0\bin\Microsoft.M.VsPlugin.dll’
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Package.LanguageService.10.0\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Package.LanguageService.10.0.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Oslo\1.0\bin\Microsoft.Intellipad.Core.dll’
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Oslo\1.0\bin\Microsoft.Intellipad.Editor.dll’
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Oslo\1.0\bin\Microsoft.M.LanguageServices.dll’
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Oslo\1.0\bin\Microsoft.Oslo.Internal.dll’
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Oslo\1.0\bin\Microsoft.Intellipad.Framework.dll’
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘Anonymously Hosted DynamicMethods Assembly’
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\UIAutomationTypes\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationTypes.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Oslo\1.0\bin\System.Dataflow.dll’
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Oslo\1.0\bin\Microsoft.M.dll’
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Oslo\1.0\bin\Xaml.dll’
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Build.Engine\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.Build.Engine.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.ProjectAggregator\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.ProjectAggregator.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_32\CustomMarshalers\v4.0_4.0.0.0__b03f5f7f11d50a3a\CustomMarshalers.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Editors\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Editors.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.AppDesigner\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.AppDesigner.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualBasic\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.ManagedInterfaces.WCF\9.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.ManagedInterfaces.WCF.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.WCFReference.Interop\9.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.WCFReference.Interop.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.XmlEditor.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VSDesigner\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VSDesigner.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Shell.Design\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Shell.Design.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Build.Tasks.v4.0\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.Build.Tasks.v4.0.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    The thread ‘Logging Thread’ (0×192c) has exited with code 0 (0×0).
    The thread ‘Logging Thread’ (0×13cc) has exited with code 0 (0×0).
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Design\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Design.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\assembly\GAC\Microsoft.VisualStudio.Designer.Interfaces\1.0.5000.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Designer.Interfaces.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Microsoft.VisualStudio.CSharp.Services.Language.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Microsoft.VisualStudio.CSharp.Services.Language.Interop.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Microsoft.Data.Entity.Design.BootstrapPackage.dll’
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Microsoft\VC\ClassWizard\10.0\ClwWizard.dll’
    Entering constructor for: Microsoft.VCClassWizard.ClassWizardPackage
    Entering Initialize() of: Microsoft.VCClassWizard.ClassWizardPackage
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Windows\assembly\GAC\VSLangProj\7.0.3300.0__b03f5f7f11d50a3a\VSLangProj.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
    ‘devenv.exe’ (Managed (v4.0.21006)): Loaded ‘C:\Program Files (x86)\Microsoft Oslo\1.0\bin\Microsoft.M.BuildTask.dll’
    The program ‘[4604] devenv.exe: Managed (v4.0.21006)’ has exited with code -2146233082 (0×80131506).

    I tried to run the debugger with ‘Just My Code’ disabled, but the instance performing the debugging became unresponsive and had to be termintaed.

    brucer

    12 Dec 09 at 06:42

  14. Just to follow up on the issue raised here, it was a sticky one but we finally tracked down the problem. I wrote some solutions out on a forum thread here: http://social.msdn.microsoft.com/Forums/en-US/oslo/thread/839f1fa8-99ac-4e8f-83ac-ae5b4de1d03b

    .Kraig

    Kraig Brockschmidt

    22 Jan 10 at 22:56

  15. In sqlserver model service Repository, has table [Repository].[Language.Edm].[EdmEntityTypes] and [Repository].[Language.Edm].[EdmMappings], what scenarios use this table? and can mex.exe or other tools intall edm info to Repository? thanks!

    linze

    6 Mar 10 at 09:16

  16. [...] out more about Oslo and the Entity Framework in this interview with Danny Simmons and on Douglas Purdy’s Blog. What do you think? Possibly related posts: (automatically generated)Entity Framework 4.0 Is [...]

Leave a Reply