使用“2”个参数调用“SetData”时发生异常:“程序集“Microsoft.VisualStudio.ProjectSystem.VS.Implementation, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”中的类型“Microsoft.Vi
sualStudio.ProjectSystem.VS.Implementation.Package.Automation.OAProject”未标记为可序列化。”
所在位置 F:\Project\NewRXMes\Code\RXMes\packages\Z.EntityFramework.Classic.7.1.35\tools\EntityFramework.psm1:722 字符: 5
-
$domain.SetData('startUpProject', $startUpProject)
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (😃 [], MethodInvocationException
- FullyQualifiedErrorId : SerializationException
解决方案:
需要将要迁移的项目设置为启动项目