Skip to content

Commit a462122

Browse files
authored
Merge pull request opentk#1755 from RFBomb/StrongName
Sign Assemblies
2 parents d9d9c0a + 763f046 commit a462122

File tree

37 files changed

+163
-27
lines changed

37 files changed

+163
-27
lines changed

OpenTK.snk

596 Bytes
Binary file not shown.

build/build.fs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ let ciTestProjects =
105105
let install =
106106
lazy
107107
(if (DotNet.getVersion id).StartsWith "6" then id
108-
else DotNet.install (fun options -> { options with Version = DotNet.Version "6.0.200" }))
108+
else DotNet.install (fun options -> { options with Channel = DotNet.CliChannel.Version 6 0 }))
109109

110110
// Define general properties across various commands (with arguments)
111111
let inline withWorkDir wd = DotNet.Options.lift install.Value >> DotNet.Options.withWorkingDirectory wd
@@ -154,6 +154,7 @@ Target.create "Clean" <| fun _ ->
154154
-- ("./src" </> "OpenTK.Graphics" </> "Wgl/*.*")
155155
-- ("./src" </> "OpenTK.Graphics" </> "Egl/*.*")
156156
-- ("./src" </> "OpenTK.Graphics" </> "paket")
157+
-- ("./src" </> "OpenTK.Graphics" </> "README.md")
157158
|> Seq.iter(Shell.rm)
158159

159160
Target.create "Restore" (fun _ -> DotNet.restore dotnetSimple "OpenTK.sln" |> ignore)

src/Generator.Bind/Generator.Bind.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
66
<RootNamespace>Bind</RootNamespace>
77
<AssemblyName>Bind</AssemblyName>
8+
<SignAssembly>true</SignAssembly>
9+
<AssemblyOriginatorKeyFile>../../OpenTK.snk</AssemblyOriginatorKeyFile>
810
</PropertyGroup>
911

1012
<ItemGroup>

src/Generator.Converter/Generator.Convert.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
66
<RootNamespace>OpenTK.Convert</RootNamespace>
77
<AssemblyName>Convert</AssemblyName>
8+
<SignAssembly>true</SignAssembly>
9+
<AssemblyOriginatorKeyFile>../../OpenTK.snk</AssemblyOriginatorKeyFile>
810
</PropertyGroup>
911

1012
<ItemGroup>

src/Generator.Rewrite/Generator.Rewrite.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
66
<RootNamespace>OpenTK.Rewrite</RootNamespace>
77
<AssemblyName>Rewrite</AssemblyName>
8+
<SignAssembly>true</SignAssembly>
9+
<AssemblyOriginatorKeyFile>../../OpenTK.snk</AssemblyOriginatorKeyFile>
810
</PropertyGroup>
911

1012
<ItemGroup>

src/OpenAL/OpenALGenerator/OpenALGenerator.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<OutputType>Exe</OutputType>
55
<TargetFramework>netcoreapp3.1</TargetFramework>
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
7+
<SignAssembly>true</SignAssembly>
8+
<AssemblyOriginatorKeyFile>../../../OpenTK.snk</AssemblyOriginatorKeyFile>
79
</PropertyGroup>
810

911
</Project>

src/OpenAL/OpenTK.Audio.OpenAL/OpenTK.Audio.OpenAL.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
<ApplicationIcon />
1313
<OutputType>Library</OutputType>
1414
<StartupObject />
15+
<SignAssembly>true</SignAssembly>
16+
<AssemblyOriginatorKeyFile>../../../OpenTK.snk</AssemblyOriginatorKeyFile>
1517
</PropertyGroup>
1618

1719
<ItemGroup>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# OpenTK.Audio.OpenAL
2+
3+
OpenAL bindings for dotnet from the OpenAL c library.
4+
5+
Read more about how to use OpenTK at: https://opentk.net/
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
type file
22
id OpenTK.Audio.OpenAL
33
description
4-
OpenAL bindings for dotnet from the Khronos openAL c library.
4+
OpenAL bindings for dotnet from the OpenAL c library.
55
dependencies
66
framework: netcoreapp3.1
77
OpenTK.Core ~> #VERSION#
88
OpenTK.Mathematics ~> #VERSION#
99
files
1010
bin\Release\netcoreapp3.1\OpenTK.Audio.OpenAL.dll ==> lib\netcoreapp3.1
1111
bin\Release\netcoreapp3.1\OpenTK.Audio.OpenAL.xml ==> lib\netcoreapp3.1
12-
bin\Release\netcoreapp3.1\OpenTK.Audio.OpenAL.pdb ==> lib\netcoreapp3.1
12+
bin\Release\netcoreapp3.1\OpenTK.Audio.OpenAL.pdb ==> lib\netcoreapp3.1
13+
README.md ==> docs
14+
15+
readme
16+
docs\README.md

src/OpenAL/OpenTK.OpenAL.Extensions/OpenTK.OpenAL.Extensions.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
<TargetFramework>netcoreapp3.1</TargetFramework>
44
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
55
<LangVersion>latest</LangVersion>
6+
<SignAssembly>true</SignAssembly>
7+
<AssemblyOriginatorKeyFile>../../../OpenTK.snk</AssemblyOriginatorKeyFile>
68
</PropertyGroup>
79

810
<ItemGroup>

0 commit comments

Comments
 (0)