This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: MSVC compiler problems with .NET v2.0
Type: Stage:
Components: Distutils Versions: Python 2.4
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: hrgerber, loewis
Priority: normal Keywords:

Created on 2006-05-31 09:15 by hrgerber, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg28691 - (view) Author: Retief Gerber (hrgerber) Date: 2006-05-31 09:15
There is a problem with msvccompiler.py that does not 
allow it to work with MS Visual Studio 2005 and .NET 
v2.0

msvccompiler.py
__revision__ = "$Id: msvccompiler.py,v 1.64.2.4 
2005/08/07 20:50:37 loewis Exp $"
from line 128 

            if version > 7.0:
                self.set_macro("FrameworkSDKDir", 
net, "sdkinstallrootv1.1")
            else:
                self.set_macro("FrameworkSDKDir", 
net, "sdkinstallroot")

should be replaced with 

            if version == 7.1:
                self.set_macro("FrameworkSDKDir", 
net, "sdkinstallrootv2.0")
            elif version > 7.0:
                self.set_macro("FrameworkSDKDir", 
net, "sdkinstallrootv1.1")
            else:
                self.set_macro("FrameworkSDKDir", 
net, "sdkinstallroot")

I dont have must dev experience on distutils, so this 
might not be the best solution
msg28692 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2006-06-04 20:05
Logged In: YES 
user_id=21627

This is not a bug. You shouldn't use Visual Studio 2005 to
build extensions for Python. Python extensions should be
built with the same version of the Microsoft compiler that
was used to build Python itself. For Python 2.4 and 2.5,
that's Visual Studio 2003.

Closing as "not-a-bug".
History
Date User Action Args
2022-04-11 14:56:17adminsetgithub: 43437
2006-05-31 09:15:51hrgerbercreate