Skip to content

Commit 909ed1f

Browse files
committed
dropped net40 target from modern projects
1 parent 063a674 commit 909ed1f

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ when .NET expects an integer [#1342][i1342]
5757
### Removed
5858

5959
- implicit assembly loading (you have to explicitly `clr.AddReference` before doing import)
60+
- support for .NET Framework 4.0-4.6; Mono before 5.4. Python.NET now requires .NET Standard 2.0
61+
(see [the matrix](https://docs.microsoft.com/en-us/dotnet/standard/net-standard#net-implementation-support))
6062

6163
## [2.5.0][] - 2020-06-14
6264

src/console/pythonconsole.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ private PythonConsole()
2626
[STAThread]
2727
public static int Main(string[] args)
2828
{
29-
// Only net40 is capable to safely inject python.runtime.dll into resources.
29+
// Only .NET Framework is capable to safely inject python.runtime.dll into resources.
3030
#if NET40
3131
// reference the static assemblyLoader to stop it being optimized away
3232
AssemblyLoader a = assemblyLoader;

src/tests/tests.pyproj

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,8 @@
1414
<InterpreterId />
1515
<InterpreterVersion />
1616
</PropertyGroup>
17-
<PropertyGroup Condition="'$(Configuration)' == 'DebugMono'" />
18-
<PropertyGroup Condition="'$(Configuration)' == 'DebugWin'" />
19-
<PropertyGroup Condition="'$(Configuration)' == 'ReleaseMono'" />
20-
<PropertyGroup Condition="'$(Configuration)' == 'ReleaseWin'" />
21-
<PropertyGroup Condition="'$(Configuration)' == 'DebugMonoPY3'" />
22-
<PropertyGroup Condition="'$(Configuration)' == 'DebugWinPY3'" />
23-
<PropertyGroup Condition="'$(Configuration)' == 'ReleaseMonoPY3'" />
24-
<PropertyGroup Condition="'$(Configuration)' == 'ReleaseWinPY3'" />
17+
<PropertyGroup Condition="'$(Configuration)' == 'Debug'" />
18+
<PropertyGroup Condition="'$(Configuration)' == 'Release'" />
2519
<PropertyGroup>
2620
<VisualStudioVersion Condition=" '$(VisualStudioVersion)' == '' ">10.0</VisualStudioVersion>
2721
<PtvsTargetsFile>$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Python Tools\Microsoft.PythonTools.targets</PtvsTargetsFile>

0 commit comments

Comments
 (0)