New Posts New Posts RSS Feed: ibmmx not generated
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

ibmmx not generated

 Post Reply Post Reply
Author
giotis View Drop Down
Groupie
Groupie
Avatar

Joined: 26-Apr-2012
Location: Greece
Posts: 53
Post Options Post Options   Quote giotis Quote  Post ReplyReply Direct Link To This Post Topic: ibmmx not generated
    Posted: 29-Oct-2012 at 10:48pm
Hello,

I am trying to migrate from 2010 to 2012
I have completely uninstall DF 2010

Everything works very well in TempHire, no problem
but
when trying to create an application manually (mirror of TempHire without changes)

denies the application to create ibmmx.

The strange thing is that when I delete the ibmmx 's from original TempHire thoose re-created without problem.

Can someone tell me the wrong?

ps. I use only the nuget to import the assemblies
      and the PostSharp v2.1.7.22 install it clear.
      I use 64 bit OS
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 30-Oct-2012 at 9:18am
Check the "Build" output window to see what it shows for the EntityModelMetadataDeploy task.  It may indicate the problem.
 
Also make sure that you've installed the DevForce 2012 Code First NuGet package to the model project.  The package will install the DevForce 2012 Core package, along with PostSharp and EntityFramework.   It also adds the DevForce.cf file and modifies the project file to import the task.   The PostSharp package will also modify the project file to ensure the assembly is "enhanced".     
Back to Top
giotis View Drop Down
Groupie
Groupie
Avatar

Joined: 26-Apr-2012
Location: Greece
Posts: 53
Post Options Post Options   Quote giotis Quote  Post ReplyReply Direct Link To This Post Posted: 30-Oct-2012 at 9:42am
"Build" output window dont report any EntityModelMetadataDeploy task.
Only three warnings about PostSharp - my project dont have PostSharp Tab to SkipPostSharp=true

Zeus named my project

1>------ Build started: Project: Zeus.DomainModel, Configuration: Debug Any CPU ------
2>------ Build started: Project: Zeus.Security, Configuration: Debug Any CPU ------
1>  : message : PostSharp complete -- 0 errors, 0 warnings, served in 1407 ms
1>  Zeus.DomainModel -> C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\Zeus.DomainModel\bin\Debug\Zeus.DomainModel.dll
1>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\sqlceca40.dll
1>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\sqlcecompact40.dll
1>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\sqlceer40EN.dll
1>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\sqlceme40.dll
1>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\sqlceqp40.dll
1>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\sqlcese40.dll
1>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\Microsoft.VC90.CRT\Microsoft.VC90.CRT.manifest
1>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\Microsoft.VC90.CRT\msvcr90.dll
1>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\Microsoft.VC90.CRT\README_ENU.txt
1>  Αντιγράφηκαν 9 αρχεία
1>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\sqlceca40.dll
1>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\sqlcecompact40.dll
1>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\sqlceer40EN.dll
1>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\sqlceme40.dll
1>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\sqlceqp40.dll
1>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\sqlcese40.dll
1>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\Microsoft.VC90.CRT\Microsoft.VC90.CRT.manifest
1>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\Microsoft.VC90.CRT\msvcr90.dll
1>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\Microsoft.VC90.CRT\README_ENU.txt
1>  Αντιγράφηκαν 9 αρχεία
2>  : message : PostSharp complete -- 0 errors, 0 warnings, served in 1272 ms
2>  Zeus.Security -> C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\Zeus.Security\bin\Debug\Zeus.Security.dll
2>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\sqlceca40.dll
2>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\sqlcecompact40.dll
2>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\sqlceer40EN.dll
2>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\sqlceme40.dll
2>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\sqlceqp40.dll
2>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\sqlcese40.dll
2>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\Microsoft.VC90.CRT\Microsoft.VC90.CRT.manifest
2>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\Microsoft.VC90.CRT\msvcr90.dll
2>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\Microsoft.VC90.CRT\README_ENU.txt
2>  Αντιγράφηκαν 9 αρχεία
2>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\sqlceca40.dll
2>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\sqlcecompact40.dll
2>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\sqlceer40EN.dll
2>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\sqlceme40.dll
2>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\sqlceqp40.dll
2>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\sqlcese40.dll
2>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\Microsoft.VC90.CRT\Microsoft.VC90.CRT.manifest
2>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\Microsoft.VC90.CRT\msvcr90.dll
2>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\Microsoft.VC90.CRT\README_ENU.txt
2>  Αντιγράφηκαν 9 αρχεία
3>------ Build started: Project: Zeus.DomainServices, Configuration: Debug Any CPU ------
4>------ Build started: Project: Zeus.Common, Configuration: Debug Any CPU ------
4>POSTSHARP : postsharp warning PS0131: The module 'Zeus.Common.dll' does not contain any aspect or other transformation. For improved build-time performance, consider disabling PostSharp for this module by setting the compilation symbol (aka constant) 'SkipPostSharp' in your project, or set the MSBuild property 'SkipPostSharp=True'.
4>  : message : PostSharp complete -- 0 errors, 1 warnings, served in 701 ms
4>  Zeus.Common -> C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\Zeus.Common\bin\Debug\Zeus.Common.dll
3>POSTSHARP : postsharp warning PS0131: The module 'Zeus.DomainServices.dll' does not contain any aspect or other transformation. For improved build-time performance, consider disabling PostSharp for this module by setting the compilation symbol (aka constant) 'SkipPostSharp' in your project, or set the MSBuild property 'SkipPostSharp=True'.
3>  : message : PostSharp complete -- 0 errors, 1 warnings, served in 423 ms
3>  Zeus.DomainServices -> C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\Zeus.DomainServices\bin\Debug\Zeus.DomainServices.dll
5>------ Build started: Project: Zeus, Configuration: Debug Any CPU ------
5>POSTSHARP : postsharp warning PS0131: The module 'Zeus.exe' does not contain any aspect or other transformation. For improved build-time performance, consider disabling PostSharp for this module by setting the compilation symbol (aka constant) 'SkipPostSharp' in your project, or set the MSBuild property 'SkipPostSharp=True'.
5>  : message : PostSharp complete -- 0 errors, 1 warnings, served in 710 ms
5>  Zeus -> C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\Zeus\bin\Debug\Zeus.exe
5>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\sqlceca40.dll
5>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\sqlcecompact40.dll
5>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\sqlceer40EN.dll
5>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\sqlceme40.dll
5>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\sqlceqp40.dll
5>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\sqlcese40.dll
5>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\Microsoft.VC90.CRT\Microsoft.VC90.CRT.manifest
5>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\Microsoft.VC90.CRT\msvcr90.dll
5>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\Microsoft.VC90.CRT\README_ENU.txt
5>  Αντιγράφηκαν 9 αρχεία
5>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\sqlceca40.dll
5>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\sqlcecompact40.dll
5>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\sqlceer40EN.dll
5>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\sqlceme40.dll
5>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\sqlceqp40.dll
5>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\sqlcese40.dll
5>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\Microsoft.VC90.CRT\Microsoft.VC90.CRT.manifest
5>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\Microsoft.VC90.CRT\msvcr90.dll
5>  C:\Users\alan\_C#_Tests\Universe\Sample\Zeus\packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\Microsoft.VC90.CRT\README_ENU.txt
5>  Αντιγράφηκαν 9 αρχεία
========== Build: 5 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Back to Top
giotis View Drop Down
Groupie
Groupie
Avatar

Joined: 26-Apr-2012
Location: Greece
Posts: 53
Post Options Post Options   Quote giotis Quote  Post ReplyReply Direct Link To This Post Posted: 30-Oct-2012 at 9:55am
other project the same

I removed the ibmmx from CodeFirstWalk.Model and dont regenareted

and of course install Code First NuGet package

1>------ Rebuild All started: Project: BaseClass, Configuration: Debug Any CPU ------
1>  All packages listed in packages.config are already installed.
1>  : message : PostSharp complete -- 0 errors, 0 warnings, served in 951 ms
1>  BaseClass -> C:\Users\alan\_C#_Tests\ibmmx\CodeFirstWalk_BaseClass_in_separate_assembly\CodeFirstWalk\BaseClass\bin\Debug\BaseClass.dll
2>------ Rebuild All started: Project: CodeFirstWalk.Model, Configuration: Debug Any CPU ------
2>  All packages listed in packages.config are already installed.
2>  : message : PostSharp complete -- 0 errors, 0 warnings, served in 991 ms
2>  CodeFirstWalk.Model -> C:\Users\alan\_C#_Tests\ibmmx\CodeFirstWalk_BaseClass_in_separate_assembly\CodeFirstWalk\CodeFirstWalk.Model\bin\Debug\CodeFirstWalk.Model.dll
3>------ Rebuild All started: Project: CodeFirstWalk, Configuration: Debug x86 ------
3>  All packages listed in packages.config are already installed.
3>  CodeFirstWalk -> C:\Users\alan\_C#_Tests\ibmmx\CodeFirstWalk_BaseClass_in_separate_assembly\CodeFirstWalk\CodeFirstWalk\bin\Debug\CodeFirstWalk.exe
========== Rebuild All: 3 succeeded, 0 failed, 0 skipped ==========

Back to Top
giotis View Drop Down
Groupie
Groupie
Avatar

Joined: 26-Apr-2012
Location: Greece
Posts: 53
Post Options Post Options   Quote giotis Quote  Post ReplyReply Direct Link To This Post Posted: 30-Oct-2012 at 10:01am
not build but Debug Output window said

'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities\11.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities.Sync\11.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime\11.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Runtime.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\alan\_C#_Tests\ibmmx\CodeFirstWalk_BaseClass_in_separate_assembly\CodeFirstWalk\CodeFirstWalk\bin\Debug\CodeFirstWalk.vshost.exe'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.Composition\v4.0_4.0.0.0__b77a5c561934e089\System.ComponentModel.Composition.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.Entity\v4.0_4.0.0.0__b77a5c561934e089\System.Data.Entity.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_el_b77a5c561934e089\mscorlib.resources.dll'
The thread 'vshost.NotifyLoad' (0x1848) has exited with code 0 (0x0).
The thread 'vshost.LoadReference' (0x17f4) has exited with code 0 (0x0).
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\alan\_C#_Tests\ibmmx\CodeFirstWalk_BaseClass_in_separate_assembly\CodeFirstWalk\CodeFirstWalk\bin\Debug\CodeFirstWalk.exe', Symbols loaded.
Step into: Stepping over method without symbols 'CodeFirstWalk.App.App'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework.Aero\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.Aero.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework.resources\v4.0_4.0.0.0_el_31bf3856ad364e35\PresentationFramework.resources.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\alan\_C#_Tests\ibmmx\CodeFirstWalk_BaseClass_in_separate_assembly\CodeFirstWalk\CodeFirstWalk\bin\Debug\CodeFirstWalk.Model.dll', Symbols loaded.
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\alan\_C#_Tests\ibmmx\CodeFirstWalk_BaseClass_in_separate_assembly\CodeFirstWalk\CodeFirstWalk\bin\Debug\IdeaBlade.EntityModel.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\alan\_C#_Tests\ibmmx\CodeFirstWalk_BaseClass_in_separate_assembly\CodeFirstWalk\CodeFirstWalk\bin\Debug\IdeaBlade.Core.dll'
1: Starting application
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\alan\_C#_Tests\ibmmx\CodeFirstWalk_BaseClass_in_separate_assembly\CodeFirstWalk\CodeFirstWalk\bin\Debug\IdeaBlade.Validation.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\System.Transactions.dll'
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'Microsoft.GeneratedCode'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'Anonymously Hosted DynamicMethods Assembly'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\alan\_C#_Tests\ibmmx\CodeFirstWalk_BaseClass_in_separate_assembly\CodeFirstWalk\CodeFirstWalk\bin\Debug\IdeaBlade.Linq.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\alan\_C#_Tests\ibmmx\CodeFirstWalk_BaseClass_in_separate_assembly\CodeFirstWalk\CodeFirstWalk\bin\Debug\IdeaBlade.EntityModel.Edm.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\alan\_C#_Tests\ibmmx\CodeFirstWalk_BaseClass_in_separate_assembly\CodeFirstWalk\CodeFirstWalk\bin\Debug\IdeaBlade.EntityModel.Web.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\alan\_C#_Tests\ibmmx\CodeFirstWalk_BaseClass_in_separate_assembly\CodeFirstWalk\CodeFirstWalk\bin\Debug\IdeaBlade.EntityModel.Server.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\alan\_C#_Tests\ibmmx\CodeFirstWalk_BaseClass_in_separate_assembly\CodeFirstWalk\CodeFirstWalk\bin\Debug\BaseClass.dll', Symbols loaded.
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\alan\_C#_Tests\ibmmx\CodeFirstWalk_BaseClass_in_separate_assembly\CodeFirstWalk\CodeFirstWalk\bin\Debug\PostSharp.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\alan\_C#_Tests\ibmmx\CodeFirstWalk_BaseClass_in_separate_assembly\CodeFirstWalk\CodeFirstWalk\bin\Debug\IdeaBlade.Aop.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\alan\_C#_Tests\ibmmx\CodeFirstWalk_BaseClass_in_separate_assembly\CodeFirstWalk\CodeFirstWalk\bin\Debug\EntityFramework.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll'
The thread '<No Name>' (0xc3c) has exited with code 0 (0x0).
The thread '<No Name>' (0xfa8) has exited with code 0 (0x0).
2: Adding test data
A first chance exception of type 'IdeaBlade.Core.IdeaBladeException' occurred in IdeaBlade.EntityModel.Server.dll
A first chance exception of type 'IdeaBlade.Core.IdeaBladeException' occurred in IdeaBlade.EntityModel.Server.dll
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_4.0.0.0__b77a5c561934e089\SMDiagnostics.dll'
3: Server error: No datasource key found for this entity type: CodeFirstWalk.Model.Supplier
4: Saving new test data
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Internals.dll'
'CodeFirstWalk.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization.resources\v4.0_4.0.0.0_el_b77a5c561934e089\System.Runtime.Serialization.resources.dll'
A first chance exception of type 'System.Runtime.Serialization.SerializationException' occurred in System.Runtime.Serialization.dll
A first chance exception of type 'System.Runtime.Serialization.SerializationException' occurred in IdeaBlade.EntityModel.dll
5: Server error: Η χρήση του τύπου 'CodeFirstWalk.Model.Category' ως μια συλλογή get-only, δεν υποστηρίζεται με το NetDataContractSerializer.  Εξετάστε το ενδεχόμενο σημείωσης του τύπου με το χαρακτηριστικό CollectionDataContractAttribute ή το χαρακτηριστικό SerializableAttribute ή προσθέστε μια μέθοδο setter στην ιδιότητα.
6: Showing test data
A first chance exception of type 'IdeaBlade.Core.IdeaBladeException' occurred in IdeaBlade.EntityModel.Server.dll
A first chance exception of type 'IdeaBlade.Core.IdeaBladeException' occurred in IdeaBlade.EntityModel.Server.dll
A first chance exception of type 'System.NullReferenceException' occurred in CodeFirstWalk.exe
A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
7: Server error: No datasource key found for this entity type: CodeFirstWalk.Model.Product
A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in System.Xaml.dll
A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in PresentationFramework.dll
The program '[3956] CodeFirstWalk.vshost.exe: Program Trace' has exited with code 0 (0x0).
The program '[3956] CodeFirstWalk.vshost.exe: Managed (v4.0.30319)' has exited with code -1 (0xffffffff).

Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 30-Oct-2012 at 10:32am
Ok, it's the EntityModelMetadataDeploy task which generates the ibmmx file and without that nothing will work, so we need to determine why the task isn't being run.
 
Turn "build output verbosity" to normal, in the Options/Projects/Build and Run setting under the Tools menu, to ensure we see any messages generated by the task. 
 
If after doing this, you still don't see anything when building Zeus.DomainModel, check the following:
 - the project contains a DevForce.cf marker file
 - open the project file in a text editor and make sure it contains import statements for both PostSharp and DevForce, as shown here - http://drc.ideablade.com/devforce-2012/bin/view/Documentation/code-first-entity-classes#HInstallDevForceCodeFirstsupport
 
 
 
 
Back to Top
giotis View Drop Down
Groupie
Groupie
Avatar

Joined: 26-Apr-2012
Location: Greece
Posts: 53
Post Options Post Options   Quote giotis Quote  Post ReplyReply Direct Link To This Post Posted: 30-Oct-2012 at 11:39am
bravo congratulations!

I changed this line


  <Import Project="#_Tests%5CUniverse%5CSample%5CZeus%5Cpackages%5CIdeaBlade.DevForce.Aop.7.0.1-beta1%5Ctools%5CIdeaBlade.DevForce.Common.targets" Condition="Exists('#_Tests%5CUniverse%5CSample%5CZeus%5Cpackages%5CIdeaBlade.DevForce.Aop.7.0.1-beta1%5Ctools%5CIdeaBlade.DevForce.Common.targets')" />

with this line - manual

<Import Project="..\packages\IdeaBlade.DevForce.Aop.7.0.1-beta1\tools\IdeaBlade.DevForce.Common.targets"
      Condition="Exists('..\packages\IdeaBlade.DevForce.Aop.7.0.1-beta1\tools\IdeaBlade.DevForce.Common.targets')" />

and everything worked perfect

now

what must to do ?
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 30-Oct-2012 at 11:49am
Hmm, I'm not sure how that path got mixed up, we'll have to look at that.
 
I don't understand your last question.  Now that the ibmmx is generated, are you still seeing problems?
Back to Top
giotis View Drop Down
Groupie
Groupie
Avatar

Joined: 26-Apr-2012
Location: Greece
Posts: 53
Post Options Post Options   Quote giotis Quote  Post ReplyReply Direct Link To This Post Posted: 30-Oct-2012 at 11:55am
I mean that you found the solution ok

But the problem is how create it?
why create the wrong path?

every time I change it manually
?

thanks
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 30-Oct-2012 at 12:04pm
Good question, we haven't seen the problem with the path before, and do need to look into this.  Which version of the NuGet Package Manager do you have?  Are you using the new hierarchical configuration feature?
 
If you see the problem with other Code First model projects, then yes, you will need to change it manually until we get this resolved.
Back to Top
giotis View Drop Down
Groupie
Groupie
Avatar

Joined: 26-Apr-2012
Location: Greece
Posts: 53
Post Options Post Options   Quote giotis Quote  Post ReplyReply Direct Link To This Post Posted: 30-Oct-2012 at 12:35pm
yes I have the latest version
vs 2012 upgrade automatic the new versions

The problem occurs on new projects only.
When project must import new AOP assembly

thanks again
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 30-Oct-2012 at 4:03pm
Ok, it looks like the pound sign in your path 'C:\Users\alan\_C#_Tests...' isn't handled correctly by our Code First package.  We'll have this fixed in the coming release.
Back to Top
smi-mark View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 24-Feb-2009
Location: Dallas, Texas
Posts: 343
Post Options Post Options   Quote smi-mark Quote  Post ReplyReply Direct Link To This Post Posted: 05-Nov-2012 at 11:59am
I've had a similar issue (7.0.2) where installing CodeFirst did not update my project. I see a PostSharp.targets but no DevForce targets.
Back to Top
smi-mark View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 24-Feb-2009
Location: Dallas, Texas
Posts: 343
Post Options Post Options   Quote smi-mark Quote  Post ReplyReply Direct Link To This Post Posted: 05-Nov-2012 at 12:17pm
I re-added the NuGet packages and all seems to be good again.
Back to Top
Walid View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14-Nov-2010
Posts: 161
Post Options Post Options   Quote Walid Quote  Post ReplyReply Direct Link To This Post Posted: 12-Nov-2012 at 9:12am
I also had a similar problem.
Upgrading from 7.0.1 beta to 7.0.2 didn't upgrade the import section. In my csproj I still had reference on IdeaBlade.DevForce.Aop.7.0.1-beta1 IdeaBlade.DevForce.Common.targets. re-adding the Code first package fixed it.
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 12-Nov-2012 at 10:37am
We haven't seen this problem in our testing, but I'm not sure I want to chalk it up to a beta problem.    Can you provide any specifics - such as NuGet version; whether the Package Manager console was open; were you doing a Package Restore; did you explicitly uninstall the old packages; ....? 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down