Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats Top APIs
    Version Source
  1. Catalog
  2. Microsoft.Build.Execution
  3. BuildParameters
  4. WarningsAsErrors
  • BuildParameters
    • BuildParameters()
    • BuildParameters(ProjectCollection)
    • AllowFailureWithoutError
    • BuildProcessEnvironment
    • BuildThreadPriority
    • Culture
    • DefaultToolsVersion
    • DetailedSummary
    • DisableInProcNode
    • DiscardBuildResults
    • EnableNodeReuse
    • EnableRarNode
    • EnableTargetOutputLogging
    • EnvironmentProperties
    • ForwardingLoggers
    • GlobalProperties
    • HostServices
    • InputResultsCacheFiles
    • Interactive
    • IsBuildCheckEnabled
    • IsolateProjects
    • LegacyThreadingSemantics
    • Loggers
    • LogInitialPropertiesAndItems
    • LogTaskInputs
    • LowPriority
    • MaxNodeCount
    • MemoryUseLimit
    • MultiThreaded
    • NodeExeLocation
    • OnlyLogCriticalEvents
    • OutputResultsCacheFile
    • ProjectCacheDescriptor
    • ProjectIsolationMode
    • ProjectLoadSettings
    • PropertiesFromCommandLine
    • Question
    • ReportFileAccesses
    • ResetCaches
    • SaveOperatingEnvironment
    • ShutdownInProcNodeOnBuildFinish
    • ToolsetDefinitionLocations
    • Toolsets
    • UICulture
    • UseSynchronousLogging
    • WarningsAsErrors
    • WarningsAsMessages
    • WarningsNotAsErrors
    • Clone()
    • GetToolset(String)
net10.0
namespace Microsoft.Build.Execution
{
    public class BuildParameters
    {
        public ISet<string> WarningsAsErrors { get; set; }
    }
}
.NET
10.0
.NET Framework
4.7.24.84.8.1
Information specific to net10.0
Assembly

Microsoft.Build , Version=15.1.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

Your project needs a package reference to Microsoft.Build.

Package Microsoft.Build (18.0.2) net10.0
Platform Restrictions

The property getter is supported on all platforms.

The property setter is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

01/13/2026
An error has occurred. This application may no longer respond until reloaded. Reload 🗙