У меня были эти две ошибки с тех пор, как я начал свой проект:
"A reference was created to embedded interop assembly 'stdole' because of an indirect reference to that assembly from assembly 'AxInterop.MSComctlLib'. Consider changing the 'Embed Interop Types' property on either assembly."
и
A reference was created to embedded interop assembly 'stdole' because of an indirect reference to that assembly from assembly 'mscomctl'. Consider changing the 'Embed Interop Types' property on either assembly."
Затем, секунду назад, я начал получать эту ошибку, и теперь я не могу опубликовать программу.
"The referenced assembly "Microsoft.VisualBasic.PowerPacks, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project."
Я не использую блок питания или mscomctl, единственное, что я импортирую:
System.Windows.Forms.DataVisualization.Charting,
System.IO,
System.Text.RegularExpressions,
Microsoft.Office.Interop.Excel
Это убивает меня, я проверил свои последние ссылки, и там ничего нет, и я проверяю свойства моей программы> ссылки, и ничего не ссылается на блок питания или mscomctl.