虽然将Microsoft.BizTalk.GlobalPropertySchemas.dll添加到可视项目,但我收到程序集引用丢失错误

时间:2014-08-31 06:35:03

标签: c# .net visual-studio-2012 dll

我添加了Microsoft.BizTalk.GlobalPropertySchemas.dll作为C#Visual Project的参考。当尝试检索添加的dll的方法时,我收到错误“类型或命名空间名称'globalpropertyschemas'在命名空间'Microsoft.BizTalk'中不存在(你是否缺少程序集引用?)”。

如果我遗失了什么,请你帮帮我吗?

先谢谢,

此致 hani9870

1 个答案:

答案 0 :(得分:0)

所有归功于Vladimir Kirnishni寻找解决方案。 http://social.msdn.microsoft.com/Forums/en-US/biztalkesb/thread/8c45dad8-4347-4046-baf6-c850ea89d9c3

由于这不是我最后一次安装门户网站,因此我会复制此处的步骤列表以便快速访问,以防论坛上的帖子消失。

1.  Unzip C:\Program Files (x86)\Microsoft BizTalk ESB Toolkit\ESBSource.zip file into the C:\Projects\Microsoft.Practices.ESB folder
2.  Remove Read-only attribute from all files in C:\Projects\Microsoft.Practices.ESB folder.
3.  Download and install Enterprise Library 5.0 from http://www.microsoft.com/en-us/download/details.aspx?id=15104
4.  Download and install Microsoft Report Viewer Redistributable 2008 from http://www.microsoft.com/en-us/download/details.aspx?id=577
5.  In Visual Studio 2012, open ESB.Portal.sln found in C:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\ESB.Portal
6.  When Visual Studio 2012 starts converting the solution to the current format, a dialog pops up that warns you about ESB.Portal.Setup.vdproj file not being supported in Visual Studio 2012. Click OK. Wait until the solution opens.
7.  In the Solution Explorer add Microsoft.Practices.ServiceLocation.dll as a reference to the ESB.BAM.Service.Implementation project. This assembly is found in C:\Program Files (x86)\Microsoft Enterprise Library 5.0\Bin
8.  Open web.config file found in ESB.Portal project and remove (or comment out) “scripting” sectionGroup declaration that starts at line 12 and ends at line 20.
9.  Save all files in the solution.
10. Rebuild ESB.Portal solution.
11. Close Visual Studio.
12. Run Management_Install.cmd file found in C:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\Install\Scripts