NU1202: Package System.Drawing.Primitives 4.3.0 is not compatible with net8.0-windows7.0 (.NETCoreApp,Version=v8.0) / win-x64. Package System.Drawing.Primitives 4.3.0 supports:
monoandroid10 (MonoAndroid,Version=v1.0)
monotouch10 (MonoTouch,Version=v1.0)
xamarinios10 (Xamarin.iOS,Version=v1.0)
xamarinmac20 (Xamarin.Mac,Version=v2.0)
xamarintvos10 (Xamarin.TVOS,Version=v1.0)
xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
help us if someone knows about this
Hi @sharmadeepak4167
Try this
Check which package is bringing in System.Drawing.Primitives 4.3.0 (directly or as a transitive dependency).
Update the dependent package to a version that supports .NET 8 .
Remove any explicit reference to System.Drawing.Primitives 4.3.0 , as .NET 8 already includes the required framework assemblies.
Run Manage NuGet Packages and update all packages to their latest compatible versions, then clear the NuGet cache and restore packages.
If the dependency does not yet support .NET 8, consider targeting .NET 6/7 or use a newer version of the library that is compatible with .NET 8.
If solution works for you please mark as solution
Thanks
@sharmadeepak4167
Go to dependency section
Check is there any error showing at the last of the package/dependency.
If yes, right click on that and click on repair. if not resolved open manage packages and update the package.
Let me know if this works,
Happy Automation
Hi @sharmadeepak4167
pls update this package and if not work update .net or fresh install UiPath Studio.
Happy Automation
Prashanth_D
(Prashanth_dharavath)
July 20, 2026, 3:13pm
5
Hi @sharmadeepak4167 ,
You can try these option listed below:
Check your .csproj file. Look for something like: PackageReference Include=“System.Drawing.Primitives” Version=“4.3.0” / . If it exists, then remove it.
Check for an outdated dependency/package and try to upgrade it to a latest version if possible.
Find the package which is causing the issue and repair it, so that it will fix and previous version defects.
Cheers!