How to make Microsoft Enterprise Library June 2005 June release work with VS2005 beta 2?

I'm using visual studio 2005 beta2 to open the Microsoft Enterprise
Library June 2005. When I open the solution as follow "C:/Program
Files/Microsoft Enterprise Library June
2005/QuickStarts/ExceptionHandling/CS/ExceptionHandlingWithLoggingQuickS
tart.sln", the IDE throw an exception
================================
"There is an error in xml document(1,1747)"
It stop at the file ConfigurationSettingsLoader.cs
Line 72
================================

After I fix the problem I indicate above,I find a new error! I'm dying soon,my god!

After some trials and tribulations, I have finally the initial projects created by CodeSmith to compile using the VS 2005 setting.  I am using the latest version (as of yesterday) of the code from CVS.  I am using the CVS versions of NetTiers.Configuration.2005.dll and NetTiers.Configuration.Design.2005.dll and NOT the versions from Rational Path.
 
After getting it to compile, I added a WinForms project, configured it using the EntLib configuration tool and everything worked perfectly. 
 
Next, I tried creating a new web site project.  I added a web.config to the site, and configured it using the EntLib Configuration tool.  Once again, everything compiled.  However, when I opened up the web.config in VS2005B2, I get the following error:
 
Warning 59 The element 'configuration' in namespace 'http://schemas.microsoft.com/.NetConfiguration/v2.0' has invalid child element 'enterpriselibrary.configurationSettings' in namespace 'http://www.microsoft.com/practices/enterpriselibrary/08-31-2004/configuration'. Expected any element in namespace 'http://schemas.microsoft.com/.NetConfiguration/v2.0'. C:/Applib/DotNet2/ArtPackCS/WebSite1/Web.Config 43 4 C:/.../WebSite1/
When I try and run the project, I get following error as a pop-up within VS:
 
Error parsing application configuration file at line 45. Type
'{http://wwww.microsoft.com/practives/enterpriselibrary/08-31-2004/configuration}ReadOnlyConfigurationSectionData' is not found in Schema.
 
Please correct before proceeding.
(You might rename the current web.config and add a new one.)
 
Strange error...

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值