namespace conflict
<p>I got:</p>

<pre><code>using System.Diagnostics;
using System.Reflection;

namespace Site
{
    public abstract class General
    {

        private static string _version;

        public static string Version { get { return _version; } }

        static General()
        {
            Assembly assembly = Assembly.GetExecutingAssembly();
            FileVersionInfo fileVersionInfo = FileVersionInfo.GetVersionInfo(assembly.Location);
            _version = fileVersionInfo.ProductVersion;
        }

    }
}
</code></pre>

<p>The code works fine and I can get the version anywhere I need accessing <code>Site.General.Version</code>. Now I'm trying to use the inline tag <code>&lt;% = Site.General.Version %&gt;</code> but I'm getting a error message saying <code>System.ComponentModel.ISite</code> does not contain a definition or 'General'.... I think there's a namespace conflict because of the <em>interface</em> <code>ISite</code>.</p>

<p>How can I solve this?</p>
