Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在不删除密钥的情况下删除 MSBuild 4.0 中的注册表值?
我已经尝试过MSBuild Extension Pack,但Registry 类似乎缺少删除值的方法。
您是否尝试过使用 Exec 并调用命令 reg delete HKLM\Software\Test /v Testvalue
<Exec Command="echo Y|reg delete HKLM\Software\Test /v TestValue" />