- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
29-11-22 02:18 PM
Hi all,
I was wondering how to use a libary from nuget in blue prism.
I need to used the Identy.clinet libary for a project. And I have downloaded it from the nuget package explorer. And was succesful on importing it to my object.
However when I run the code I get this error on every line I try to use the dll.
Initialise | Stage1 | Error | Validate | Compiler error at line 35: The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. | No |
This is the libary I try to use.
NuGet Gallery | Microsoft.Identity.Client 4.48.1
Do I need to do something special to this libary? I downlaoded both the XML and DLL file
A few screenshots for extra information.
Thanks in advance
Jef
Answered! Go to Answer.
Helpful Answers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-11-22 01:22 PM
Try adding a reference to netstandard.dll to your Code Options -> External References settings.
Cheers,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-11-22 01:22 PM
Try adding a reference to netstandard.dll to your Code Options -> External References settings.
Cheers,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-11-22 01:25 PM
Try to use DLL from the "net35/net45" folder and see.
I believe this is due to the wrong DLL version from the Nuget package. I would suggest putting different versions of DLL one by one and reset your object to see if these errors are gone. Do this carefully put one DLL, reset and check, remove the old DLL and paste a new one, and repeat.
See if this helps to find the right DLL version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-12-22 10:46 AM
Adding the netstandard.DLL seems to have done it. I have no compiling errors anymore.
