web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

DLL

(0) ShareShare
ReportReport
Posted on by 63

How to run a DLL in a power automate desktop?

I have the same question (0)
  • AS-06081019-0 Profile Picture
    1,736 Super User 2024 Season 1 on at

    @Rahul7 You can using action Run Powershell Script for executing it.

    Set-Location C:\Projects\NvSearch\bin\Debug\net48\
    [void][Reflection.Assembly]::LoadFile("C:\Projects\NvSearch\bin\Debug\net48\NvSearch.dll")
    [NvSearch.Class1]::Test("test", 2)

     

    Desciption:

    Set-Location C:\Projects\Libs\ - Path to your library folder

    [void][Reflection.Assembly]::LoadFile("C:\Projects\Libs\MyLIb.dll")  - Path to your library

    [LibNamespace.TestClass]::TestMethod("hello", 1) -

    LibNamespace - namespace in your lib

    TestClass - сlass name

    TestMethod - method name in TestClass

    ("test", 2) - method args

     

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • AS-06081019-0 Profile Picture
    1,736 Super User 2024 Season 1 on at

    @Rahul7 You can also check this : https://powerusers.microsoft.com/t5/Power-Automate-Desktop/How-execute-third-party-dll/td-p/1331992

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Rahul7 Profile Picture
    63 on at

    Screenshot 2022-06-15 132811.pngScreenshot 2022-06-15 132839.pngScreenshot 2022-06-15 132914.png

  • Rahul7 Profile Picture
    63 on at

    Bro i was getting method invocation error

  • AS-06081019-0 Profile Picture
    1,736 Super User 2024 Season 1 on at

    Could you please share the dll file or can you try it on some other dll and check?
    Thanks

  • Rahul7 Profile Picture
    63 on at

    It's working fine 

  • AS-06081019-0 Profile Picture
    1,736 Super User 2024 Season 1 on at

    If any of the above post helped, then please consider Accept it as the solution to help the other members find it more quickly.

    Thanks
    Ankesh

  • Rahul7 Profile Picture
    63 on at

    @Ankesh_49  Bro I was telling you that the DLL works fine, but it's not working in the above way which you mentioned

  • AS-06081019-0 Profile Picture
    1,736 Super User 2024 Season 1 on at

    Ok. Could you please share the dll?

  • Rahul7 Profile Picture
    63 on at

    Sure, Could U plz provide your mail-id?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard