Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ms.assetid: 76ee440b-d134-4f8f-8262-b917ad6dcbf6
# How to: Perform an XSLT transformation by using an assembly

> [!NOTE]
> Script blocks are supported only in .NET Framework. They are _not_ supported on .NET Core or .NET 5 or later.
> Script blocks and the XSLT compiler are supported only in .NET Framework. They are _not_ supported on .NET Core or .NET 5 or later, and assemblies compiled using xsltc.exe cannot be loaded into .NET Core or .NET 5 or later.
Copy link

Copilot AI Feb 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The note makes an absolute compatibility claim ("assemblies ... cannot be loaded") without explaining the limitation. Consider rephrasing to the supported statement (for example, that assemblies produced by the .NET Framework xsltc.exe target .NET Framework and might fail to load on .NET Core/.NET 5+ due to missing dependencies), so the guidance stays accurate and actionable.

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI Feb 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Format xsltc.exe as code (xsltc.exe) and consider splitting this note into shorter sentences (it currently repeats "on .NET Core or .NET 5 or later" and is hard to scan).

Copilot generated this review using guidance from repository custom instructions.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> Script blocks and the XSLT compiler are supported only in .NET Framework. They are _not_ supported on .NET Core or .NET 5 or later, and assemblies compiled using xsltc.exe cannot be loaded into .NET Core or .NET 5 or later.
> Script blocks and the XSLT compiler are supported only in .NET Framework. They are _not_ supported on modern .NET, and assemblies compiled using xsltc.exe cannot be loaded into .NET Core or .NET 5 and later.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Richard Lander was recently pointing out to me that "modern .NET" isn't a thing. It's .NET or .NET Framework.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> Script blocks and the XSLT compiler are supported only in .NET Framework. They are _not_ supported on .NET Core or .NET 5 or later, and assemblies compiled using xsltc.exe cannot be loaded into .NET Core or .NET 5 or later.
> Script blocks and the XSLT compiler are supported only in .NET Framework. Those features are _not_ supported on .NET Core or .NET 5 and later, and assemblies compiled using xsltc.exe cannot be loaded into .NET Core or .NET 5 and later.


The XSLT compiler (xsltc.exe) compiles XSLT style sheets and generates an assembly. The assembly can be passed directly into the <xref:System.Xml.Xsl.XslCompiledTransform.Load(System.Type)?displayProperty=nameWithType> method.

Expand Down
Loading