|
5 | 5 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
6 | 6 | <ProjectGuid>{6F401A34-273B-450F-9A4C-13550BE0767B}</ProjectGuid>
|
7 | 7 | <OutputType>Library</OutputType>
|
8 |
| - <NoStandardLibraries>false</NoStandardLibraries> |
9 | 8 | <AssemblyName>Python.Test</AssemblyName>
|
10 | 9 | <RootNamespace>Python.Test</RootNamespace>
|
11 |
| - <RunPostBuildEvent Condition=" '$(OS)' == 'Windows_NT'">OnBuildSuccess</RunPostBuildEvent> |
| 10 | + <DocumentationFile>bin\Python.Test.xml</DocumentationFile> |
| 11 | + <OutputPath>bin\</OutputPath> |
12 | 12 | <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
13 | 13 | <TargetFrameworkProfile />
|
| 14 | + <NoWarn>1591,0067</NoWarn> |
14 | 15 | <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
|
15 |
| - <PythonBuildDir Condition=" '$(PythonBuildDir)' == '' ">$(SolutionDir)</PythonBuildDir> |
| 16 | + <PythonBuildDir Condition=" '$(PythonBuildDir)' == '' ">$(SolutionDir)\bin\</PythonBuildDir> |
| 17 | + <LangVersion>6</LangVersion> |
| 18 | + <SignAssembly>false</SignAssembly> |
| 19 | + <AssemblyOriginatorKeyFile>..\pythonnet.snk</AssemblyOriginatorKeyFile> |
| 20 | + <ErrorReport>prompt</ErrorReport> |
16 | 21 | </PropertyGroup>
|
17 |
| - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugMono|x86'"> |
18 |
| - <DebugSymbols>true</DebugSymbols> |
19 |
| - <OutputPath>bin\x86\DebugMono\</OutputPath> |
20 |
| - <DefineConstants Condition="'$(DefineConstants)' == ''">DEBUG;TRACE</DefineConstants> |
21 |
| - <DebugType>full</DebugType> |
| 22 | + <PropertyGroup Condition="
8000
'$(Platform)' == 'x86'"> |
22 | 23 | <PlatformTarget>x86</PlatformTarget>
|
23 |
| - <ErrorReport>prompt</ErrorReport> |
24 |
| - <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets> |
25 |
| - <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules> |
26 |
| - <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules> |
27 | 24 | </PropertyGroup>
|
28 |
| - <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugMono|x64'"> |
| 25 | + <PropertyGroup Condition=" '$(Platform)' == 'x64'"> |
| 26 | + <PlatformTarget>x64</PlatformTarget> |
| 27 | + </PropertyGroup> |
| 28 | + <PropertyGroup Condition=" '$(Configuration)' == 'DebugMono'"> |
29 | 29 | <DebugSymbols>true</DebugSymbols>
|
30 |
| - <OutputPath>bin\x64\DebugMono\</OutputPath> |
31 | 30 | <DefineConstants Condition="'$(DefineConstants)' == ''">DEBUG;TRACE</DefineConstants>
|
32 | 31 | <DebugType>full</DebugType>
|
33 |
| - <PlatformTarget>x64</PlatformTarget> |
34 |
| - <ErrorReport>prompt</ErrorReport> |
35 |
| - <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets> |
36 |
| - <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules> |
37 |
| - <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules> |
38 | 32 | </PropertyGroup>
|
39 |
| - <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseMono|x86'&
628C
quot;> |
40 |
| - <OutputPath>bin\x86\ReleaseMono\</OutputPath> |
| 33 | + <PropertyGroup Condition=" '$(Configuration)' == 'ReleaseMono'"> |
41 | 34 | <DefineConstants Condition="'$(DefineConstants)' == ''">
|
42 | 35 | </DefineConstants>
|
43 | 36 | <Optimize>true</Optimize>
|
44 | 37 | <DebugType>pdbonly</DebugType>
|
45 |
| - <PlatformTarget>x86</PlatformTarget> |
46 |
| - <ErrorReport>prompt</ErrorReport> |
47 |
| - <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets> |
48 |
| - <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules> |
49 |
| - <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules> |
50 | 38 | </PropertyGroup>
|
51 |
| - <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseMono|x64'"> |
52 |
| - <OutputPath>bin\x64\ReleaseMono\</OutputPath> |
| 39 | + <PropertyGroup Condition=" '$(Configuration)' == 'DebugWin'"> |
| 40 | + <DebugSymbols>true</DebugSymbols> |
| 41 | + <DefineConstants Condition="'$(DefineConstants)' ==
A93C
''">DEBUG;TRACE</DefineConstants> |
| 42 | + <DebugType>full</DebugType> |
| 43 | + </PropertyGroup> |
| 44 | + <PropertyGroup Condition=" '$(Configuration)' == 'ReleaseWin'"> |
53 | 45 | <DefineConstants Condition="'$(DefineConstants)' == ''">
|
54 | 46 | </DefineConstants>
|
55 | 47 | <Optimize>true</Optimize>
|
56 | 48 | <DebugType>pdbonly</DebugType>
|
57 |
| - <PlatformTarget>x64</PlatformTarget> |
58 |
| - <ErrorReport>prompt</ErrorReport> |
59 |
| - <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets> |
60 |
| - <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules> |
61 |
| - <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules> |
62 | 49 | </PropertyGroup>
|
63 |
| - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugWin|x86'"> |
| 50 | + <PropertyGroup Condition=" '$(Configuration)' == 'DebugMonoPY3'"> |
64 | 51 | <DebugSymbols>true</DebugSymbols>
|
65 |
| - <OutputPath>bin\x86\DebugWin\</OutputPath> |
66 | 52 | <DefineConstants Condition="'$(DefineConstants)' == ''">DEBUG;TRACE</DefineConstants>
|
67 | 53 | <DebugType>full</DebugType>
|
68 |
| - <PlatformTarget>x86</PlatformTarget> |
69 |
| - <ErrorReport>prompt</ErrorReport> |
70 |
| - <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets> |
71 |
| - <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules> |
72 |
| - <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules> |
73 |
| - </PropertyGroup> |
74 |
| - <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugWin|x64'"> |
75 |
| - <DebugSymbols>true</DebugSymbols> |
76 |
| - <OutputPath>bin\x64\DebugWin\</OutputPath> |
77 |
| - <DefineConstants Condition="'$(DefineConstants)' == ''">DEBUG;TRACE</DefineConstants> |
F438
78 |
| - <DebugType>full</DebugType> |
79 |
| - <PlatformTarget>x64</PlatformTarget> |
80 |
| - <ErrorReport>prompt</ErrorReport> |
81 |
| - <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets> |
82 |
| - <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules> |
83 |
| - <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules> |
84 | 54 | </PropertyGroup>
|
85 |
| - <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseWin|x86'"> |
86 |
| - <OutputPath>bin\x86\ReleaseWin\</OutputPath> |
| 55 | + <PropertyGroup Condition=" '$(Configuration)' == 'ReleaseMonoPY3'"> |
87 | 56 | <DefineConstants Condition="'$(DefineConstants)' == ''">
|
88 | 57 | </DefineConstants>
|
89 | 58 | <Optimize>true</Optimize>
|
90 | 59 | <DebugType>pdbonly</DebugType>
|
91 |
| - <PlatformTarget>x86</PlatformTarget> |
92 |
| - <ErrorReport>prompt</ErrorReport> |
93 |
| - <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets> |
94 |
| - <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules> |
95 |
| - <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules> |
96 | 60 | </PropertyGroup>
|
97 |
| - <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseWin|x64'"> |
98 |
| - <OutputPath>bin\x64\ReleaseWin\</OutputPath> |
| 61 | + <PropertyGroup Condition=" '$(Configuration)' == 'DebugWinPY3'"> |
| 62 | + <DebugSymbols>true</DebugSymbols> |
| 63 | + <DefineConstants Condition="'$(DefineConstants)' == ''">DEBUG;TRACE</DefineConstants> |
| 64 | + <DebugType>full</DebugType> |
| 65 | + </PropertyGroup> |
| 66 | + <PropertyGroup Condition=" '$(Configuration)' == 'ReleaseWinPY3'"> |
99 | 67 | <DefineConstants Condition="'$(DefineConstants)' == ''">
|
100 | 68 | </DefineConstants>
|
101 | 69 | <Optimize>true</Optimize>
|
102 | 70 | <DebugType>pdbonly</DebugType>
|
103 |
| - <PlatformTarget>x64</PlatformTarget> |
104 |
| - <ErrorReport>prompt</ErrorReport> |
105 |
| - <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets> |
106 |
| - <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules> |
107 |
| - <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules> |
108 | 71 | </PropertyGroup>
|
109 | 72 | <ItemGroup>
|
110 | 73 | <Compile Include="arraytest.cs" />
|
|
131 | 94 | <ItemGroup>
|
132 | 95 | <Reference Include="Microsoft.CSharp" />
|
133 | 96 | <Reference Include="System" />
|
134 |
| - <Reference Include="System.Core"> |
135 |
| - <RequiredTargetFramework>3.5</RequiredTargetFramework> |
136 |
| - </Reference> |
137 | 97 | </ItemGroup>
|
138 | 98 | <ItemGroup>
|
139 | 99 | <ProjectReference Include="..\runtime\Python.Runtime.csproj">
|
|
142 | 102 | </ProjectReference>
|
143 | 103 | </ItemGroup>
|
144 | 104 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
|
145 |
| - <ProjectExtensions> |
146 |
| - <VisualStudio AllowExistingFolder="true" /> |
147 |
| - </ProjectExtensions> |
148 | 105 | <PropertyGroup>
|
149 |
| - <PythonBuildDir Condition=" '$(PythonBuildDir)' == '' ">$(SolutionDir)</PythonBuildDir> |
150 | 106 | <TargetAssembly>$(TargetPath)</TargetAssembly>
|
151 | 107 | <TargetAssemblyPdb>$(TargetDir)$(TargetName).pdb</TargetAssemblyPdb>
|
152 | 108 | </PropertyGroup>
|
153 | 109 | <Target Name="AfterBuild">
|
154 |
| - <Copy SourceFiles="$(TargetAssembly)" DestinationFolder="$(PythonBuildDir)" /> |
155 |
| - <Copy SourceFiles="$(TargetAssemblyPdb)" Condition="Exists('$(TargetAssemblyPdb)')" DestinationFolder="$(PythonBuildDir)" /> |
| 110 | + <Copy SourceFiles="$(TargetAssembly)" DestinationFolder="$(SolutionDir)\src\tests\fixtures" /> |
| 111 | + <!--Copy SourceFiles="$(TargetAssemblyPdb)" Condition="Exists('$(TargetAssemblyPdb)')" DestinationFolder="$(PythonBuildDir)" /--> |
156 | 112 | </Target>
|
157 | 113 | </Project>
|
0 commit comments