Removed UNITTEST constant from most files; tried switching to Moq, but encountered some InternalsVisibleTo() problems; ripped out NuGet again because it is so very bad

This commit is contained in:
Markus Ewald 2024-07-24 17:42:17 +02:00 committed by cygon
parent 8b011981d9
commit 090b1375c0
26 changed files with 31 additions and 123 deletions

View file

@ -40,12 +40,26 @@ using System.Runtime.InteropServices;
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("1308e4c3-a0c1-423a-aaae-61c7314777e0")]
#if UNITTEST
#if false // NMock is being removed
// This is required to NMock can derive its proxies from interfaces in
// the internal unit test classes
[assembly: InternalsVisibleTo(NMock.Constants.InternalsVisibleToDynamicProxy)]
#endif
//[assembly: InternalsVisibleTo(NMock.Constants.InternalsVisibleToDynamicProxy)]
[assembly: InternalsVisibleTo("Nuclex.Support.Tests")]
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")]
[
assembly: InternalsVisibleTo(
"DynamicProxyGenAssembly2," +
"PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac3" +
"7abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d92666" +
"54753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad" +
"2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7"
)
]
// Version information for an assembly consists of the following four values:
//
// Major Version