VS中遇到的错误提示

1.  引用dll时,对外接口只有声明而没有实现(或者对外接口名改了,而实现名称没有修改),编译器无法解析到外部符号

还原 NuGet 程序包时出错: System.ArgumentException: 路径的形式不合法。
在 System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
在 System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
在 System.IO.Path.InternalGetDirectoryName(String path)
在 NuGet.VisualStudio.VsUtility.GetNuGetSolutionFolder(Solution solution)
在 NuGet.VsEvents.PackageRestorer.UsingOldPackageRestore(Solution solution)
在 NuGet.VsEvents.PackageRestorer.BuildEvents_OnBuildBegin(vsBuildScope Scope, vsBuildAction Action)。
1>------ 已启动全部重新生成: 项目: OneClickControlServer, 配置: Debug Win32 ------
1> stdafx.cpp
1>d:\program files (x86)\vs2013\vc\atlmfc\include\afx.h(38): warning C4996: 'MBCS_Support_Deprecated_In_MFC': MBCS support in MFC is deprecated and may be removed in a future version of MFC.
1> d:\program files (x86)\vs2013\vc\atlmfc\include\afx.h(33) : 参见“MBCS_Support_Deprecated_In_MFC”的声明
1> RegDlg.cpp
1> OneClickCtrlDlg.cpp
1>d:\项目\svn2\oneclicksmartctrlserver\oneclickcontrolserver\oneclickctrldlg.cpp(441): warning C4244: “初始化”: 从“LONGLONG”转换到“LONG”,可能丢失数据
1> OneClickControlServer.cpp
1> 正在生成代码...
1>LINK : warning LNK4098: 默认库“MSVCRT”与其他库的使用冲突;请使用 /NODEFAULTLIB:library
1>OneClickCtrlDlg.obj : error LNK2019: 无法解析的外部符号 _ParseModule_Init@0,该符号在函数 "protected: void __thiscall COneClickCtrlDlg::Start(void)" (?Start@COneClickCtrlDlg@@IAEXXZ) 中被引用
1>OneClickCtrlDlg.obj : error LNK2019: 无法解析的外部符号 _ParseModule_Fini@0,该符号在函数 "protected: void __thiscall COneClickCtrlDlg::Start(void)" (?Start@COneClickCtrlDlg@@IAEXXZ) 中被引用
1>..\..\objects\OneClickControlServer.exe : fatal error LNK1120: 2 个无法解析的外部命令
========== 全部重新生成: 成功 0 个,失败 1 个,跳过 0 个 ==========

猜你喜欢

转载自www.cnblogs.com/sunny-ll/p/11796359.html