NU1202: Package Google.Apis.Sheets.v4 1.44.0.1877 is not compatible with net461

While trying to update the dependency of GSuite activity, it crashed all my activity…
Found other topic suggesting to upgrade .NETFramework, but mine is already 4.8
Is there a way to work around?

Thanks

Hi @lakshman
Found your thread here Error 1202 to suggest upgrading to .NETFramework 4.8, but while doing so, it said mine is already installed with 4.8

Meanwhile, the package in UiPath is only available up to 4.61, and can not be installed.

It’s kind of confusion, can you enlight…
dotnet461
Thanks

Hi @loginerror

Tried several days but still having this error…
NU1202: Package Google.Apis.Sheets.v4 1.44.0.1877 is not compatible with net461 (.NETFramework,Version=v4.6.1). Package Google.Apis.Sheets.v4 1.44.0.1877 does not support any target frameworks.

All my previously built activities are “Missing or invalid”

Some suggest to upgrade to .NETFramework 4.8, but while doing so, it said mine is already installed with 4.8

Had re-installed including UiPath Studio and Visual Studio to 2019, but still the same error.

Any suggestion that i should look into…

Thanks

p.s. Found “UiPath Diagnostic Tools” do you think it will be a help to provide ?

I would strongly suggest you to use the most recent and actively supported GSuite integration, it could be that the activity package you are using was not updated.

Here is the one I’d suggest:

Hi @loginerror

Thanks for helping. I had GSuite Activities 1.5.1 installed, should be the latest as you suggested, but NU1202 was happening.

Any further step I should take…

Hi @loginerror, help please…

I’m getting this problem, my colleague is getting another problem, both are not able to use Studio.

Had Windows updated to the latest, especially with the .net framework 3.5 and 4.8 update, it seems working now, but still don’t understand what are all these errors:
NU1603: UiPath.GSuite.Activities 1.3.0 depends on Google.Apis.Sheets.v4 (>= 1.40.2) but Google.Apis.Sheets.v4 1.40.2 was not found. An approximate best match of Google.Apis.Sheets.v4 1.40.2.1614 was resolved.
NU1801: Failed to retrieve information about ‘UiPath.Mail.Activities’ from remote source ‘<updated>2022-10-07T08:46:01Z</updated><link rel="self" href="https://uipath.pkgs.visualstudio.com/Public.Feeds/_packaging/Marketplace-Public/nuget/v2/Packages" /><author><name /></author></feed>’.
NU1102: Unable to find package UiPath.Mail.Activities with version (= 1.7.1-beta.557462)

  • Found 46 version(s) in https://www.myget.org/F/workflow/ [ Nearest version: 1.7.1-ce ]
  • Found 46 version(s) in https://www.myget.org/F/workflow/ [ Nearest version: 1.7.1-ce ]
  • Found 46 version(s) in Official [ Nearest version: 1.7.1-ce ]
  • Found 1 version(s) in C:\Users\User\AppData\Local\UiPath\app-20.6.0-beta0093.\Packages [ Nearest version: 1.9.0-preview ]
  • Found 1 version(s) in Local [ Nearest version: 1.9.0-preview ]
  • Found 0 version(s) in C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\
  • Found 0 version(s) in Microsoft Visual Studio Offline Packages
  • Found 0 version(s) in C:\Users\User\Documents\UiPath\Library
  • Found 0 version(s) in getGmailMessage.1.0.1-alpha.nupkg
  • Found 0 version(s) in C:\Users\User\Documents\UiPath\nupkg
  • Found 0 version(s) in TestSam
  • Found 0 version(s) in https://api.nuget.org/v3/index.json
  • Found 0 version(s) in nuget.org
  • Found 0 version(s) in https://gallery.uipath.com/api/v2
  • Found 0 version(s) in Connect

This one doesn’t exists anymore, so it will throw you an error. And you probably have the runtime rule to Strict, so it won’t try to use another version. Set the activity to Runtime rule: Lowest applicable version to see if it will resolve your problem.

Better switch your activities to stable versions and see if the errors dissapear

Use beta and preview only for testing

2 Likes

Thanks @jvanmarion, it helps.

Good to hear. Can you mark the answer as the solution?. It can be usefull to other forum members.

Hi @jvanmarion

This topic is not created by me initially, already being marked as solution before.

Thanks for your help.

I moved this part of the discussion to your duplicated topic to be able to mark the solution :slight_smile:

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.