如何将 ajax 控制工具包添加到源代码管理中?
视觉工作室2005 .Net Framework 2.0
我的 Web 应用程序 bin 文件夹中有 AjaxControlToolkit 以及所有“ar”、“de”、“fr”等文件夹。
我在垃圾箱中的这些文件中没有任何签入或签出图标,但右键单击它们可以让我执行诸如获取最新版本之类的操作。
当我在另一台计算机上访问此应用程序时,它会提取包括 AjaxControlToolkit.dll 在内的所有内容,但不会提取垃圾箱中的其他内容。
知道发生了什么事吗?
Visual Studio 2005
.Net Framework 2.0
I have the AjaxControlToolkit within my web application bin folder along with all the "ar", "de", "fr" etc. folders.
I don't have any of the check-in or check-out icons in these files in the bin but right clicking them allows me to do things like get latest version.
When I access this application on another machine it pulls in everything included the AjaxControlToolkit.dll but nothing else that's in the bin.
Any idea what's going on?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
bin 文件夹中的 dll 和二进制文件是在您根据可以在配置管理器中修改的解决方案配置设置构建项目/解决方案时生成的(通过右键单击解决方案并选择配置管理器)。
为了使您能够在任何文件夹上获得签入和签出选项,需要首先将该文件夹添加到源代码管理中。另外,我建议您在源代码管理中创建一个外部 refs 文件夹,并将工具包 dll 添加到该文件夹,并从此位置添加对 Web 项目的引用,而不是依赖于任何其他源(还设置引用的属性复制 local = true),为什么我这么说是因为如果您在本地安装了工具包框架并且 dll 在 gac 中可用,则构建不会失败,但是,对于其他人来说,它可能会失败,因为他们可能会失败没有可用的 dll。
HTH。
干杯,塔伦
The dll's and binaries in the bin folder are generated when you build your project/solution based on the solution configuration settings that you can modify in the configuration manager (by right clicking the solution and selecting Configuration Manager).
In order for you to get the check in and check out option on any folder, that folder needs to be added to the source control first. Also, i would recommend that you create an external refs folder in your source control and add the toolkit dll to that folder and add the reference to your web project from this location rather than relying on any other sources (also set the property of the reference to copy local = true), why i say this is because if you have the toolkit framework installed on your local and the dll is available in the gac, the build will not fail, however, it will fail for some one else as they may not have the dll available.
HTH.
Cheers, Tarun