Hi Eason Iron ,
Based on your build error, the issue is that a crucial MSBuild task (GetFrameworkSdkPackages) is missing. This typically happens when the necessary Visual Studio components for packaging Windows apps aren't fully installed.
Please try these:
- Repair Visual Studio Workloads: The most common solution is to run the Visual Studio Installer, click "Modify" on your Visual Studio 2022 Enterprise, and ensure the "Universal Windows Platform development" and/or ".NET Desktop Development" workloads are installed and up-to-date. A repair might also help.
- Check Project Configuration: In Visual Studio, go to Build > Configuration Manager and confirm that the platform for your
PowerToolboxPackageproject is set correctly (e.g., x64 or x86 and not "Any CPU").
Once you try these, attempt to rebuild the project. If the error persists, please share the error details!
Let me know how it goes!