CodeSmith Free Tip

It is said that CodeSmith is a must for .NET developers. However, even though I have been doing C# for years, I do not use it that frequently. So I prefer the free 2.6 version.

But time goes by so quickly that you may find it fails to launch on Windows Vista. Why it complains that while Vista pre-installs .NET 2.0 and 3.0? I guess .NET beginners would find it miserable.

The answer is quite simple that its config file prevents you from using it on .NET 2.0/3.0. Therefore, here comes an easy workaround in <app.config>

Adding a .NET 2.0 line is enough.

© Lex Li. All rights reserved. The code included is licensed under CC BY 4.0 unless otherwise noted.

© - Lex Li. All rights reserved.

Using the Chirpy theme for Jekyll.

Last updated on April 19, 2024