Coder Social home page Coder Social logo

Comments (7)

sanjayssk avatar sanjayssk commented on May 18, 2024 3

Same problem here with VS2022.

from windows-appconsult-samples-desktopbridge.

cnbluefire avatar cnbluefire commented on May 18, 2024

modify file "Docs-ContextMenuSample/ExplorerCommandVerb/ExplorerCommandVerb.vcxproj"
add this code to line 173
<ModuleDefinitionFile>Dll.def</ModuleDefinitionFile>

from windows-appconsult-samples-desktopbridge.

DavidAtGoliathResearch avatar DavidAtGoliathResearch commented on May 18, 2024

Adding the Module Definition File directly to .vcxproj or in Project | Properties | Input | Module Definition File does not solve the issue for Visual Studio 2022.
In my case, I'm using Windows 11 Pro 21H2 Build 22000.708
I also tried on the latest Insider Build 25131.1000

from windows-appconsult-samples-desktopbridge.

DWilly92 avatar DWilly92 commented on May 18, 2024

I am experiencing the same, running Windows 11 Pro 22H2 Build 25227.1000 and VS 2022 17.2.5.

I added <ModuleDefinitionFile>Dll.def</ModuleDefinitionFile> to line 173 in the vcxproj file, and it has made no difference. I can build the DLL, and register/unregister it successfully using regsvr32, but there is no change in the context menu when right-clicking a *.txt file.

*Edit - I am able to see the CLSID registered in the registry successfully, pointing to the DLL, verifying that regsvr32 did successfully register it.

from windows-appconsult-samples-desktopbridge.

modz2014 avatar modz2014 commented on May 18, 2024

ok fix the issue you can use the context menu when you right click on a .txt file its needs to be packaged as msix to be able to use it there is no way around it

from windows-appconsult-samples-desktopbridge.

DavidAtGoliathResearch avatar DavidAtGoliathResearch commented on May 18, 2024

Did someone found a solution for the two issues?

  1. The release version will not work with regsvr32 compiled with VS 2022 for x64
  2. The compiled version fails to appear under "Show more options" and will not appear on the top-level menu on Windows 11 (even installing the package).

from windows-appconsult-samples-desktopbridge.

modz2014 avatar modz2014 commented on May 18, 2024

it needs to be registered as app identy you cant register them with out it

from windows-appconsult-samples-desktopbridge.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.