By David, on December 17th, 2010
In some situations, you might want to run a .NET 2 Runtime application (.NET 2, 3.0, 3.5 SP1 etc) under the .NET 4 Runtime – without recompiling.
You can configure your app to execute under the .NET 4 runtime by adding these lines to the executable’s configuration file, under the root configuration element:
<startup>
<supportedRuntime version=”v4.0″ sku=”.NETFramework,Version=v4.0″/>
</startup>
Because the security . . . → Read More: Running .NET 2 Runtime applications under the .NET 4 Runtime
By David, on May 22nd, 2009
If you have several applications that are using NLog, it can be a good idea to install NLog into the GAC and reference that.
A gotcha you must watch out for is caused by this piece of configuration from the NLog site:
<configuration>
<configSections>
<section name=”nlog” type=”NLog.Config.ConfigSectionHandler, NLog”/>
</configSections>
<nlog>
</nlog>
</configuration>
Because you are not using the strong name for the Assembly-qualified name of . . . → Read More: Configuring NLog for your application when NLog is in the Global Assembly Cache (GAC)