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

Skip to content

Commit 9feecdb

Browse files
author
Barton Cline
committed
# VS 2008 => 2010 project files (remain compatible with 2008) #
1 parent e0bc2fe commit 9feecdb

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

pythonnet/src/testing/Python.Test.csproj

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
23
<PropertyGroup>
34
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
45
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -8,6 +9,13 @@
89
<AssemblyName>Python.Test</AssemblyName>
910
<RootNamespace>Python.Test</RootNamespace>
1011
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
12+
<FileUpgradeFlags>
13+
</FileUpgradeFlags>
14+
<UpgradeBackupLocation>
15+
</UpgradeBackupLocation>
16+
<OldToolsVersion>3.5</OldToolsVersion>
17+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
18+
<TargetFrameworkProfile />
1119
</PropertyGroup>
1220
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1321
<DebugSymbols>true</DebugSymbols>
@@ -54,16 +62,19 @@
5462
<Compile Include="propertytest.cs" />
5563
<Compile Include="threadtest.cs" />
5664
</ItemGroup>
65+
<ItemGroup>
66+
<Reference Include="System" />
67+
<Reference Include="System.Core">
68+
<RequiredTargetFramework>3.5</RequiredTargetFramework>
69+
</Reference>
70+
<Reference Include="System.Windows.Forms" />
71+
</ItemGroup>
5772
<ItemGroup>
5873
<ProjectReference Include="..\runtime\Python.Runtime.csproj">
5974
<Project>{097B4AC0-74E9-4C58-BCF8-C69746EC8271}</Project>
6075
<Name>Python.Runtime</Name>
6176
</ProjectReference>
6277
</ItemGroup>
63-
<ItemGroup>
64-
<Reference Include="System" />
65-
<Reference Include="System.Windows.Forms" />
66-
</ItemGroup>
6778
<Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
6879
<ProjectExtensions>
6980
<VisualStudio AllowExistingFolder="true" />
@@ -73,4 +84,4 @@
7384
copy "$(TargetDir)*.pdb" "$(SolutionDir)"
7485
</PostBuildEvent>
7586
</PropertyGroup>
76-
</Project>
87+
</Project>

0 commit comments

Comments
 (0)