- Follow MSDev.pro blog on WordPress.com
Follow us
-
Recent Posts
Categories
Recent Comments
Archives
Category Archives: .Net
XslLoadException: The type or namespace name ‘SecurityRulesAttribute’ does not exist in the namespace ‘System.Security’ (are you missing an assembly reference?)
While porting a project from .Net 3.5 to .Net 4 we got this weird error. The error occurs when loading an XSLT in memory. Here is the failing piece of code (simplified): private static XslCompiledTransform ReadXslt(string fname) { XslCompiledTransform xsl … Continue reading
Posted in .Net, Development
Tagged Extension object, SecurityRulesAttribute, XslLoadException
1 Comment
Rediscovered the Debug attributes
There are 2 attributes that can easily be applied to your classes / methods to modify the behavior at debugging time. The attributes don’t change the runtime behavior of your code. [DebuggerDisplay] This attribute defines how you’ll see a type … Continue reading
Could not load file or assembly ‘System.EnterpriseServices.Wrapper.dll’
I had this error when running a .Net 3.5 app that is using a DB2 connector on a Win XP SP3 machine. The application has always worked until today and is in no way using the referenced assembly (just executing … Continue reading
Posted in .Net, Assembly
Tagged EnterpriseServices, FileNotFoundException, solved, Wrapper
2 Comments
FuslogVw–debugging assembly loading
We’ve all had it before: referencing some libraries, recompiling the project and then the variation on the DLL hell: the assembly hell. Suddenly one of your assemblies (or on of its dependent assemblies) doesn’t load anymore. Debugging this can be … Continue reading