Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7476e42

Browse files
committed
Add pyproj from @denfromufa
Corrected the configs, won't interfere with users without PTVS
1 parent d68ab74 commit 7476e42

File tree

2 files changed

+77
-0
lines changed

2 files changed

+77
-0
lines changed

pythonnet.sln

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Console", "src\console\Cons
1212
EndProject
1313
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "clrmodule", "src\clrmodule\clrmodule.csproj", "{86E834DE-1139-4511-96CC-69636A56E7AC}"
1414
EndProject
15+
Project("{888888A0-9F3D-457C-B088-3A5042F75D52}") = "tests", "src\tests\tests.pyproj", "{250C535C-C060-4F0C-BD80-41F2BF373565}"
16+
EndProject
1517
Global
1618
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1719
DebugMono|x64 = DebugMono|x64
@@ -100,6 +102,14 @@ Global
100102
{86E834DE-1139-4511-96CC-69636A56E7AC}.ReleaseWin|x64.Build.0 = ReleaseWin|x64
101103
{86E834DE-1139-4511-96CC-69636A56E7AC}.ReleaseWin|x86.ActiveCfg = ReleaseWin|x86
102104
{86E834DE-1139-4511-96CC-69636A56E7AC}.ReleaseWin|x86.Build.0 = ReleaseWin|x86
105+
{250C535C-C060-4F0C-BD80-41F2BF373565}.DebugMono|x64.ActiveCfg = DebugMono|Any CPU
106+
{250C535C-C060-4F0C-BD80-41F2BF373565}.DebugMono|x86.ActiveCfg = DebugMono|Any CPU
107+
{250C535C-C060-4F0C-BD80-41F2BF373565}.DebugWin|x64.ActiveCfg = DebugWin|Any CPU
108+
{250C535C-C060-4F0C-BD80-41F2BF373565}.DebugWin|x86.ActiveCfg = DebugWin|Any CPU
109+
{250C535C-C060-4F0C-BD80-41F2BF373565}.ReleaseMono|x64.ActiveCfg = ReleaseMono|Any CPU
110+
{250C535C-C060-4F0C-BD80-41F2BF373565}.ReleaseMono|x86.ActiveCfg = ReleaseMono|Any CPU
111+
{250C535C-C060-4F0C-BD80-41F2BF373565}.ReleaseWin|x64.ActiveCfg = ReleaseWin|Any CPU
112+
{250C535C-C060-4F0C-BD80-41F2BF373565}.ReleaseWin|x86.ActiveCfg = ReleaseWin|Any CPU
103113
EndGlobalSection
104114
GlobalSection(SolutionProperties) = preSolution
105115
HideSolutionNode = FALSE

src/tests/tests.pyproj

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<SchemaVersion>2.0</SchemaVersion>
6+
<ProjectGuid>{250c535c-c060-4f0c-bd80-41f2bf373565}</ProjectGuid>
7+
<ProjectHome />
8+
<StartupFile>runtests.py</StartupFile>
9+
<SearchPath />
10+
<WorkingDirectory>.</WorkingDirectory>
11+
<OutputPath>.</OutputPath>
12+
<ProjectTypeGuids>{888888a0-9f3d-457c-b088-3a5042f75d52}</ProjectTypeGuids>
13+
<LaunchProvider>Standard Python launcher</LaunchProvider>
14+
<InterpreterId />
15+
<InterpreterVersion />
16+
</PropertyGroup>
17+
<PropertyGroup Condition="'$(Configuration)' == 'DebugMono'" />
18+
<PropertyGroup Condition="'$(Configuration)' == 'DebugWin'" />
19+
<PropertyGroup Condition="'$(Configuration)' == 'ReleaseMono'" />
20+
<PropertyGroup Condition="'$(Configuration)' == 'ReleaseWin'" />
21+
<PropertyGroup>
22+
<VisualStudioVersion Condition=" '$(VisualStudioVersion)' == '' ">10.0</VisualStudioVersion>
23+
<PtvsTargetsFile>$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Python Tools\Microsoft.PythonTools.targets</PtvsTargetsFile>
24+
</PropertyGroup>
25+
<ItemGroup>
26+
<Compile Include="leaktest.py" />
27+
<Compile Include="profile.py" />
28+
<Compile Include="PyImportTest\test\one.py" />
29+
<Compile Include="PyImportTest\test\__init__.py" />
30+
<Compile Include="PyImportTest\__init__.py" />
31+
<Compile Include="runtests.py" />
32+
<Compile Include="stress.py" />
33+
<Compile Include="stresstest.py" />
34+
<Compile Include="test_array.py" />
35+
<Compile Include="test_class.py" />
36+
<Compile Include="test_compat.py" />
37+
<Compile Include="test_constructors.py" />
38+
<Compile Include="test_conversion.py" />
39+
<Compile Include="test_delegate.py" />
40+
<Compile Include="test_docstring.py" />
41+
<Compile Include="test_engine.py" />
42+
<Compile Include="test_enum.py" />
43+
<Compile Include="test_event.py" />
44+
<Compile Include="test_exceptions.py" />
45+
<Compile Include="test_field.py" />
46+
<Compile Include="test_generic.py" />
47+
<Compile Include="test_indexer.py" />
48+
<Compile Include="test_interface.py" />
49+
<Compile Include="test_method.py" />
50+
<Compile Include="test_module.py" />
51+
<Compile Include="test_property.py" />
52+
<Compile Include="test_subclass.py" />
53+
<Compile Include="test_suite\test_callback.py" />
54+
<Compile Include="test_suite\test_import.py" />
55+
<Compile Include="test_suite\test_recursive_types.py" />
56+
<Compile Include="test_suite\_missing_import.py" />
57+
<Compile Include="test_suite\__init__.py" />
58+
<Compile Include="test_thread.py" />
59+
</ItemGroup>
60+
<ItemGroup>
61+
<Folder Include="PyImportTest" />
62+
<Folder Include="PyImportTest\test" />
63+
<Folder Include="test_suite" />
64+
</ItemGroup>
65+
<Import Project="$(PtvsTargetsFile)" Condition="Exists($(PtvsTargetsFile))" />
66+
<Import Project="$(MSBuildToolsPath)\Microsoft.Common.targets" Condition="!Exists($(PtvsTargetsFile))" />
67+
</Project>

0 commit comments

Comments
 (0)