Author jaraco
Recipients brian.curtin, jaraco, pitrou
Date 2012-05-16.01:57:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I've discovered a few things:

- _ctypes depends on pythoncore.
- other projects that depend on pythoncore are not built by msbuild.
- If I remove the dependency of _ctypes on pythoncore and then do the build with msbuild, _ctypes is built and I can import ctypes.
- If instead I explicitly specify _ctypes as a target, it gets built (and along with a regular build, I can import ctypes).

I see why that ctypes does depend on pythoncore, because it needs python33.lib to link.

In trying to discover how to have msbuild attempt to build the entire solution, I ran across [this article]( which says that best practice is not to declare project dependencies in a solution file at all but instead declare project dependencies in the project files themselves (so _ctypes should <Include> pythoncore, for example).

I plan to look into this issue more later.
Date User Action Args
2012-05-16 01:57:07jaracosetrecipients: + jaraco, pitrou, brian.curtin
2012-05-16 01:57:07jaracosetmessageid: <>
2012-05-16 01:57:06jaracolinkissue14821 messages
2012-05-16 01:57:06jaracocreate