Method not found: 'System.Type System.Runtime.InteropServices.Marshal.GetTypeFromCLSID(System.Guid)'

Deadly 提交于 2019-11-30 19:19:39

it seems to me as a .NET Framework compatibility issue.

Problem : you have developed your application in your local machine with heigher version of .NET Framework and running the same on remote pc having Lower Version of.NET Framework.

Note : if you target your application to run on Heigher Version of .NET Framework it wont run on lower versions.

Solution : you need to target it to .NET Framework Lower Version available on your remote PC to run on remote pc.

Step 1: right click on project - select properties

Step 2: change the Target Framework from .NET Framework x.x to .NET Framework x.y.

Note : where x.x is heigher and x.y is lower version available on remote pc or any lower version.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!