none
a WPF XBAP project compiling issue

    Question


  •  Hi, all:

          I found my WPF XBAP project take ten minutes on compiling, but it at most ten seconds before. I create a new empty WPF XBAP project, I got the same issue. I tested this issue with VS2008, VS2010, I got this issue on win7 professional Simplified Chinese edition, who can tell me why?




    Wednesday, January 23, 2013 2:43 AM

All replies

  • So the obvious question is what changed from Before?

    JP Cowboy Coders Unite!

    Wednesday, January 23, 2013 4:28 AM
  • nothing changed.
    Wednesday, January 23, 2013 6:22 AM
  • You've restarted the machine?
    Wednesday, January 23, 2013 6:26 AM
  • Already restarted. even if create a new empty WPF browser application project, I got the same issue. right click project property, build, suspend almost ten minutes, I can do nothing at this time, I don't know why.
    Wednesday, January 23, 2013 6:37 AM
  • Say anything interesting in the Output window?

    Should have stuff like this....

    ------ Build started: Project: Lovatts, Configuration: Debug x86 ------
      Lovatts -> C:\Visual Studio 2010 Framework\Lovatts\Lovatts\bin\x86\Debug\Lovatts.dll
    ------ Build started: Project: MyGeneration.dOOdads_2005, Configuration: Debug x86 ------
      MyGeneration.dOOdads_2005 -> C:\Program Files (x86)\MyGeneration13\Architectures\dOOdads\CSharp\Lovatts.MyGeneration.dOOdads\bin\x86\Debug\MyGeneration.dOOdads_2005.dll
    ------ Build started: Project: Vlc.DotNet.Core.Interops, Configuration: Debug Any CPU ------
      Vlc.DotNet.Core.Interops -> C:\Visual Studio 2010 Framework\3rd Party\VLC\Vlc.DotNet\Vlc.DotNet.Core.Interops\bin\Debug\Vlc.DotNet.Core.Interops.dll
    ------ Build started: Project: Lovatts.MVVM, Configuration: Debug Any CPU ------
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Visual Studio 2010 Framework\Lovatts\Lovatts\bin\x86\Debug\Lovatts.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
      Lovatts.MVVM -> C:\Visual Studio 2010 Framework\Lovatts\Lovatts.MVVM\bin\Debug\Lovatts.MVVM.dll
    ------ Build started: Project: Vlc.DotNet.Core, Configuration: Debug Any CPU ------
      Vlc.DotNet.Core -> C:\Visual Studio 2010 Framework\3rd Party\VLC\Vlc.DotNet\Vlc.DotNet.Core\bin\Debug\Vlc.DotNet.Core.dll
    ------ Build started: Project: Lovatts.Database, Configuration: Debug Any CPU ------
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Visual Studio 2010 Framework\Lovatts\Lovatts\bin\x86\Debug\Lovatts.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Program Files (x86)\MyGeneration13\Architectures\dOOdads\CSharp\Lovatts.MyGeneration.dOOdads\bin\x86\Debug\MyGeneration.dOOdads_2005.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
      Lovatts.Database -> C:\Visual Studio 2010 Framework\Lovatts\Lovatts.Database\bin\Debug\Lovatts.Database.dll
    ------ Build started: Project: Vlc.DotNet.Wpf, Configuration: Debug x86 ------
      Vlc.DotNet.Wpf -> C:\Visual Studio 2010 Framework\3rd Party\VLC\Vlc.DotNet\Vlc.DotNet.Wpf\bin\Debug\Vlc.DotNet.Wpf.dll
    ------ Build started: Project: Lovatts.ClueExplorer.Models, Configuration: Debug x86 ------
      Lovatts.ClueExplorer.Models -> C:\Visual Studio 2010 Framework\Lovatts\Lovatts.ClueExplorer.Models\bin\x86\Debug\Lovatts.ClueExplorer.Models.dll
    ------ Build started: Project: Lovatts.Controls, Configuration: Debug x86 ------
      Lovatts.Controls -> C:\Visual Studio 2010 Framework\Lovatts\Lovatts.Controls\bin\x86\Debug\Lovatts.Controls.dll
    ------ Build started: Project: Lovatts.ClueExplorer.DataAccess, Configuration: Debug x86 ------
      Lovatts.ClueExplorer.DataAccess -> C:\Visual Studio 2010 Framework\Lovatts\Lovatts.ClueExplorer.DataAccess\bin\x86\Debug\Lovatts.ClueExplorer.DataAccess.dll
    ------ Build started: Project: AvalonDock (AvalonDock\AvalonDock), Configuration: Debug x86 ------
      AvalonDock -> C:\Visual Studio 2010 Framework\3rd Party\AvalonDock\AvalonDock\bin\x86\Debug\AvalonDock.dll
    ------ Build started: Project: Lovatts.ClueExplorer.Controls, Configuration: Debug x86 ------
      Lovatts.ClueExplorer.Controls -> C:\Visual Studio 2010 Framework\Lovatts\Lovatts.ClueExplorer.Controls\bin\x86\Debug\Lovatts.ClueExplorer.Controls.dll
    ------ Build started: Project: Lovatts2, Configuration: Debug x86 ------
      Lovatts2 -> C:\Visual Studio Projects\Platform 2\Lovatts\Lovatts\bin\x86\Debug\Lovatts2.dll
    ------ Build started: Project: Aga.Controls, Configuration: Debug x86 ------
      Aga.Controls -> C:\Visual Studio 2010 Framework\3rd Party\TreeListView\Aga.Controls\bin\x86\Debug\Aga.Controls.dll
    ------ Build started: Project: Lovatts.Controls.AutoGrid, Configuration: Debug x86 ------
      Lovatts.Controls.AutoGrid -> C:\Visual Studio Projects\Platform 2\Lovatts\Controls\AutoGrid\bin\x86\Debug\Lovatts.Controls.AutoGrid.dll
    ------ Build started: Project: AvalonDock.Themes.Expression, Configuration: Debug x86 ------
      AvalonDock.Themes.Expression -> C:\Visual Studio 2010 Framework\3rd Party\AvalonDock\AvalonDock.Themes.Expression\bin\x86\Debug\AvalonDock.Themes.Expression.dll
    ------ Build started: Project: AvalonDock.Themes.Metro, Configuration: Debug x86 ------
      AvalonDock.Themes.Metro -> C:\Visual Studio 2010 Framework\3rd Party\AvalonDock\AvalonDock.Themes.Metro\bin\x86\Debug\AvalonDock.Themes.Metro.dll
    ------ Build started: Project: Lovatts.Controls.PathTrimmingTextBlock, Configuration: Debug x86 ------
      Lovatts.Controls.PathTrimmingTextBlock -> C:\Visual Studio Projects\Test Projects\PathTrimmingTextBlock\Lovatts.Controls.PathTrimmingTextBlock\bin\x86\Debug\Lovatts.Controls.PathTrimmingTextBlock.dll
    ------ Build started: Project: AvalonDock.Themes.Aero, Configuration: Debug x86 ------
      AvalonDock.Themes.Aero -> C:\Visual Studio 2010 Framework\3rd Party\AvalonDock\AvalonDock.Themes.Aero\bin\x86\Debug\AvalonDock.Themes.Aero.dll
    ------ Build started: Project: AvalonDock.Themes.VS2010, Configuration: Debug x86 ------
      AvalonDock.Themes.VS2010 -> C:\Visual Studio 2010 Framework\3rd Party\AvalonDock\AvalonDock.Theme.VS2010\bin\x86\Debug\AvalonDock.Themes.VS2010.dll
    ------ Build started: Project: Lovatts.CrossCheck.Models, Configuration: Debug Any CPU ------
      Lovatts.CrossCheck.Models -> C:\Visual Studio 2010 Framework\Lovatts\Lovatts.CrossCheck.Models\bin\Debug\Lovatts.CrossCheck.Models.dll
    ------ Build started: Project: Lovatts.CrossCheck.Views, Configuration: Debug Any CPU ------
      Lovatts.CrossCheck.Views -> C:\Visual Studio 2010 Framework\Lovatts\Lovatts.CrossCheck.Views\bin\Debug\Lovatts.CrossCheck.Views.dll
    ------ Build started: Project: Lovatts.Database.Controls, Configuration: Debug Any CPU ------
      Lovatts.Database.Controls -> C:\Visual Studio 2010 Framework\Lovatts\Lovatts.Database.Controls\bin\Debug\Lovatts.Database.Controls.dll
    ------ Build started: Project: Lovatts.CrossCheck, Configuration: Debug x86 ------
      Lovatts.CrossCheck -> C:\Visual Studio 2010 Framework\Lovatts\Lovatts.CrossCheck\bin\Debug\Lovatts.CrossCheck.exe
    ------ Build started: Project: Test.Lovatts, Configuration: Debug Any CPU ------
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Visual Studio 2010 Framework\Lovatts\Lovatts\bin\x86\Debug\Lovatts.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
      Test.Lovatts -> C:\Visual Studio 2010 Framework\Lovatts\Test.Lovatts\bin\Debug\Test.Lovatts.dll
    ------ Build started: Project: Lovatts.CrossCheck.ViewModels, Configuration: Debug Any CPU ------
      Lovatts.CrossCheck.ViewModels -> C:\Visual Studio 2010 Framework\Lovatts\Lovatts.CrossCheck.ViewModels\bin\Debug\Lovatts.CrossCheck.ViewModels.dll
    ------ Build started: Project: Lovatts.Puzzles, Configuration: Debug Any CPU ------
      Lovatts.Puzzles -> C:\Visual Studio 2010 Framework\Lovatts\Lovatts.Puzzles\bin\Debug\Lovatts.Puzzles.dll
    ------ Build started: Project: Lovatts.CrossCheck.DataAccess, Configuration: Debug Any CPU ------
      Lovatts.CrossCheck.DataAccess -> C:\Visual Studio 2010 Framework\Lovatts\Lovatts.CrossCheck.DataAcess\bin\Debug\Lovatts.CrossCheck.DataAccess.dll
    ------ Build started: Project: Lovatts.Matroyshka.Models, Configuration: Debug Any CPU ------
      Lovatts.Matroyshka.Models -> C:\Visual Studio 2010 Framework\Lovatts\Lovatts.Matroyshka.Models\bin\Debug\Lovatts.Matroyshka.Models.dll
    ------ Build started: Project: Lovatts.Matroyshka.DataAccess, Configuration: Debug Any CPU ------
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Visual Studio 2010 Framework\Lovatts\Lovatts\bin\x86\Debug\Lovatts.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Program Files (x86)\MyGeneration13\Architectures\dOOdads\CSharp\Lovatts.MyGeneration.dOOdads\bin\x86\Debug\MyGeneration.dOOdads_2005.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
      Lovatts.Matroyshka.DataAccess -> C:\Visual Studio 2010 Framework\Lovatts\Lovatts.Matroyshka.DataAccess\bin\Debug\Lovatts.Matroyshka.DataAccess.dll
    ------ Build started: Project: Lovatts.Matroyshka.ViewModels, Configuration: Debug Any CPU ------
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Visual Studio 2010 Framework\Lovatts\Lovatts\bin\x86\Debug\Lovatts.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Program Files (x86)\MyGeneration13\Architectures\dOOdads\CSharp\Lovatts.MyGeneration.dOOdads\bin\x86\Debug\MyGeneration.dOOdads_2005.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
      Lovatts.Matroyshka.ViewModels -> C:\Visual Studio 2010 Framework\Lovatts\Lovatts.Matroyshka.ViewModels\bin\Debug\Lovatts.Matroyshka.ViewModels.dll
    ------ Build started: Project: Lovatts.ClueExplorer.ViewModels, Configuration: Debug x86 ------
      Lovatts.ClueExplorer.ViewModels -> C:\Visual Studio 2010 Framework\Lovatts\Lovatts.ClueExplorer.ViewModels\bin\x86\Debug\Lovatts.ClueExplorer.ViewModels.dll
    ------ Build started: Project: Lovatts.Matroyshka.Views, Configuration: Debug Any CPU ------
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Visual Studio Projects\Platform 2\Lovatts\Controls\AutoGrid\bin\x86\Debug\Lovatts.Controls.AutoGrid.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Visual Studio 2010 Framework\Lovatts\Lovatts.Controls\bin\x86\Debug\Lovatts.Controls.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Visual Studio 2010 Framework\Lovatts\Lovatts\bin\x86\Debug\Lovatts.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Program Files (x86)\MyGeneration13\Architectures\dOOdads\CSharp\Lovatts.MyGeneration.dOOdads\bin\x86\Debug\MyGeneration.dOOdads_2005.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
      Lovatts.Matroyshka.Views -> C:\Visual Studio 2010 Framework\Lovatts\Lovatts.Matroyshka.Views\bin\Debug\Lovatts.Matroyshka.Views.dll
    ------ Build started: Project: DataTransfer, Configuration: Debug x86 ------
      DataTransfer -> C:\Visual Studio 2010 Framework\Lovatts\DataTransfer\bin\Debug\DataTransfer.exe
    ------ Build started: Project: Lovatts.ClueExplorer.Views, Configuration: Debug x86 ------
      Lovatts.ClueExplorer.Views -> C:\Visual Studio 2010 Framework\Lovatts\Lovatts.ClueExplorer.Views\bin\x86\Debug\Lovatts.ClueExplorer.Views.dll
    ------ Build started: Project: Lovatts.Matroyshka, Configuration: Debug x86 ------
      Lovatts.Matroyshka -> C:\Visual Studio 2010 Framework\Lovatts\Lovatts.Matroyshka\bin\Debug\Lovatts.Matroyshka.exe
    ------ Build started: Project: Lovatts.ClueExplorer, Configuration: Debug x86 ------
      Lovatts.ClueExplorer -> C:\Visual Studio 2010 Framework\Lovatts\Lovatts.ClueExplorer\bin\Debug\Lovatts.ClueExplorer.exe
    ========== Build: 37 succeeded or up-to-date, 0 failed, 0 skipped ==========
    

    Wednesday, January 23, 2013 6:46 AM
  • ------ Build started: Project: WpfBrowserApplication1, Configuration: Debug Any CPU ------
      WpfBrowserApplication1 -> c:\users\shell\documents\visual studio 2010\Projects\WpfBrowserApplication1\WpfBrowserApplication1\bin\Debug\WpfBrowserApplication1.exe
    ========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========

    I can't find out the issue form the output window. At first, it print nothing in output window, compiler suspending for ten minutes, and at last, compiled success, and print the above information.

    Wednesday, January 23, 2013 7:17 AM
  • Can an admin move this question to an appropriate forum subsection?

    You'll get more and better responses there :)
    Thursday, January 24, 2013 12:43 AM
  • Hi,

    It seems that the build process is fine from your log. If you want to learn what take the longest time, please set the verbosity as Diagnostic.(Tools->Opinions->Project and solution->Build and Run)

    Best regards,


    Ego [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, January 31, 2013 5:05 AM
    Moderator