Question

I get the following error when clicking on the save button in the breezejs nuget sample:

Could not load type 'System.Runtime.CompilerServices.ScriptAssemblyAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

I get the error when SaveChanges in the code below is called:

[HttpPost]
public SaveResult SaveChanges(JObject saveBundle) {
   return _contextProvider.SaveChanges(saveBundle);
}

Actually ScriptAssemblyAttribute does not exist in the intellisense when I lookup System.Runtime.CompilerServices in the code editor and I'm targeting .NET 4.5.

What am I missing?

Thanks in advance.

Was it helpful?

Solution

Turns out Script# has something to do with it. I uninstalled it and the error was gone.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top