MSBuild alerts in VS2010

I get a lot of the following warning messages. Should I do this?

Warning 1 The 'PropertyGroup' element in the namespace ' http://schemas.microsoft.com/developer/msbuild/2003 ' is not a valid child of the 'ImportByWildcardBeforeMicrosoftCommonTargets' in the namespace' http://schemas.microsoft.com/developer/msbuild/2003 '. The list of expectations for the possible elements: "The property, AllowUnsafeBlocks, AppConfigForCompiler, ApplicationIcon, ApplicationRevision, ApplicationVersion, AppDesignerFolder, AspNetConfiguration, AssemblyKeyContainerName, AssemblyKeyProviderName, AssemblyName, AssemblyOriginatorKeyFile, AssemblyOriginatorKeyFileType, AssemblyOriginatorKeyMode, AssemblyType, AutorunEnabled, BaseAddress, BootstrapperComponentsLocation, BootstrapperComponentsUrl, BootstrapperEnabled, CharacterSet, CheckForOverflowUnderflow, CLRSupport, CodePage, Configuration, ConfigurationName, ConfigurationOverrideFile, CreateDesktopShortcut, CreateWebPageOnPublish, CurrentSolutionConfigurationContents, DebugSecurityZoneURL, DebugSymbols, DebugType, DefaultClientScript, DefaultHTMLPageLayout, DefaultTargetSchema, DefineConstants, DefineDebug, DefineTrace, DelaySign, DisableLangXtns, DisallowUrlActivation, CodeAnalysisAdditionalOptions, CodeAnalysisApplyLogFileXsl, CodeAnalysisConsoleXsl, CodeAnalysisCulture, CodeAnalysisFailOnMissingRules, CodeAnalysisForceOutput, CodeAnalysisGenerateS .... C: \ WINDOWS \ Microsoft.NET \ Framework \ v4.0.30319 \ Microsoft.Common.targets 20 9 Misc Files

+4
source share
1 answer

You can ignore this warning, see this link for an explanation:

When you apply a schema attribute to a Project element, Visual Studio reads in the schema and uses the information to provide Intellisense during editing. As an offshoot of this, it also alerts you when it detects that you have used elements or attributes that are not part of the schema. Custom property and item elements are not part of the MSBuild schema.

+5
source

Source: https://habr.com/ru/post/1401802/


All Articles