0

我搜索但没有看到这个确切的问题得到回答。我们的代码(我正在构建它,而不是编写它)由于不明确的符号错误而间歇性地编译失败​​。此代码生成 *.tlb 文件,这些文件显然包含相同的符号。开发人员声称他的代码不是造成这种情况的原因,而是 MS 构建工具。他希望我们在发生此错误时重新启动。我认为他可以更改代码中的某些内容以缓解此问题。谁能给我一些指导?如果可以在代码中修复它,请问如何完成?

正在编译... Err_ProjFile:\websvc\AdminWebService\TestNsEndpointInteropClient\TestNsEndpointInteropClient.vcxproj Err_SrcFile:TestNsEndpointInteropClient.cpp Err_LineNum:31 col:0 Err_Target:ClCompile Err_Message:C2872:'EndpointTypeEnum_CenterCord':不明确的符号

以下是引用 tlb 文件的文件。websvc common\lib-proprietary\Aspect.UnifiedIP.Notifications.EndpointClient.tlb websvc\AdminWebService\AdminWebService.sln websvc\AdminWebService\TestNsEndpointInteropClient\TestNsEndpointInteropClient.vcxproj

websvc\AdminWebService\TestNsEndpointInteropClient\Aspect.UnifiedIP.Notifications.Common.tlb
websvc\NotificationServer\NotificationServer.sln
websvc\NotificationServer\NsCommon\NsCommon.csproj

4

0 回答 0