Results 1 to 4 of 4

Thread: Project Creation Error

  1. #1

    Default Answered: Project Creation Error

    I tried to create a new project with the sencha template, but Visual Studio stops working and restarts without creating a project.

    I am using Visual Studio Professional 2013, Sencha Visual Studio Plugin 6.0.4, and I've tried using both Ext JS Application and Web API and Ext JS Workspace and Web API templates. Both templates had the same result.

    The following error is generated every time:

    Application: devenv.exeFramework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.MissingMethodException
    Stack:
    at Sencha.VSPlugin.Core.Source.Validation.RequiredIfAttribute.IsValid(System.Object, System.ComponentModel.DataAnnotations.ValidationContext)
    at System.ComponentModel.DataAnnotations.ValidationAttribute.GetValidationResult(System.Object, System.ComponentModel.DataAnnotations.ValidationContext)
    at System.ComponentModel.DataAnnotations.Validator.TryValidate(System.Object, System.ComponentModel.DataAnnotations.ValidationContext, System.ComponentModel.DataAnnotations.ValidationAttribute, ValidationError ByRef)
    at System.ComponentModel.DataAnnotations.Validator.GetValidationErrors(System.Object, System.ComponentModel.DataAnnotations.ValidationContext, System.Collections.Generic.IEnumerable`1<System.ComponentModel.DataAnnotations.ValidationAttribute>, Boolean)
    at System.ComponentModel.DataAnnotations.Validator.GetObjectPropertyValidationErrors(System.Object, System.ComponentModel.DataAnnotations.ValidationContext, Boolean, Boolean)
    at System.ComponentModel.DataAnnotations.Validator.GetObjectValidationErrors(System.Object, System.ComponentModel.DataAnnotations.ValidationContext, Boolean, Boolean)
    at System.ComponentModel.DataAnnotations.Validator.TryValidateObject(System.Object, System.ComponentModel.DataAnnotations.ValidationContext, System.Collections.Generic.ICollection`1<System.ComponentModel.DataAnnotations.ValidationResult>, Boolean)
    at Sencha.VSPlugin.Core.Source.Validation.ValidatableObject.GetValidationResults()
    at Sencha.VSPlugin.Core.Source.Validation.ValidatableObject.IsValid()
    at Sencha.VSPlugin.Core.Source.ViewModels.AppWizard.AppWizardViewModel.OkEnabled(System.Object)
    at Sencha.VSPlugin.Core.Source.ViewModels.RelayCommand.CanExecute(System.Object)
    at MS.Internal.Commands.CommandHelpers.CanExecuteCommandSource(System.Windows.Input.ICommandSource)
    at System.Windows.Controls.Primitives.ButtonBase.UpdateCanExecute()
    at System.Windows.Controls.Primitives.ButtonBase.HookCommand(System.Windows.Input.ICommand)
    at System.Windows.Controls.Primitives.ButtonBase.OnCommandChanged(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs)
    at System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
    at System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
    at System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs)
    at System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, Boolean, System.Windows.OperationType)
    at System.Windows.DependencyObject.InvalidateProperty(System.Windows.DependencyProperty, Boolean)
    at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean)
    at System.Windows.Data.BindingExpression.TransferValue(System.Object, Boolean)
    at System.Windows.Data.BindingExpression.Activate(System.Object)
    at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt)
    at System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(Boolean)
    at MS.Internal.Data.DataBindEngine+Task.Run(Boolean)
    at MS.Internal.Data.DataBindEngine.Run(System.Object)
    at MS.Internal.Data.DataBindEngine.OnLayoutUpdated(System.Object, System.EventArgs)
    at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()
    at System.Windows.ContextLayoutManager.UpdateLayout()
    at System.Windows.ContextLayoutManager.UpdateLayoutCallback(System.Object)
    at System.Windows.Media.MediaContext+InvokeOnRenderCallback.DoWork()
    at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
    at System.Windows.Media.MediaContext.RenderMessageHandlerCore(System.Object)
    at System.Windows.Media.MediaContext.RenderMessageHandler(System.Object)
    at System.Windows.Media.MediaContext.Resize(System.Windows.Media.ICompositionTarget)
    at System.Windows.Interop.HwndTarget.OnResize()
    at System.Windows.Interop.HwndTarget.HandleMessage(MS.Internal.Interop.WindowMessage, IntPtr, IntPtr)
    at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
    at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
    at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
    at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
    at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
    at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
    at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr)
    at MS.Win32.HwndSubclass.DefWndProcWrapper(IntPtr, Int32, IntPtr, IntPtr)
    at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr)
    at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
    at MS.Win32.UnsafeNativeMethods.SetWindowPos(System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef, Int32, Int32, Int32, Int32, Int32)
    at System.Windows.Window.SetupInitialState(Double, Double, Double, Double)
    at System.Windows.Window.CreateSourceWindow(Boolean)
    at System.Windows.Window.CreateSourceWindowDuringShow()
    at System.Windows.Window.SafeCreateWindowDuringShow()
    at System.Windows.Window.ShowHelper(System.Object)
    at System.Windows.Window.Show()
    at System.Windows.Window.ShowDialog()
    at Microsoft.Internal.VisualStudio.PlatformUI.WindowHelper.ShowModal(System.Windows.Window, IntPtr)
    at Microsoft.VisualStudio.PlatformUI.DialogWindow.ShowModal()
    at Sencha.VSPlugin.Wizards.Source.ExtAppProjectWizard.RunStarted(System.Object, System.Collections.Generic.Dictionary`2<System.String,System.String>, Microsoft.VisualStudio.TemplateWizard.WizardRunKind, System.Object[])
    at Microsoft.VisualStudio.TemplateWizard.Wizard.Execute(System.Object, Int32, System.Object[] ByRef, System.Object[] ByRef, EnvDTE.wizardResult ByRef)
    at EnvDTE100.Solution4.AddFromTemplateEx(System.String, System.String, System.String, System.String, Boolean, UInt32)
    at Microsoft.VisualStudio.Dialogs.ServiceHelper.AddProjectFromSelectedTemplate(Microsoft.VisualStudio.Dialogs.INewProjectDialogData, System.String, Boolean)
    at Microsoft.VisualStudio.Dialogs.SVsDialogService.CreateProject(Microsoft.VisualStudio.Dialogs.INewProjectDialogData)
    at Microsoft.VisualStudio.Dialogs.SVsDialogService.InvokeDialog(Microsoft.Internal.VisualStudio.Shell.Interop.VSNEWPROJECTDLGINFO, System.String ByRef)
    at Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource.Invoke(System.String, System.Object, System.Object ByRef)
    at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Invoke(System.String, System.Object, System.Object ByRef)
    at Microsoft.VisualStudio.PlatformUI.VsCommand.Execute(System.Object)
    at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(System.Windows.Input.ICommandSource, Boolean)
    at System.Windows.Controls.MenuItem.InvokeClickAfterRender(System.Object)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
    at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
    at System.Windows.Threading.DispatcherOperation.InvokeImpl()
    at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
    at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
    at System.Windows.Threading.DispatcherOperation.Invoke()
    at System.Windows.Threading.Dispatcher.ProcessQueue()
    at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
    at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
    at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
    at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
    at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
    at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
    I'm not sure what could be going on. I've reinstalled the plugin several times, and I never even get to the project creation wizard.
    Last edited by [email protected]; 14 Jun 2016 at 12:58 PM. Reason: Versions

  2. Can you check, if you have .NET framework version 4.6 installed? If not, can you install it and try once more?

  3. #2
    Sencha - Product Team
    Join Date
    Apr 2015
    Posts
    110
    Answers
    22

    Default

    Hi!
    Sorry about the issue you are having. Can you please let us know version of visual studio, version of plugin and which sencha template that you are using. Thanks.

  4. #3

    Default Version

    I am using Visual Studio Professional 2013, Sencha Visual Studio Plugin 6.0.4, and I've tried using both Ext JS Application and Web API and Ext JS Workspace and Web API templates. Both templates had the same result.

  5. #4
    Sencha User
    Join Date
    Sep 2015
    Posts
    14
    Answers
    2

    Default

    Can you check, if you have .NET framework version 4.6 installed? If not, can you install it and try once more?

Similar Threads

  1. Eclipse Plugin error on project creation or project settings
    By stevesum in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 13 Jan 2015, 4:31 AM
  2. Replies: 2
    Last Post: 21 Jul 2014, 1:21 PM
  3. An unexpected error occurred Uncaught Type Error trying to create new project
    By kevinyeandel in forum Sencha Architect 3.x: Q&A
    Replies: 3
    Last Post: 30 Jan 2014, 2:52 PM
  4. [FIXED] Bug in project creation or when you add a map to the project
    By mark0978 in forum Sencha Architect 2.x: Bugs
    Replies: 1
    Last Post: 24 Jun 2013, 9:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •