-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Update projects to target .NET 10 (runtime libraries) #51573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Updates the runtime-libraries documentation snippet projects to build against .NET 10 by retargeting their TFMs, likely to align snippet validation/build with the next .NET release.
Changes:
- Retarget many snippet projects from
net8/net9tonet10.0. - Switch from
<TargetFrameworks>(single value) to<TargetFramework>across the updated projects.
Reviewed changes
Copilot reviewed 155 out of 155 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| docs/fundamentals/runtime-libraries/snippets/System/TypeInitializationException/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Type/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Type/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Type/MakeGenericType/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Type/MakeGenericType/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Type/GetType/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/TimeSpan/TryParse/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/TimeSpan/TryParse/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/TimeSpan/Parse/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/TimeSpan/Parse/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/String/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/String/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/String/IsNullOrEmpty/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/String/IsNullOrEmpty/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/String/Intern/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/String/Intern/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/String/Format/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/String/Format/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/String/.ctor/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/String/.ctor/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Span/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Single/Equals/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Single/Equals/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Single/Epsilon/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Single/Epsilon/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Single/CompareTo/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Single/CompareTo/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Random/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Random/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Object/ToString/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Object/ToString/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Object/GetHashCode/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Object/GetHashCode/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Object/Finalize/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Object/Finalize/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Object/Equals/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Object/Equals/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/NotSupportedException/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/InvalidOperationException/Overview/vb/Other/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/InvalidCastException/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Int64/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Int64/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Int32/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Int32/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/IDisposable/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/IDisposable/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/FormatException/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/FlagsAttribute/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/FlagsAttribute/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Exception/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Exception/HelpLink/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Exception/HelpLink/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Enum/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Enum/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Double/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Double/Equals/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Double/Equals/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Double/Epsilon/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Double/Epsilon/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Double/CompareTo/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Double/CompareTo/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Delegate/CreateDelegate/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Delegate/CreateDelegate/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Decimal/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Decimal/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/DateTime/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/DateTime/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/DateTime/FromBinary/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/DateTime/FromBinary/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Convert/ToInt64/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Convert/ToInt32/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Convert/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Convert/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Console/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Console/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Char/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Char/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Byte/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Byte/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Boolean/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/Boolean/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/AppContext/Overview/vb/V3/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/AppContext/Overview/vb/V2/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/AppContext/Overview/vb/V1/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/AppContext/Overview/csharp/V3/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/AppContext/Overview/csharp/V2/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System/AppContext/Overview/csharp/V1/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Xml/XmlWriter/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Xml/XmlWriter/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Xml/XmlResolver/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Xml/XmlResolver/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Xml/XmlReaderSettings/ValidationType/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Xml/XmlReader/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Xml/XmlReader/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Xml/XmlReader/Create/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Xml/XmlReader/Create/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Xml/XmlParserContext/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Threading/Thread/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Threading/Thread/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Threading/ReaderWriterLockSlim/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Threading/ReaderWriterLockSlim/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Threading/Monitor/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Threading/Monitor/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Threading.Tasks/Task/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Threading.Tasks/Task/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Text/StringBuilder/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Text/StringBuilder/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Text/Rune/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Text/RegularExpressions/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Text/Encoding/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Text/Encoding/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Text.RegularExpressions/Regex/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Text.RegularExpressions/Regex/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Text.RegularExpressions/Regex/Match/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Runtime.Versioning/ComponentGuaranteesAttribute/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Runtime.Versioning/ComponentGuaranteesAttribute/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Runtime.InteropServices/ICustomMarshaler/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Runtime.InteropServices/ICustomMarshaler/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Runtime.CompilerServices/RuntimeHelpers/GetHashCode/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Runtime.CompilerServices/RuntimeHelpers/GetHashCode/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Resources/ResourceReader/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Resources/ResourceReader/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Resources/ResourceManager/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Resources/ResourceManager/GetString/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Resources/ResourceManager/.ctor/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Resources/ResourceManager/.ctor/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Resources/NeutralResourcesLanguageAttribute/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Resources/NeutralResourcesLanguageAttribute/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Resources/MissingManifestResourceException/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Resources/MissingManifestResourceException/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Resources/CurrentCulture/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Reflection.Emit/PersistedAssemblyBuilder/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Numerics/BigInteger/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Numerics/BigInteger/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Globalization/CultureInfo/InvariantCulture/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Globalization/CultureInfo/InvariantCulture/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Globalization/CultureInfo/CurrentUICulture/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Globalization/CultureInfo/CurrentUICulture/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Globalization/CultureInfo/CurrentCulture/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Globalization/CultureInfo/CurrentCulture/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Dynamic/ExpandoObject/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Dynamic/ExpandoObject/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Diagnostics/PerformanceCounterType/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Diagnostics/PerformanceCounterType/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Diagnostics/PerformanceCounter/NextValue/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Diagnostics/CounterCreationData/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Diagnostics.Tracing/EventSource/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Diagnostics.Tracing/EventSource/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Data/DataTable/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Collections.Generic/ListT/Overview/csharp/Project.csproj | Retarget TFM to net10.0 |
| docs/fundamentals/runtime-libraries/snippets/System.Collections.Generic/List/Overview/vb/Project.vbproj | Retarget TFM to net10.0 |
| <OutputType>Library</OutputType> | ||
| <TargetFrameworks>net8</TargetFrameworks> | ||
| <TargetFramework>net10.0</TargetFramework> | ||
| <AllowUnSafeBlocks>true</AllowUnSafeBlocks> |
Copilot
AI
Feb 10, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AllowUnSafeBlocks is not a recognized MSBuild property, so the project won't compile unsafe code (and this project includes unsafe blocks, e.g., size1.cs). Rename this property to AllowUnsafeBlocks (or remove it if unsafe code is no longer needed).
docs/fundamentals/runtime-libraries/snippets/System/Boolean/Overview/csharp/Project.csproj
Outdated
Show resolved
Hide resolved
…erview/csharp/Project.csproj
Internal previews