mikebai.com

  • Home
  • dev
  • DotNET
  • M365
  • 搞笑
  • 杂七杂八
  • FocusDict
個人BLOG
it developer
  1. Main page
  2. DotNET
  3. Main content

VS编译后事件中添加注册表键值

2012-03-09 156hotness 0likes 0comments

插件开发的时候,调试模式和安装后的注册表路径可能不同,
但是又不想把注册表调试用的代码硬在项目里,


那么可以在项目属性,编译后事件中添加下面的命令


REG ADD HKCU\Software\Microsoft\Office\Outlook\AddIns\your_key /v your_value_keyName /t REG_SZ /d your_value

Tag: Nothing
Last updated:2012-03-09

mikebai

This person is a lazy dog and has left nothing

Like
< Last article
Next article >

COPYRIGHT © 2025 mikebai.com. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang