From 961e6c9021408a1eaf2a12f2b40e68ec6b379a91 Mon Sep 17 00:00:00 2001 From: Mikayla Hutchinson Date: Tue, 25 Jan 2022 15:33:20 -0500 Subject: [PATCH] Use MSBuild-based InternalVisibleToAttribute --- Directory.Build.props | 6 ++++ Mono.TextTemplating/AssemblyInfo.cs | 31 ------------------- .../Mono.TextTemplating.csproj | 5 ++- 3 files changed, 10 insertions(+), 32 deletions(-) delete mode 100644 Mono.TextTemplating/AssemblyInfo.cs diff --git a/Directory.Build.props b/Directory.Build.props index 10137b0..cd58fc4 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -6,6 +6,7 @@ T4, templating $(MSBuildThisFileDirectory)packages\$(Configuration) 9.0 + 0024000004800000940000000602000000240000525341310004000001000100490b59506a03eb5fc5524722a6526eff804b7880a968a581a0bbb73cd6ab93c7b94a14150cb4ea40f610bebf607cea5e8a93ef25d124983300f4bdfe44859430a20a4ed2ac32cfd3a6f0aa12702df819b7799cc0fcf077eea706a27252d59a8a10e5164c2cdddd6680ca76b02ca244e83c1a8cc44b2691052b93ab30bcc613ad @@ -22,4 +23,9 @@ + + + $(T4PublicKey) + + diff --git a/Mono.TextTemplating/AssemblyInfo.cs b/Mono.TextTemplating/AssemblyInfo.cs deleted file mode 100644 index 10b1c3c..0000000 --- a/Mono.TextTemplating/AssemblyInfo.cs +++ /dev/null @@ -1,31 +0,0 @@ -// -// AssemblyInfo.cs -// -// Author: -// Mikayla Hutchinson -// -// Copyright (c) 2009 Novell, Inc. (http://www.novell.com) -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. - -using System.Runtime.CompilerServices; - -[assembly: InternalsVisibleTo ("Mono.TextTemplating.Tests,PublicKey=0024000004800000940000000602000000240000525341310004000001000100490b59506a03eb5fc5524722a6526eff804b7880a968a581a0bbb73cd6ab93c7b94a14150cb4ea40f610bebf607cea5e8a93ef25d124983300f4bdfe44859430a20a4ed2ac32cfd3a6f0aa12702df819b7799cc0fcf077eea706a27252d59a8a10e5164c2cdddd6680ca76b02ca244e83c1a8cc44b2691052b93ab30bcc613ad")] -[assembly: InternalsVisibleTo ("Mono.TextTemplating.Build,PublicKey=0024000004800000940000000602000000240000525341310004000001000100490b59506a03eb5fc5524722a6526eff804b7880a968a581a0bbb73cd6ab93c7b94a14150cb4ea40f610bebf607cea5e8a93ef25d124983300f4bdfe44859430a20a4ed2ac32cfd3a6f0aa12702df819b7799cc0fcf077eea706a27252d59a8a10e5164c2cdddd6680ca76b02ca244e83c1a8cc44b2691052b93ab30bcc613ad")] -[assembly: InternalsVisibleTo ("Mono.TextTemplating.Roslyn,PublicKey=0024000004800000940000000602000000240000525341310004000001000100490b59506a03eb5fc5524722a6526eff804b7880a968a581a0bbb73cd6ab93c7b94a14150cb4ea40f610bebf607cea5e8a93ef25d124983300f4bdfe44859430a20a4ed2ac32cfd3a6f0aa12702df819b7799cc0fcf077eea706a27252d59a8a10e5164c2cdddd6680ca76b02ca244e83c1a8cc44b2691052b93ab30bcc613ad")] diff --git a/Mono.TextTemplating/Mono.TextTemplating.csproj b/Mono.TextTemplating/Mono.TextTemplating.csproj index d076473..7606a34 100644 --- a/Mono.TextTemplating/Mono.TextTemplating.csproj +++ b/Mono.TextTemplating/Mono.TextTemplating.csproj @@ -23,9 +23,12 @@ This package allows embedding the T4 engine in an application. + - + + + \ No newline at end of file