Hi I get an error when trying to create Python.Runtime.dll .\Python.cs(170,3): error CS0245: Destructors and object.Finalize cannot be called directly. Consider calling IDisposable.Dispose if available
this error is preceded by a bunch of warnings (see below). Any ideas? Mathew ------------------------------------------------------------------------------ .\AssemblyManager.cs(68,23): warning CS0465: Introducing a 'Finalize' method can interfere with destructor invocation. Did you intend to declare a destructor? .\Exceptions.cs(48,23): warning CS0465: Introducing a 'Finalize' method can inte rfere with destructor invocation. Did you intend to declare a destructor? .\ImportHook.cs(59,23): warning CS0465: Introducing a 'Finalize' method can inte rfere with destructor invocation. Did you intend to declare a destructor? .\PyObject.cs(127,14): warning CS0465: Introducing a 'Finalize' method can inter fere with destructor invocation. Did you intend to declare a destructor? .\Python.cs(168,21): warning CS0465: Introducing a 'Finalize' method can interfe re with destructor invocation. Did you intend to declare a destructor? .\PythonException.cs(103,14): warning CS0465: Introducing a 'Finalize' method ca n interfere with destructor invocation. Did you intend to declare a destructor? .\Runtime.cs(115,23): warning CS0465: Introducing a 'Finalize' method can interf ere with destructor invocation. Did you intend to declare a destructor? .\ClassObject.cs(125,18): warning CS0219: The variable `self' is assigned but it s value is never used .\ClassObject.cs(170,18): warning CS0219: The variable `self' is assigned but it s value is never used .\ClassObject.cs(233,18): warning CS0219: The variable `self' is assigned but it s value is never used .\Converter.cs(501,2): warning CS0162: Unreachable code detected .\DelegateManager.cs(246,7): warning CS0219: The variable `r' is assigned but it s value is never used .\MetaType.cs(52,13): warning CS0219: The variable `name' is assigned but its va lue is never used .\PropertyObject.cs(47,13): warning CS0219: The variable `ts' is assigned but it s value is never used .\PropertyObject.cs(102,13): warning CS0219: The variable `ts' is assigned but i ts value is never used _________________________________________________ Python.NET mailing list - PythonDotNet@python.org http://mail.python.org/mailman/listinfo/pythondotnet