Skip to content

Commit ffbb131

Browse files
committed
Add VS notes to contributing
1 parent 55a44ae commit ffbb131

File tree

2 files changed

+39
-40
lines changed

2 files changed

+39
-40
lines changed

CONTRIBUTING.md

+39
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,45 @@ written, documented and tested pull requests are encouraged.
3434
* After feedback has been given we expect responses within two weeks. After two
3535
weeks we may close the pull request if it isn't showing any activity.
3636

37+
38+
## Visual Studio
39+
40+
pythonnet contains a new solution file for Visual Studio 2005: pythonnet.sln
41+
It should make development under Windows much easier since you don't have to
42+
install MSys or Cygwin to run the makefile.
43+
44+
The solution file should work with the free VS .NET Express Edition.
45+
46+
### Available configurations
47+
48+
Every configuration copies the dll, pdf and exe files to the root directory
49+
of the project.
50+
51+
* Release
52+
Builds Python.Runtime, Python.Tests, clr.pyd and python.exe. The console
53+
project starts a Python console
54+
55+
* Debug
56+
Same as Release but creates a build with debug symbols
57+
58+
* UnitTest
59+
Builds a Debug build. The console project invokes runtests.py instead of
60+
opening a Python shell.
61+
62+
* EmbeddingTest
63+
Builds Python.EmbeddingTests and its dependencies. The configuration
64+
requires the NUunit framework.
65+
66+
### Python version
67+
68+
You can switch the destination version by defining either PYTHON24 or PYTHON25
69+
inside the Python.Runtime project.
70+
71+
** Don't forget to force a rebuild after you have altered the setting! **
72+
73+
MS VS doesn't take changes to define into account.
74+
75+
3776
# Additional Resources
3877

3978
* [General GitHub documentation](https://help.github.com/)

VS_README.md

-40
This file was deleted.

0 commit comments

Comments
 (0)