I have a piece of code
using (InContext inContext = new InContext())
When I right click the definition, it points to C:\Users\me\AppData\Local\Temp\....
What is that? A defined dll?
#region Assembly SharedObjects.dll, v4.0.30319
// C:\source\blah\blah\packages\SharedObjects.1.0.4659.22817\lib\net40\SharedObjects.dll
#endregion
using blahSharedObjects;
using System;
using System.Data.Entity;
namespace something
{
public class InContext : DbContext
{
public InContext();
public InContext(string connectionString);
public DbSet<InDetails> InDetailRecords { get; set; }
public string IPAddress { get; set; }
public string UserName { get; set; }
}
}
The location you are referring to is your local user account temp folder. Is the
InContextclass in yourApp_Codefolder? Is the name of theDLLyour referring to the same as your project?I can only assume it’s being built with the solution which in turn put it in the temp folder. Try cleaning/rebuilding to see if it is still the same.