NU1202: Package VariableStore 1.0.1 is not compatible with net461 (.NETFramework,Version=v4.6.1). Package VariableStore 1.0.1 does not support any target frameworks

I am trying to include a very basic library that I just created into a project I created previously. I get an error stating:

“NU1202: Package VariableStore 1.0.1 is not compatible with net461 (.NETFramework,Version=v4.6.1). Package VariableStore 1.0.1 does not support any target frameworks.”

I have the latest version of UiPath installed (just installed 10 minutes ago), and I have .net 4.8.

Is there a way to change the target framework of either project? Any other suggestions?

Thanks!

Update: I even tried adding to a new project and got the same message.

Have You created your project by choosing the Library option while creating the project in Ui Path Studio? If not then that would give you this error.

I wound up recreating the library and it started working. No idea what the root cause was. Fortunately it wasn’t a very complex library.