Profile Picture

remove Nevron from project

Posted By Elena Rimoldi 11 Years Ago
Author
Message
Elena Rimoldi
Posted 11 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 1, Visits: 1
I have installed Nevron for evaluation and I now wish to uninstall it. However, after I remove Nevron I receive the following message when I try to acces the designer code in my project Windows Forms:

To prevent possible data loss before loading the designer, the following errors must be resolved:

Instances of this error (1)

1. Hide Call Stack

at VSLangProj.Reference.get_Path()
at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.get_FileName()
at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.GetMatchIndex(String typeName)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.SearchNormalEntries(AssemblyName assemblyName, String typeName, Boolean ignoreTypeCase, Assembly& assembly, Boolean fastSearch)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.SearchEntries(AssemblyName assemblyName, String typeName, Boolean ignoreCase, Assembly& assembly, ReferenceType refType)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, ReferenceType refType)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String name)
at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.GetType(String typeName)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)



I urgently need to have my program run without Nevron, please help me fix this.

Thanks

Nevron Support
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,018
Hi Elena,

Most likely you uninstalled the product before you clean up the form which uses it. This will confuse the designer as it is not able to find all types referenced by the form. To fix this you need to manually clean up all designer generated code and resources related to the control found in Form.Designer.cs (or the like). Typically the code you need to delete looks like:

this.nChartControl1 = new Nevron.Chart.WinForm.NChartControl();
...
//
// nChartControl1
//
this.nChartControl1.AutoRefresh = false;
this.nChartControl1.BackColor = System.Drawing.SystemColors.Control;
this.nChartControl1.InputKeys = new System.Windows.Forms.Keys[0];
this.nChartControl1.Location = new System.Drawing.Point(12, 5);
this.nChartControl1.Name = "nChartControl1";
this.nChartControl1.Size = new System.Drawing.Size(461, 318);
this.nChartControl1.State = ((Nevron.Chart.WinForm.NState)(resources.GetObject("nChartControl1.State")));
this.nChartControl1.TabIndex = 1;
this.nChartControl1.Text = "nChartControl1";

...
this.Controls.Add(this.nChartControl1);
...

private Nevron.Chart.WinForm.NChartControl nChartControl1;

In addition you can view the resource file generated by the designer (like Form1.resx) and remove all appearances of nChartControl(N).State there.

As a last resort you can simply recreate the form.



Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic