PDA

View Full Version : رفع خطا ارتقا برنامه از VB.NET 2005 به 2013



mahmood744
جمعه 21 آذر 1393, 15:05 عصر
سلام به همه دوستان عزیز
من یک برنامه را با vb.net 2005 نوشته ام
اما الان که آن را با Vb2013 باز می کنم خطا زیر را میده (می خواهم ارتقاء بدهم)

Could not resolve mscorlib for target framework '.NETFramework,Version=v2.0'. This can happen if the target framework is not installed or if the framework moniker is incorrectly formatted
ممنون میشم کمکم کنید که چطور این خطا را درست کنم
باز هم ممنون از راهنمایتان













Instances of this error (1)







1.

Show Call Stack





at Microsoft.VisualStudio.Shell.Design.VsTargetFramew orkUniverse..ctor(IDesignTimeAssemblyLoader assemblyLoader, IVsDesignTimeAssemblyResolution projectAssemblyResolution, IVsSmartOpenScope dispenser)
at Microsoft.VisualStudio.Shell.Design.VsTargetFramew orkUniverse.GetUniverse(IDesignTimeAssemblyLoader assemblyLoader, IVsDesignTimeAssemblyResolution projectAssemblyResolution, IVsSmartOpenScope dispenser)
at Microsoft.VisualStudio.Shell.Design.VsTargetFramew orkProvider..ctor(IVsDesignTimeAssemblyResolution assemblyResolution, IDesignTimeAssemblyLoader assemblyLoader, TypeDescriptionProvider parentProvider, IVsSmartOpenScope openScope)
at Microsoft.VisualStudio.Design.VsTargetFrameworkPro viderService.get_TargetFrameworkProvider()
at Microsoft.VisualStudio.Design.VsTargetFrameworkPro viderService.GetProvider(Type type)
at System.ComponentModel.Design.Serialization.Designe rSerializationManager.GetType(String typeName)
at System.ComponentModel.Design.Serialization.Designe rSerializationManager.System.ComponentModel.Design .Serialization.IDesignerSerializationManager.GetTy pe(String typeName)
at System.ComponentModel.Design.Serialization.TypeCod eDomSerializer.Deserialize(IDesignerSerializationM anager manager, CodeTypeDeclaration declaration)
at System.ComponentModel.Design.Serialization.CodeDom DesignerLoader.PerformLoad(IDesignerSerializationM anager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDo m.VSCodeDomDesignerLoader.PerformLoad(IDesignerSer ializationManager serializationManager)
at Microsoft.VisualStudio.Design.Serialization.CodeDo m.VSCodeDomDesignerLoader.DeferredLoadHandler.Micr osoft.VisualStudio.TextManager.Interop.IVsTextBuff erDataEvents.OnLoadCompleted(Int32 fReload)







Help with this error







Could not find an associated help topic for this error. Check Windows Forms Design-Time error list











Forum posts about this error







Search the MSDN Forums for posts related to this error

swallow.pa
جمعه 21 آذر 1393, 16:03 عصر
https://social.msdn.microsoft.com/Forums/vstudio/en-US/b307f199-8438-408b-95ed-d3236e772e92/visual-studio-2010-could-not-resolve-mscorlib-for-target-framework-net-framework-version-v20?forum=vssetup

mahmood744
جمعه 21 آذر 1393, 18:05 عصر
ممنون عزیزم از راهنمایتان
میشه راهنمایی رو فارسی یگویید
من نفهمیدم که چکار باید بکنم
mscorlib استفاده شد در دات نت 2005 ورژن فریم ورک 2
چطوری میشه پاکش کرد و فریم ورک 4 کنمش
آخه توی رفرس ها برنامه هم نیست
ممنون میشم راهنمایی کنین

mahmood744
جمعه 21 آذر 1393, 19:19 عصر
مشکل حل شد
فریم ورک برنامه را چهار قرار دادم درست شد