I am developing a DSL package that has a number of toolbar items. If I add a new toolbar item in the DSL explorer install the new package into the Visual Studio isolated shell the new items don't appear. I am testing this on a virtual machine first by installing the first version of the package, uninstalling it and then installing the updated version. It seems that the system is somehow caching the old toolbar settings, etc even though a new version of the DSL package assembly is being installed.
我正在开发一个包含许多工具栏项的DSL包。如果我在DSL资源管理器中添加新工具栏项,则将新软件包安装到Visual Studio隔离的shell中,不会显示新项目。我首先在虚拟机上测试它,安装包的第一个版本,卸载它然后安装更新的版本。即使正在安装新版本的DSL软件包组件,系统似乎也以某种方式缓存了旧的工具栏设置等。
Any ideas why the old tool bar items appear and the new ones don't?
任何想法为什么旧的工具栏项目出现而新的工具栏没有?
1 个解决方案
#1
Indeed, a cache mechanism is used. The problem doesn't appear if you use a new account to launch your shell. I don't know the reasons why this problem occurs but here is a workaround to force the toolbox refresh.
实际上,使用了缓存机制。如果您使用新帐户启动shell,则不会出现此问题。我不知道出现此问题的原因,但这是一个强制工具箱刷新的解决方法。
- Go to USERPROFILE%\Local Settings\Application Data\Microsoft\AppEnv\Apps\YourShell_GUID\
- Remove all tbd files (.tbd) (Don't forget that tbd files are hidden files).
转到USERPROFILE%\ Local Settings \ Application Data \ Microsoft \ AppEnv \ Apps \ YourShell_GUID \
删除所有tbd文件(.tbd)(不要忘记tbd文件是隐藏文件)。
Good luck.
#1
Indeed, a cache mechanism is used. The problem doesn't appear if you use a new account to launch your shell. I don't know the reasons why this problem occurs but here is a workaround to force the toolbox refresh.
实际上,使用了缓存机制。如果您使用新帐户启动shell,则不会出现此问题。我不知道出现此问题的原因,但这是一个强制工具箱刷新的解决方法。
- Go to USERPROFILE%\Local Settings\Application Data\Microsoft\AppEnv\Apps\YourShell_GUID\
- Remove all tbd files (.tbd) (Don't forget that tbd files are hidden files).
转到USERPROFILE%\ Local Settings \ Application Data \ Microsoft \ AppEnv \ Apps \ YourShell_GUID \
删除所有tbd文件(.tbd)(不要忘记tbd文件是隐藏文件)。
Good luck.