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.
我有一个安装在 IDE 中的设计时包,它使用运行时包中定义的类和函数。
每次编译或构建运行时包时,似乎都会自动重新安装设计时包。
该操作在按下“编译窗口”的“确定”按钮后开始,需要几秒钟。
有没有办法避免这种情况?
你无法避免这一点。设计时包依赖于运行时包。当您重新编译运行时包时,必须卸载并重新加载它以使新编译生效。卸载运行时包需要先卸载所有依赖包。至少 IDE 足够聪明,可以在加载新的运行时包后自动重新加载依赖包。