Im using an open source code from EvilDicom. Unfortunately, these codes are in VS2010 and they use the namespace System.Numerics and Microsoft.CSharp. I would like to know if there are equivalents of these namespaces in VS2008? My application is built in VS2008 and hence i’m trying to build in 2008.
Im using an open source code from EvilDicom . Unfortunately, these codes are in
Share
The only way the System.Numerics namespace is used is in the
UIDHelperclass to convert a GUID to a decimal number. It essentially writes out a 16 byte integer, created from the bytes of a GUID, as a decimal number.I don’t know how important this value is. You have two options:
You can replace this code with similar code that does not use the
BigIntegertype but is good enough for your purposes.You can implement the
BigIntegertype yourself. There are several implementations, including in the .NET Framework itself, in the J# class libraries (See http://msdn.microsoft.com/en-us/magazine/cc163696.aspx).