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.
我能够在 TFS 上配置不同的 web.config 文件(调试和发布)。
是否可以为每个用户单独配置 web.config 文件?我的目标是包含个人连接字符串以连接 TFS 上的本地数据库。
提前致谢。
当然,您可以像这样使用相同的 .config 文件:您已经拥有 Web.Debug.Config 和 Web.Release.Config 开箱即用...
因此,为了使另一个唯一,基于配置类型,只需创建 Web..Config,并放入特定的凭据。
然后通过转到配置管理器来创建配置。