I'm trying to build some code but getting lots of warnings in target files, stuff like this:
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'.
Any ideas how I could fix these?
I had this problem too. After some googling, found a suggestion to close all the editor windows in VS, and then rebuild.
Worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With