gpt4 book ai didi

c# - 在 Visual Studio 2010 中使用目标构建时收到大量警告

转载 作者:IT老高 更新时间:2023-10-28 11:23:25 26 4
gpt4 key购买 nike

我正在尝试构建一些代码,但在目标文件中收到很多警告,如下所示:

Warning 12  The element 'ItemGroup' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003' 
has invalid child element 'TCS_Compile' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003'.
List of possible elements expected:
'Item, Reference, COMReference, COMFileReference, Xdcmake, Bscmake, ClCompile,
ClInclude, Midl, ResourceCompile, PreLinkEvent, CustomBuildStep, Manifest,
ProjectConfiguration, NativeReference, ProjectReference, Compile, EmbeddedResource,
Content, Page, Resource, ApplicationDefinition, None, BaseApplicationManifest,
Folder, Import, Service, WebReferences, WebReferenceUrl, FileAssociation,
BootstrapperFile, PublishFile, CodeAnalysisDependentAssemblyPaths,
CodeAnalysisDictionary, CodeAnalysisImport, Link, ResourceCompile, PreBuildEvent,
PostBuildEvent'
in namespace 'http://schemas.microsoft.com/developer/msbuild/2003'.

有什么办法可以解决这些问题吗?

最佳答案

我也有这个问题。经过一番谷歌搜索,发现一个建议关闭VS中的所有编辑器窗口,然后重建。

为我工作。

关于c# - 在 Visual Studio 2010 中使用目标构建时收到大量警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7899043/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com