You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are currently no plans to uplift the project to .NET 8 or above, this is because of backwards compatibility issues that could be created. There are many older projects that could be affected by making a breaking change such as uplifting the project to .NET 8+.
However, I do have plans to create separate forks, or links to other versions of the project that do support newer .NET versions.
Just to make sure: there is no reason to abandon the .NET FW version of the library. You can simply build it in such a way, that there is a .NET FW version and a .NET 8+ version. You can package them inside the same NuGet and Visual Studio will select the correct dependency. This is way better than forking and having two distinct NuGet packages.
@Hexman768
You update the project file to sdk style project format. (The Visual Studio Upgrade Assistant can help you with that)
Then in the project file you change <TargetFramework> to <TargetFrameworks> (notice the s that is added).
Now in there you can enter as many framework you want to compile against, for example: <TargetFrameworks>net40;net472;net8.0-windows;net10-windows</TargetFrameworks>
Then if you want to configure things per framework, you can add conditions to project file items, for example: <ItemGroup Condition="'$(TargetFramework)' == 'net8.0-windows'">
And inside your cs code you can customize per target framework if you want like this, using the autogenerated compiler constants:
#if NET8_0_OR_GREATER
#endif
For the Nuget part, if you generate the nuget via Visual Studio, then Visual Studio will automatically pack all target frameworks into one Nuget.
If you do the nuget yourself using nuget.exe, then you just have to add one folder inside the lib for each target framework you want to publish in that package.
Activity
AndreasClassen commentedon Oct 22, 2025
Same question here
Hexman768 commentedon Oct 23, 2025
There are currently no plans to uplift the project to .NET 8 or above, this is because of backwards compatibility issues that could be created. There are many older projects that could be affected by making a breaking change such as uplifting the project to .NET 8+.
However, I do have plans to create separate forks, or links to other versions of the project that do support newer .NET versions.
AndreasClassen commentedon Oct 23, 2025
Just to make sure: there is no reason to abandon the .NET FW version of the library. You can simply build it in such a way, that there is a .NET FW version and a .NET 8+ version. You can package them inside the same NuGet and Visual Studio will select the correct dependency. This is way better than forking and having two distinct NuGet packages.
Hexman768 commentedon Mar 2, 2026
@AndreasClassen Do you have any examples of this? I would love to see if I could pull this off for this project!
EPZ1904 commentedon Aug 27, 2026
@Hexman768
You update the project file to sdk style project format. (The Visual Studio Upgrade Assistant can help you with that)
Then in the project file you change
<TargetFramework>to<TargetFrameworks>(notice the s that is added).Now in there you can enter as many framework you want to compile against, for example:
<TargetFrameworks>net40;net472;net8.0-windows;net10-windows</TargetFrameworks>Then if you want to configure things per framework, you can add conditions to project file items, for example:
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-windows'">And inside your cs code you can customize per target framework if you want like this, using the autogenerated compiler constants:
#if NET8_0_OR_GREATER
#endif
For the Nuget part, if you generate the nuget via Visual Studio, then Visual Studio will automatically pack all target frameworks into one Nuget.
If you do the nuget yourself using nuget.exe, then you just have to add one folder inside the lib for each target framework you want to publish in that package.