locked
Metro Style Apps Compatibility on Win2008 R2 (with TFS)

    Question

  • I've installed Team Foundation Server 11 Developer Preview and Visual Studio 11 Developer Preview on Windows 2008 R2 64bit OS.

    When Metro style project is built, build request was failed as following -

    Runtime Reference Assembly is missing: 'Windows.UI.Xaml'
    C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v1.0\Microsoft.Windows.UI.Xaml.Common.targets (95): Window Runtime Reference Assembly is missing: 'Windows.UI.Xaml.Controls'
    C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v1.0\Microsoft.Windows.UI.Xaml.Common.targets (95): Window Runtime Reference Assembly is missing: 'Windows.UI.Xaml.Markup'
    C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v1.0\Microsoft.Windows.UI.Xaml.Common.targets (95): Window Runtime Reference Assembly is missing: 'Windows.UI.Xaml.Media'
    C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v1.0\Microsoft.Windows.UI.Xaml.Common.targets (95): Window Runtime Reference Assembly is missing: 'Windows.UI.Xaml.Media.Animation'
    C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v1.0\Microsoft.Windows.UI.Xaml.Common.targets (95): Window Runtime Reference Assembly is missing: 'Windows.UI.Xaml.Media.Imaging'
    C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v1.0\Microsoft.Windows.UI.Xaml.Common.targets (95): Window Runtime Reference Assembly is missing: 'Windows.UI.Xaml.Data'
    C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v1.0\Microsoft.Windows.UI.Xaml.Common.targets (95): Window Runtime Reference Assembly is missing: 'Windows.UI.Xaml.Documents'
    Microsoft.TeamFoundation.Build.Workflow.Activities.CreateWorkItemException: TF42097: A work item could not be saved due to a field error. The following fields have incorrect values: Field: 'Reason' Value: 'Build Failure' ---> Microsoft.TeamFoundation.WorkItemTracking.Client.ValidationException: TF237124: Work Item is not ready to save
       at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.Save(SaveFlags saveFlags)
       at Microsoft.TeamFoundation.Build.Workflow.Activities.WitCreateWorkItem.Execute(CodeActivityContext context)
       at System.Activities.CodeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
       at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
       --- End of inner exception stack trace ---
       at System.Activities.Statements.Throw.Execute(CodeActivityContext context)
       at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
       at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

    How can I build Metro style project on Win2008 R2 server? Please let me know for any ideas.

    Furthermore, I'd like to know build support or not after metro beta version.

    Thursday, February 23, 2012 2:41 AM

All replies

  • Visual Studio 2011 is only supported in Windows 8 at this moment. But there would be compatible version for other version of Windows in future. You just have to wait for future release.
    Thursday, February 23, 2012 8:36 AM
  • Thank you for your opinion.

    Best Regards, Charles

    Thursday, February 23, 2012 9:37 AM