Fix version mismatch between plugin.json and PowerToys display#83
Fix version mismatch between plugin.json and PowerToys display#83
Conversation
Co-authored-by: N0I0C0K <30338746+N0I0C0K@users.noreply.github.com>
|
@copilot 再检查一下源代码中的版本是否也需要替换一下,最好能有一个方式统一起来写在一个地方 |
Co-authored-by: N0I0C0K <30338746+N0I0C0K@users.noreply.github.com>
I've reviewed the source code and implemented a centralized version management system: Changes in commit 63363de:
About the "1.0.0" in source code: Future updates: |
|
@copilot 不要做没用的开发,只需要将项目中版本号统一即可,删掉新增的文件 |
…perties Co-authored-by: N0I0C0K <30338746+N0I0C0K@users.noreply.github.com>
Removed the unnecessary files in commit cc6437e:
The solution now only includes the three version properties in Translater.csproj that fix the original issue. To update the version in the future, update both the .csproj properties and plugin.json manually. |
PowerToys Run displays "1.0.0.0" instead of "0.12.0" from plugin.json because it reads assembly metadata, not the manifest file.
Changes
Added version properties to
Translater.csproj:Without these properties, .NET defaults to "1.0.0.0" for all assembly versions.
These properties ensure:
Result
After building the plugin with these changes, PowerToys Run will display "版本 0.12.0" instead of "V1.0.0.0", matching the version in plugin.json.
How to Update Version
To update the plugin version:
Translater.csprojto the same version numberVersionfield inplugin.jsonto matchOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.