本文介绍了Visual Studio 2015发布管理 - 无法创建vNext发布模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 选择发布路径并单击"创建"按钮时,会出现一个出现以下错误的弹出窗口。释放路径下拉列表保持在"<<选择>"无论我选择哪个选项。 时间戳:2015年10月16日下午2:34:19 消息:{" ErrorMessage":"'Microsoft.TeamFoundation.Release.Data.Sql.ResultCollectionConsumer`1'的类型初始值设定项引发异常。"}:\\\\\\在System.Windows.Data.Binding.DoFilterException上的Microsoft.TeamFoundation.Release.Common.Presentation.Binding.OnDatabindingException(Object bindingExpression,Exception exception) System.Windows.Data.BindingExpression上的System.Windows.Data.BindingExpression.CallDoFilterException(Exception ex) 中的对象bindExpr,异常异常) System.Windows上System.Windows.Data.BindingExpression.UpdateSource(Object value) 的.ProcessException(Exception ex,Boolean validate) 。 System.Windows.Data上的System.Windows.Data.BindingExpression.UpdateOverride() 中的Data.BindingExpressionBase.UpdateValue() 。 System.Windows.Data.BindingExpressionBase.Dirty上的System.Windows.Data.BindingExpressionBase.ProcessDirty() 中的BindingExpressionBase.Update() ( ) 在System.Windows.DependencyObject的System.Windows.Data.BindingExpressionBase.SetValue(DependencyObject d,DependencyProperty dp,Object value) 。 SetValueCommon(DependencyProperty dp,Object value,PropertyMetadata metadata,Boolean coerceWithDeferredReference,Boolean coerceWithCurrentValue,OperationType operationType,Boolean isInternal) at System.Windows.DependencyObject.SetCurrentValueInternal(DependencyProperty dp,Object value) 中的$ p $ b 在System.Windows.Controls的System.Windows.Controls.Primitives.Selector.SelectionChanger.SelectJustThisItem(ItemInfo info,Boolean assumeInItemsCollection) 中的 。 System.Windows.UIElement上的System.Windows.Controls.ComboBoxItem.OnMouseLeftButtonUp(MouseButtonEventArgs e) 中的ComboBox.NotifyComboBoxItemMouseUp(ComboBoxItem comboBoxItem) 。系统中的System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler,Object genericTarget) 中的OnMouseLeftButtonUpThunk(Object sender,MouseButtonEventArgs e) 。 System.Windows.RoutedEventHandlerInfo.InvokeHandler(对象目标,RoutedEventArgs routedEventArgs)中的Windows.RoutedEventArgs.InvokeHandler(委托处理程序,对象目标) at System.Windows.EventRoute.InvokeHandlersImpl(Object source,RoutedEventArgs args,Boolean reRaised) 在System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender,RoutedEventArgs args,RoutedEvent newEvent)在System.Windows.Input.MouseButtonEventArgs.InvokeEventHandle的System.Windows.UIElement.OnMouseUpThunk(Object sender,MouseButtonEventArgs e) 上 在System.Windows的System.Windows.RoutedEventArgs.InvokeHandler(委托处理程序,对象目标) 中的r(委托genericHandler,Object genericTarget) 。 System.Windows.EventRoute.InvokeHandlersImpl中的RoutedEventHandlerInfo.InvokeHandler(Object target,RoutedEventArgs routedEventArgs) (对象源,RoutedEventArgs args,布尔reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender,RoutedEventArgs args) 在System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args,布尔值信任) at System.Windows.Input.InputManager.ProcessStagingArea() at System系统中的.Windows.Input.InputManager.ProcessInput(InputEventArgs输入) 系统中的System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) .Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd,InputMode mode,Int32 tim System.Windows.Interop.HwndMouseInputProvider.FilterMessage中的estamp,RawMouseActions动作,Int32 x,Int32 y,Int32 wheel) (IntPtr hwnd,WindowMessage msg,IntPtr wParam,IntPtr lParam,Boolean&处理) 在System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd,Int32 msg,IntPtr wParam,IntPtr lParam,Boolean& processed) 在MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)的MS.Win32.HwndWrapper.WndProc(IntPtr hwnd,Int32 msg,IntPtr wParam,IntPtr lParam,Boolean& processed) 在System.Windows.Threading.ExceptionWrapper的System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback,Object args,Int32 numArgs) 中的$ p $ b 。 TryCatchWhen(Object source,Delegate callback,Object args,Int32 numArgs,Delegate catchHandler) 类别:一般 优先级:-1 EventId:0 严重性:错误 标题: 机器: ########### 应用程序域:ReleaseManagementConsole.exe 进程ID:22708 进程名称:C:\Program Files(x86)\ Microsoft Visual Studio 14.0 \ Release Management \Client \\ bin \ReleaseManagementConsole.exe Win32线程ID:14784 主题名称: 扩展属性: 解决方案 大卫, &NBSP;&NBSP; 感谢您的帖子。 您使用的是RM Server 2015 RTM吗? 如果您创建基于代理的发布模板,它会正常工作吗? 您当前安装的RM 2015客户端RM Server机器还是另一台机器? 如果您在另一台机器上安装RM 2015客户端,另一台RM 2015客户端可以正确创建vNext发布模板或具有相同的错误吗? When choosing the release path and also clicking the create button a popup with the following error occurs. The release path drop down list stays on "< Select >" regardless of which option I choose.Timestamp: 10/16/2015 2:34:19 PMMessage: {"ErrorMessage":"The type initializer for 'Microsoft.TeamFoundation.Release.Data.Sql.ResultCollectionConsumer`1' threw an exception."}: \r\n\r\n at Microsoft.TeamFoundation.Release.Common.Presentation.Binding.OnDatabindingException(Object bindingExpression, Exception exception)at System.Windows.Data.Binding.DoFilterException(Object bindExpr, Exception exception)at System.Windows.Data.BindingExpression.CallDoFilterException(Exception ex)at System.Windows.Data.BindingExpression.ProcessException(Exception ex, Boolean validate)at System.Windows.Data.BindingExpression.UpdateSource(Object value)at System.Windows.Data.BindingExpressionBase.UpdateValue()at System.Windows.Data.BindingExpression.UpdateOverride()at System.Windows.Data.BindingExpressionBase.Update()at System.Windows.Data.BindingExpressionBase.ProcessDirty()at System.Windows.Data.BindingExpressionBase.Dirty()at System.Windows.Data.BindingExpressionBase.SetValue(DependencyObject d, DependencyProperty dp, Object value)at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)at System.Windows.DependencyObject.SetCurrentValueInternal(DependencyProperty dp, Object value)at System.Windows.Controls.Primitives.Selector.UpdatePublicSelectionProperties()at System.Windows.Controls.Primitives.Selector.SelectionChanger.End()at System.Windows.Controls.Primitives.Selector.SelectionChanger.SelectJustThisItem(ItemInfo info, Boolean assumeInItemsCollection)at System.Windows.Controls.ComboBox.NotifyComboBoxItemMouseUp(ComboBoxItem comboBoxItem)at System.Windows.Controls.ComboBoxItem.OnMouseLeftButtonUp(MouseButtonEventArgs e)at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)at System.Windows.Input.InputManager.ProcessStagingArea()at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)Category: GeneralPriority: -1EventId: 0Severity: ErrorTitle:Machine: ###########Application Domain: ReleaseManagementConsole.exeProcess Id: 22708Process Name: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Release Management\Client\bin\ReleaseManagementConsole.exeWin32 Thread Id: 14784Thread Name:Extended Properties: 解决方案 Hi David,  Thanks for your post.You’re using RM Server 2015 RTM?If you create the Agent-based release template, it will works fine?Your current RM 2015 Client installed on RM Server machine or on another machine?If you RM 2015 Client install on another machine, this another RM 2015 Client can create vNext release template correctly or has the same error? 这篇关于Visual Studio 2015发布管理 - 无法创建vNext发布模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
09-03 03:56