diff --git a/default.ps1 b/default.ps1 index 905210c6..c9f2b6cd 100644 --- a/default.ps1 +++ b/default.ps1 @@ -30,7 +30,8 @@ task Init -depends Clean { -company "Hibernating Rhinos" ` -product "Rhino Mocks $version" ` -version $version ` - -copyright "Hibernating Rhinos & Ayende Rahien 2004 - 2009" + -copyright "Hibernating Rhinos & Ayende Rahien 2004 - 2009" ` + -internalsVisibleTo "Rhino.Mocks.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001009d1cf4b75b7218b141ac64c15450141b1e5f41f6a302ac717ab9761fa6ae2c3ee0c354c22d0a60ac59de41fa285d572e7cf33c320aa7ff877e2b7da1792fcc6aa4eb0b4d8294a2f74cb14d03fb9b091f751d6dc49e626d74601692c99eab7718ed76a40c36d39af842be378b677e6e4eae973f643d7065241ad86ecc156d81ab" Generate-Assembly-Info ` -file "$base_dir\Rhino.Mocks.Tests\Properties\AssemblyInfo.cs" ` diff --git a/psake_ext.ps1 b/psake_ext.ps1 index f4b3da93..4ab77468 100644 --- a/psake_ext.ps1 +++ b/psake_ext.ps1 @@ -14,7 +14,8 @@ param( [string]$product, [string]$copyright, [string]$version, - [string]$file = $(throw "file is a required parameter.") + [string]$file = $(throw "file is a required parameter."), + [string]$internalsVisibleTo ) $commit = Get-Git-Commit $asmInfo = "using System; @@ -33,6 +34,7 @@ using System.Runtime.InteropServices; [assembly: AssemblyInformationalVersionAttribute(""$version / $commit"")] [assembly: AssemblyFileVersionAttribute(""$version"")] [assembly: AssemblyDelaySignAttribute(false)] +[assembly: InternalsVisibleTo(""$internalsVisibleTo"")] " $dir = [System.IO.Path]::GetDirectoryName($file)