?
Solved

Enterprise Library 6.0, does the Configuration Console work?

Posted on 2014-07-13
5
Medium Priority
?
2,020 Views
Last Modified: 2014-07-13
In Enterprise Library 5.0 you can add an App.config file, right click on it and have the option to edit the config using the Configuration Console:
RightClickAppConfigConfigConsole.png
This option doesn't seem to be available in Enterprise Libarary 6.0 - is that correct?
EnterpriseLibrary6-options.png
0
Comment
Question by:quentinA
  • 3
  • 2
5 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 40192893
There is an extension you can download, but it only appears to install for VS 2012.

Screenshot
0
 

Author Comment

by:quentinA
ID: 40192909
Thanks. I had already downloaded the extension.
I am using VS2103.
The standalone configuration console can be used to set up validators in the App.config of a solution.
When this is done the PublicKeyToken for EnterpriseLibrary is set as null, and the validators don't work.
When the PublicKeyToken is manually updated to PublicKeyToken=31bf3856ad364e35 the validators work correctly.

If I then try to open the App.config in the configuration console, I get the following error message:

 Error Message
Do you know how I should deal with this error?
0
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 40192910
I commented in your other question. When I tried in the configuration console, it added the PKT as expected.
0
 

Author Comment

by:quentinA
ID: 40192922
Do you have the "edit configuration file" as an option when you right click on the App.config in VS2013.
(I don't use VS2012)?

I'm using windows 8.1, 64-bit, VS Professional 2013.
0
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 2000 total points
ID: 40192926
No. I can't seem to locate an extension for EL that works in VS 2013. Were you able to locate such?

Now, I did find an article that shows how to hack the .vsix file in order to extend the supported products a given extension supports. I tried it out, and it seems to work, but be warned:  I cannot guarantee that this is 100% safe. If you decide to hack the .vsix file, then you do so at your own risk.

If you decide to try hacking the .vsix file, then all you need to do is add an entry for version 12.0 of VS (since you are using VS 2013). You can simply copy the section for version 11, and then change it to 12.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Hi, this video explains a free download that you can incorporate into your Access databases, or use stand-alone for contact management. Contacts -- Names, Addresses, Phone Numbers, eMail Addresses, Websites, Lists, Projects, Notes, Attachments…
Suggested Courses
Course of the Month3 days, 21 hours left to enroll

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question