Skip to content

Commit

Permalink
signing roundhouse assemblies - chucknorris/roundhouse#14
Browse files Browse the repository at this point in the history
  • Loading branch information
ferventcoder committed Aug 17, 2011
1 parent d9c14d5 commit b13508d
Show file tree
Hide file tree
Showing 14 changed files with 48 additions and 18 deletions.
Binary file added RoundhousE.snk
Binary file not shown.
3 changes: 2 additions & 1 deletion Settings/UppercuT.config
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<property name="allow.partially_trusted_callers" value="false" overwrite="false" />
<property name="sign.project_with_key" value="false" overwrite="false" />
<!-- To use relative pathing your projects all need to be at the same level. -->
<property name="sign.key.use_relative_pathing" value="false" overwrite="false" />
<property name="sign.key.use_relative_pathing" value="true" overwrite="false" />
<property name="sign.key.relative_path_from_projects" value="..${path.separator}..${path.separator}" overwrite="false" />
<property name="obfuscate" value="false" overwrite="false" />

Expand Down Expand Up @@ -84,6 +84,7 @@
<property name="app.xbuild" value="C:\Program Files (x86)\Mono-2.8\bin\xbuild.bat" overwrite="false" />
<property name="app.eazfuscator" value="..${path.separator}${folder.references}${path.separator}Eazfuscator.NET${path.separator}Eazfuscator.NET.exe" overwrite="false" />
<property name="app.nuget" value="..${path.separator}${folder.references}${path.separator}NuGet${path.separator}NuGet.exe" overwrite="false" />
<property name="app.strongname" value="C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\sn.exe" overwrite="false" />

<property name="allow.powershell.unrestricted" value="false" overwrite="false" />
<property name="run.ilmerge" value="true" overwrite="false" />
Expand Down
9 changes: 9 additions & 0 deletions build.custom/ilmerge.post.build
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,18 @@
<property name="folder.deployment" value="deployment" overwrite="false" />
<property name="dirs.deployment" value="${dirs.drop}\${folder.deployment}" />
<property name="dirs.app.drop" value="${dirs.drop}\${folder.app.drop}" overwrite="false" />
<property name="file.key" value="${dirs.current}\${path.to.toplevel}\RoundhousE.snk" overwrite="false" />

<target name="go" depends="copy_roundhouse_files_to_deploy_console, merge_the_dll, merge_the_msbuild" />

<target name="sign_merged_exe">
<al output="${dirs.app.drop}\console\rh.exe" target="exe">
<sources>
<include name="${dirs.app.drop}\console\rh.exe" />
</sources>
</al>
</target>

<target name="copy_roundhouse_files_to_deploy_console">
<echo message="Removing original roundhouse assemblies from ${dirs.deployment}\console."/>
<delete>
Expand Down
3 changes: 2 additions & 1 deletion build.custom/ilmergeDLL.build
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<!-- overwrite this property -->
<property name="dirs.merge.from" value="${dirs.drop}\${folder.app.drop}\lib" />
<property name="dirs.merge.to" value="${dirs.drop}\merge" overwrite="false" />
<property name="file.key" value="${dirs.current}\${path.to.toplevel}\RoundhousE.snk" overwrite="false" />

<property name="file.internalize.ignore" value="ilmerge.internalize.ignore.txt" />
<property name="path.file.internalize.ignore" value="${dirs.build_scripts_custom}\${file.internalize.ignore}" />
Expand All @@ -40,8 +41,8 @@
<target name="prepare">
<mkdir dir="${dirs.merge.log}" />
<mkdir dir="${dirs.merge.from}" />

<mkdir dir="${dirs.merge.to}" />
<property name="args.ilmerge" value="${args.ilmerge} /keyfile:${file.key}" if="${file::exists(file.key)}"/>
</target>

<target name="get_regular_dlls">
Expand Down
3 changes: 2 additions & 1 deletion build.custom/ilmergeMSBuild.build
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<!-- overwrite this property -->
<property name="dirs.merge.from" value="${dirs.drop}\${folder.app.drop}\msbuild" />
<property name="dirs.merge.to" value="${dirs.drop}\merge" overwrite="false" />
<property name="file.key" value="${dirs.current}\${path.to.toplevel}\RoundhousE.snk" overwrite="false" />

<property name="file.internalize.ignore" value="ilmerge.internalize.ignore.txt" />
<property name="path.file.internalize.ignore" value="${dirs.build_scripts_custom}\${file.internalize.ignore}" />
Expand All @@ -40,8 +41,8 @@
<target name="prepare">
<mkdir dir="${dirs.merge.log}" />
<mkdir dir="${dirs.merge.from}" />

<mkdir dir="${dirs.merge.to}" />
<property name="args.ilmerge" value="${args.ilmerge} /keyfile:${file.key}" if="${file::exists(file.key)}"/>
</target>

<target name="get_regular_dlls">
Expand Down
6 changes: 4 additions & 2 deletions build/ilmerge.build
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<property name="merge.target.type" value="__REPLACE__" overwrite="false" />
<property name="args.ilmerge" value="/internalize /target:${merge.target.type} /out:${dirs.merge.to}${path.separator}${file.merge.name} /log:${dirs.merge.log}${path.separator}${log.merge} /xmldocs /ndebug /allowDup ${file.merge.name} " />
<property name="args.ilmerge" value="/internalize:${path.file.internalize.ignore} /target:${merge.target.type} /out:${dirs.merge.to}${path.separator}${file.merge.name} /log:${dirs.merge.log}${path.separator}${log.merge} /xmldocs /ndebug /allowDup ${file.merge.name} " if="${file::exists(path.file.internalize.ignore)}"/>
<property name="file.key" value="${dirs.current}\${path.to.toplevel}\RoundhousE.snk" overwrite="false" />

<property name="allow.powershell.unrestricted" value="false" overwrite="false" />
<property name="file.custom.step.before" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.pre.build" />
Expand Down Expand Up @@ -84,8 +85,9 @@
<property name="dirs.merge.to" value="${environment::get-variable('uc.dirs.merge.to')}" if="${environment::variable-exists('uc.dirs.merge.to')}" />
<property name="file.merge.name" value="${environment::get-variable('uc.file.merge.name')}" if="${environment::variable-exists('uc.file.merge.name')}" />
<property name="merge.target.type" value="${environment::get-variable('uc.merge.target.type')}" if="${environment::variable-exists('uc.merge.target.type')}" />
<property name="args.ilmerge" value="/internalize /target:${merge.target.type} /out:${dirs.merge.to}${path.separator}${file.merge.name} /log:${dirs.merge.log}${path.separator}${log.merge} /ndebug /allowDup ${file.merge.name} " />
<property name="args.ilmerge" value="/internalize:${path.file.internalize.ignore} /target:${merge.target.type} /out:${dirs.merge.to}${path.separator}${file.merge.name} /log:${dirs.merge.log}${path.separator}${log.merge} /ndebug /allowDup ${file.merge.name} " if="${file::exists(path.file.internalize.ignore)}"/>
<property name="args.ilmerge" value="/internalize /target:${merge.target.type} /out:${dirs.merge.to}${path.separator}${file.merge.name} /log:${dirs.merge.log}${path.separator}${log.merge} /ndebug /allowDup ${file.merge.name}" />
<property name="args.ilmerge" value="/internalize:${path.file.internalize.ignore} /target:${merge.target.type} /out:${dirs.merge.to}${path.separator}${file.merge.name} /log:${dirs.merge.log}${path.separator}${log.merge} /ndebug /allowDup ${file.merge.name}" if="${file::exists(path.file.internalize.ignore)}"/>
<property name="args.ilmerge" value="${args.ilmerge} /keyfile:${file.key}" if="${file::exists(file.key)}"/>
</target>

<target name="error_check">
Expand Down
6 changes: 4 additions & 2 deletions product/roundhouse.console/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using System.Runtime.InteropServices;
using System.Reflection;
using System.Runtime.InteropServices;

// The following GUID is for the ID of the typelib if this project is exposed to COM

[assembly: Guid("a7a8d35d-cb38-4f12-a388-41c0fd21bf20")]
[assembly: Guid("a7a8d35d-cb38-4f12-a388-41c0fd21bf20")]
[assembly: AssemblyKeyFile("..\\..\\RoundhousE.snk")]
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using System.Runtime.InteropServices;
using System.Reflection;
using System.Runtime.InteropServices;

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("d1df5985-48bc-48b8-ba40-8c71920ac918")]
[assembly: Guid("d1df5985-48bc-48b8-ba40-8c71920ac918")]
[assembly: AssemblyKeyFile("..\\..\\RoundhousE.snk")]
6 changes: 4 additions & 2 deletions product/roundhouse.databases.mysql/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using System.Runtime.InteropServices;
using System.Reflection;
using System.Runtime.InteropServices;

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("1b301660-88e7-4a5b-b7b0-eceedcf8fbdc")]
[assembly: Guid("1b301660-88e7-4a5b-b7b0-eceedcf8fbdc")]
[assembly: AssemblyKeyFile("..\\..\\RoundhousE.snk")]
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using System.Runtime.InteropServices;
using System.Reflection;
using System.Runtime.InteropServices;

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("f9da0a8d-edee-4941-86ce-2a138b32286d")]
[assembly: Guid("f9da0a8d-edee-4941-86ce-2a138b32286d")]
[assembly: AssemblyKeyFile("..\\..\\RoundhousE.snk")]
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using System.Reflection;
using System.Runtime.InteropServices;

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("52796298-9e1f-47fd-9253-d3b2fcf4feda")]
[assembly: AssemblyKeyFile("..\\..\\RoundhousE.snk")]
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using System.Reflection;
using System.Runtime.InteropServices;

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("4a07f5e3-9122-4082-8da3-13dbff0d493c")]
[assembly: Guid("4a07f5e3-9122-4082-8da3-13dbff0d493c")]
[assembly: AssemblyKeyFile("..\\..\\RoundhousE.snk")]
6 changes: 4 additions & 2 deletions product/roundhouse.tasks/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using System.Runtime.InteropServices;
using System.Reflection;
using System.Runtime.InteropServices;

// The following GUID is for the ID of the typelib if this project is exposed to COM

[assembly: Guid("19e376f8-f00d-4d7d-a670-37fec4a7c39f")]
[assembly: Guid("19e376f8-f00d-4d7d-a670-37fec4a7c39f")]
[assembly: AssemblyKeyFile("..\\..\\RoundhousE.snk")]
6 changes: 4 additions & 2 deletions product/roundhouse/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using System.Runtime.InteropServices;
using System.Reflection;
using System.Runtime.InteropServices;

// The following GUID is for the ID of the typelib if this project is exposed to COM

[assembly: Guid("087c0458-1443-41a5-ad51-08e7cdd6fe0f")]
[assembly: Guid("087c0458-1443-41a5-ad51-08e7cdd6fe0f")]
[assembly: AssemblyKeyFile("..\\..\\RoundhousE.snk")]

0 comments on commit b13508d

Please sign in to comment.