没有GAC或编辑machine.config的架构导入器扩展 [英] Schema Importer Extension without GAC or editing machine.config

查看:74
本文介绍了没有GAC或编辑machine.config的架构导入器扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道是否可以在没有使用GAC注册程序集或编辑machine.config文件的情况下创建Schema Import Extension?

基本上,我的组织有多个相同代码的分支,我想让Web引用生成使用特定于该分支的DLL,而不是每次我想要构建不同的分支时都手动设置这一点。

这是我要去的指南:http://www.microsoft.com/belux/msdn/nl/community/columns/jdruyts/wsproxy.mspx

Does anyone know if it's possible to create a Schema Import Extension without registering an assembly with the GAC or editing the machine.config file?

Basically, my org has multiple branches of the same code and I'd like to make the web reference generation use the DLL specific to that branch without manually setting this all up every time I want to build a different branch.

This is the guide I'm going off of: http://www.microsoft.com/belux/msdn/nl/community/columns/jdruyts/wsproxy.mspx

推荐答案

我建​​议你创建一个"存根"。可以放置在GAC中的模式导入器扩展,它可以加载每个分支模式导入器扩展以执行实际工作。 "存根"是指"存根"。将是非常小的,独立于分支。
I would suggest you create a "stub" schema importer extension that you can place in the GAC, and which loads the per-branch schema importer extension to do the real work. The "stub" would be very small, and independent of the branch.


这篇关于没有GAC或编辑machine.config的架构导入器扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆