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

Announcements

News and Announcements icon
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,738 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,738 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,738 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,738 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,738 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard