# .NET Compiler Upgrade for C# Code Blocks starting release Leapwork 2025.3.0

This article will support in configuring C# block dependencies as per new update in Leapwork .Net framework 8 implemented in Leapwork release 2025.3.0.

### Compilation and execution changes:

Previously all C# code in C# code block has been compiled using .NET Framework C# compiler. In .NET newest compiler is used instead of .NET Framework one. It means:

- That the code will be compiled and executed as .NET library.
- .NET Framework dependencies, libs and assemblies cannot be used anymore.
- GAC is no more accessible.
- Users / Customers will have to adjust their existing scripts in blocks, including referencing all required .NET libs and their dependencies, replacing previous .NET Framework ones.
- Users / Customers may have to correct “usings“ in their scripts.
- Users / Customers will have access to newest C# features and syntax.

### GAC Support Change in .NET 8:

With the introduction of GAC (Global Assembly Cache) **NO** support in .NET 8 builds, we are now **disabling the ‘From GAC' option** in the C# code editor window. Moving forward, assemblies can only be referenced using the **'From File'** option.

**Reason:** GAC is Windows specific .NET Framework-based technology, meanwhile .NET is targeting to be cross-platform, and that’s why GAC is no more supported. Instead, nuget-package approach is used in .NET.

For any clarification, contact our [Priority Support](mailto:prioritysupport@leapwork.com).
