I'm trying to use VS2013 and have migrated a project from VSD2010.
The problem is that I am seeing many warnings when I build this project related to the MSBuild Microsoft.Common.CurrentVersion.targets file. The project actually seems to run, but there are more than 100 warnings all coming from the targets file.
It appears to not fully understand the msbuild XML schema.
Is maybe http://schemas.microsoft.com/developer/msbuild/2003 not the correct schema? Or it is missing reference to an XSD file?
I've seen other people complain about seeing similar errors, but I haven't been able to work around it. I've tried uninstalling and reinstalling. Some people said close all edit windows and rebuild.
These didn't work for me.
For example:
Warning11 The element 'PropertyGroup' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003' has invalid child element 'ImportByWildcardBeforeMicrosoftCommonTargets' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003'. List of possible elements expected: 'Property, AllowUnsafeBlocks, AppConfigForCompiler, ApplicationIcon, ApplicationRevision, ApplicationVersion, AppDesignerFolder, AspNetConfiguration, AssemblyKeyContainerName, AssemblyKeyProviderName, AssemblyName, AssemblyOriginatorKeyFile, AssemblyOriginatorKeyFileType, AssemblyOriginatorKeyMode, AssemblyType, AutoGenerateBindingRedirects, AutorunEnabled, BaseAddress, BootstrapperComponentsLocation, BootstrapperComponentsUrl, BootstrapperEnabled, CharacterSet, CheckForOverflowUnderflow, CLRSupport, UseDebugLibraries, CodePage, Configuration, ConfigurationName, ConfigurationOverrideFile, CreateDesktopShortcut, CreateWebPageOnPublish, CurrentSolutionConfigurationContents, DebugSecurityZoneURL, DebugSymbols, DebugType, DefaultClientScript, DefaultHTMLPageLayout, DefaultTargetSchema, DefineConstants, DefineDebug, DefineTrace, DelaySign, DisableLangXtns, DisallowUrlActivation, CodeAnalysisAdditionalOptions, CodeAnalysisApplyLogFileXsl, CodeAnalysisConsoleXsl, CodeAnalysisCulture, CodeAnalysisFailOnMissingRule....C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets226 Miscellaneous Files