Could not load type in C#
<p>In my C# class that was working well and suddenly from yesterday when I try to run the program I get the following error. When I try to Build the solution it is building sucessfully.</p>

<blockquote>
<pre><code>Could not load type 'FileNet.Api.Admin.IRepository' from
</code></pre>
  
  <p>assembly 'FileNet.Api,
  Version=4.0.0.0, Culture=neutral,
  PublicKeyToken=63fc2fb3fdeef4f1'.</p>
</blockquote>

<p>When I try to debug the solution, I get the above error at the SetOSNames(); I am not able to step into SetOSNames(); method.</p>

<p>Please help</p>

<pre><code>private void IntializeVariables(IConnection connection)
        {
            domain = Factory.Domain.FetchInstance(connection, null, null);
            domainName = domain.Name;
            ost = domain.ObjectStores;
            SetOSNames(); ///Error thrown here
        }

        //
        // Intializes the ArrayList osNames with object store names.
        //
        public void SetOSNames()
        {
            IEnumerator ie = ost.GetEnumerator();
            while (ie.MoveNext())
            {
                IObjectStore os = (IObjectStore)ie.Current;
                osNames.Add(os.DisplayName);
            }
        }
</code></pre>
