Giter Site home page Giter Site logo

Comments (13)

ikas-mc avatar ikas-mc commented on August 27, 2024 1

Do I have to publish and deploy the project to see the context menu? or I can see the changes in debug mode?
no,debug is support
Comment lines 41 and 45 directly ,Sz*.cpp

from contextmenuforwindows11.

ikas-mc avatar ikas-mc commented on August 27, 2024 1

You can add a new project , then add dependencies , then select uwp project

modify new project package.appxmanifest

 <Extensions>
        <desktop4:Extension Category="windows.fileExplorerContextMenus">
          <desktop4:FileExplorerContextMenus>
            <desktop5:ItemType Type="Directory"  >
              <desktop5:Verb Id="Command1" Clsid="46F650E5-9959-48D6-AC13-A9637C5B3787" />
            </desktop5:ItemType>
            <desktop5:ItemType Type="*"  >
              <desktop5:Verb Id="Command2" Clsid="46F650E5-9959-48D6-AC13-A9637C5B3787" />
            </desktop5:ItemType>
          </desktop4:FileExplorerContextMenus>
        </desktop4:Extension>
        <com:Extension Category="windows.comServer">
          <com:ComServer>
            <com:SurrogateServer  DisplayName="Custome Context Menu">
              <com:Class Id="46F650E5-9959-48D6-AC13-A9637C5B3787" Path="ContextMenuCustomHost.dll" ThreadingModel="STA"/>
            </com:SurrogateServer>
          </com:ComServer>
        </com:Extension>
      </Extensions>

from contextmenuforwindows11.

ikas-mc avatar ikas-mc commented on August 27, 2024 1

I did what you said, but now I get the following error image

Things are getting worse....I updated some code...

  1. Check the start menu, and then uninstall all the applications of this project.(may be 2 apps)
  2. Re-clone the code
  3. modify the certificates of the uwp and package project, right-click package.appxmanifest and select the certificate
  4. follow build.md

from contextmenuforwindows11.

ikas-mc avatar ikas-mc commented on August 27, 2024 1

I uploaded a compiled package, I tested it on my other computer, and it was running well

https://github.com/ikas-mc/ContextMenuForWindows11/releases/tag/1.0.8.0

from contextmenuforwindows11.

ikas-mc avatar ikas-mc commented on August 27, 2024 1

@ghost1372
Use CI build successfully
https://github.com/ikas-mc/ContextMenuForWindows11/actions
😥 ci use vs2019

from contextmenuforwindows11.

ikas-mc avatar ikas-mc commented on August 27, 2024

Hi, Can you provide more information about this project? Is this project incomplete? The project does not compile properly and after a lot of effort I was able to compile it. The C# project does nothing but save the json file, I expected the item to be added to the context menu. also After running the packaged project, nothing happened and no items were added to the menu.😕 Exactly what should we do?!

This project is mainly used to learn the new menu APi. It is still in a very early stage, but I have used it for a few months and it is running well.

I have uploaded the compilation,please see build.md

from contextmenuforwindows11.

ghost1372 avatar ghost1372 commented on August 27, 2024

thank you
I get the following errors when compiling

image

After commenting that piece of code, it is successfully compiled. However, UWP and WAP Project is not compiled either

image

I tried to create a new certificate This solved the problem for the UWP project, but not the WAP. I had to create a new WAP project myself and copy its appxmanifest.
After all this, I do not see any items in File Explorer ContextMenu

from contextmenuforwindows11.

ghost1372 avatar ghost1372 commented on August 27, 2024

Do I have to publish and deploy the project to see the context menu? or I can see the changes in debug mode?

from contextmenuforwindows11.

ikas-mc avatar ikas-mc commented on August 27, 2024

set ContextMenuCustomPackage project as startup project

from contextmenuforwindows11.

ghost1372 avatar ghost1372 commented on August 27, 2024

set ContextMenuCustomPackage project as startup project

cant be compiled, i need to create a new project
image

from contextmenuforwindows11.

ghost1372 avatar ghost1372 commented on August 27, 2024

I did what you said, but now I get the following error
image

from contextmenuforwindows11.

ikas-mc avatar ikas-mc commented on August 27, 2024

it say the file is being used by another process
you can try close all vs process then reopen vs

from contextmenuforwindows11.

ghost1372 avatar ghost1372 commented on August 27, 2024

Thank you @ikas-mc
I get file is being used by another process error again. I do not know why I opened and closed Visual Studio but it did not change The problem seems to be from Visual Studio.
Anyway, thanks for everything, especially the compiled version

from contextmenuforwindows11.

Related Issues (20)

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.