| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -36,6 +36,7 @@ when .NET expects an integer [#1342][i1342] | |||
| 36 | 36 | - BREAKING: Methods with `ref` or `out` parameters and void return type return a tuple of only the `ref` and `out` parameters. | |
| 37 | 37 | - BREAKING: to call Python from .NET `Runtime.PythonDLL` property must be set to Python DLL name | |
| 38 | 38 | or the DLL must be loaded in advance. This must be done before calling any other Python.NET functions. | |
| 39 | + - Sign Runtime DLL with a strong name | ||
| 39 | 40 | ||
| 40 | 41 | ### Fixed | |
| 41 | 42 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,6 +2,8 @@ | |||
| 2 | 2 | ||
| 3 | 3 | <PropertyGroup> | |
| 4 | 4 | <TargetFrameworks>net472;netcoreapp3.1</TargetFrameworks> | |
| 5 | + <AssemblyOriginatorKeyFile>..\pythonnet.snk</AssemblyOriginatorKeyFile> | ||
| 6 | + <SignAssembly>true</SignAssembly> | ||
| 5 | 7 | </PropertyGroup> | |
| 6 | 8 | ||
| 7 | 9 | <ItemGroup> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,3 @@ | |||
| 1 | 1 | using System.Runtime.CompilerServices; | |
| 2 | 2 | ||
| 3 | - [assembly: InternalsVisibleTo("Python.EmbeddingTest")] | ||
| 3 | + [assembly: InternalsVisibleTo("Python.EmbeddingTest, PublicKey=00240000048000009400000006020000002400005253413100040000110000005ffd8f49fb44ab0641b3fd8d55e749f716e6dd901032295db641eb98ee46063cbe0d4a1d121ef0bc2af95f8a7438d7a80a3531316e6b75c2dae92fb05a99f03bf7e0c03980e1c3cfb74ba690aca2f3339ef329313bcc5dccced125a4ffdc4531dcef914602cd5878dc5fbb4d4c73ddfbc133f840231343e013762884d6143189")] | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,7 +19,10 @@ | |||
| 19 | 19 | <DebugSymbols>true</DebugSymbols> | |
| 20 | 20 | <IncludeSymbols>true</IncludeSymbols> | |
| 21 | 21 | <SymbolPackageFormat>snupkg</SymbolPackageFormat> | |
| 22 | - | ||
| 22 | + | ||
| 23 | + <AssemblyOriginatorKeyFile>..\pythonnet.snk</AssemblyOriginatorKeyFile> | ||
| 24 | + <SignAssembly>true</SignAssembly> | ||
| 25 | + | ||
| 23 | 26 | <NoWarn>1591;NU1701</NoWarn> | |
| 24 | 27 | <AllowUnsafeBlocks>True</AllowUnsafeBlocks> | |
| 25 | 28 | ||
@@ -31,7 +34,7 @@ | |||
| 31 | 34 | </PropertyGroup> | |
| 32 | 35 | ||
| 33 | 36 | <ItemGroup> | |
| 34 | - <None Include="..\..\LICENSE" Pack="true" PackagePath=""/> | ||
| 37 | + <None Include="..\..\LICENSE" Pack="true" PackagePath="" /> | ||
| 35 | 38 | </ItemGroup> | |
| 36 | 39 | ||
| 37 | 40 | <ItemGroup> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments