---
title: "Useful config files scenarios to keep on hand"
url: "https://osherove.com/blog/2004/5/21/useful-config-files-scenarios-to-keep-on-hand.md"
canonical: "https://osherove.com/blog/2004/5/21/useful-config-files-scenarios-to-keep-on-hand.html"
published: "2004-05-21T20:24:00"
updated: "2004-05-21T20:24:00"
tags: [".Net Quotations"]
author: "Roy Osherove"
description: "Suzanne shows some useful application config files that allow you do achieve specific CLR stuff:. I'll probably need this some day. here are the examples titles: - Forces the v1.0 CLR to be run. If the v1.0 CLR is not…"
usage: "Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page)."
license: "https://creativecommons.org/licenses/by/4.0/"
---

# Useful config files scenarios to keep on hand

By Roy Osherove May 21, 2004 In [.Net Quotations](https://osherove.com/blog/category/net-quotations)

**Historical article** · Originally published May 21, 2004; technical details may be outdated.

[Suzanne shows some useful application config files](http://blogs.msdn.com/suzcook/archive/2004/05/14/132022.aspx) that allow you do achieve specific CLR stuff:. I'll probably need this some day. here are the examples titles:

 - Forces the v1.0 CLR to be run. If the v1.0 CLR is not installed, the app will fail to run.

\- Redirects “assemblyName, Version=1.0.0.0, Culture=neutral, PublicKeyToken=25283151a234958d“ to version 2.0.0.0 of that assembly. This is only useful for strongly-named assemblies, since versions don't matter for those that are simply-named.

\- Redirects “assemblyName, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8968ee41e78ce97a“ to codebase “http://www.yourwebsite.com/filename.dll“. 'Href' can also be set to something like “file:///c:/localfile/filename.dll“. Note that redirecting to a codebase causes a System.Net.WebPermission or System.IO.FileIOPermissionAccess.Read + PathDiscovery demand when loading that assembly.

## More in .Net Quotations

[All posts in .Net Quotations](https://osherove.com/blog/category/net-quotations)

- May 26, 2004

    ### [Cool VS 2005 "Burton" videos](https://osherove.com/blog/2004/5/26/cool-vs-2005-quotburtonquot-videos.html)

- May 23, 2004

    ### [\[Book\] "Slack", Where Learning Happens](https://osherove.com/blog/2004/5/23/book-quotslackquot-where-learning-happens.html)

- May 20, 2004

    ### [NUnit 2.2 beta 1](https://osherove.com/blog/2004/5/20/nunit-22-beta-1.html)

- May 7, 2004

    ### [State of alternative languages on the CLR?](https://osherove.com/blog/2004/5/7/state-of-alternative-languages-on-the-clr.html)


---

## About the author

**Roy Osherove**: Senior Solutions Architect at AWS working on AI for production and AI-driven development; author of The Art of Unit Testing and Elastic Leadership, with about 20 years of consulting and training on unit testing, TDD, team leadership and continuous delivery.

### Sites

- [RobotPaper](https://robotpaper.ai/): This blog: AI patterns and anti-patterns, AI and coding agents, and engineering leadership.
- [osherove.com](https://osherove.com): Roy's personal site. Author of The Art of Unit Testing and Elastic Leadership; consulting and training on unit testing, TDD, team leadership and continuous delivery, plus about 20 years of blog posts.
- [The Art of Unit Testing](https://www.artofunittesting.com): The Art of Unit Testing, 3rd Edition (Manning): readable, maintainable, trustworthy unit tests, plus TDD workshops in C#, JavaScript, Java and Kotlin.
- [5whys.com](https://www.5whys.com): Roy's writing on software team leadership: self-organizing teams, surviving chaos, learning mode and the Elastic Leadership model.
- [Pipeline Driven](https://pipelinedriven.org): Continuous delivery and DevOps practices: build patterns, pipeline-friendly testing, DevOps metrics and enterprise DevOps.
- [Elastic Leadership](https://www.elasticleadership.com): Elastic Leadership, Roy's framework for software team leaders (survival, learning and self-organizing modes).

### Social

- X: https://x.com/royosherove
- LinkedIn: https://www.linkedin.com/in/osherove/

### Contact

- Contact form: https://forms.gle/jQSx5KoXvrVA1JCK7

### License

Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page). License: https://creativecommons.org/licenses/by/4.0/
