You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the same exact issue as in #3813, it is not solved for me by the PR, because my test assemblies use InternalsVisibleTo, so they can see autogenerated Internal classes, so they still get the conflict:
D:\dbs\sh\l23t\1010_175302_0\cmd\7\Test\UnitTests\BIAndReporting\Reports.Shared\obj\Debug\net48\TestPlatformEntryPoint.cs(13,9): warning CS0436: The type 'SelfRegisteredExtensions' in 'D:\dbs\sh\l23t\1010_175302_0\cmd\7\Test\UnitTests\BIAndReporting\Reports.Shared\obj\Debug\net48\AutoRegisteredExtensions.cs' conflicts with the imported type 'SelfRegisteredExtensions' in 'MS.Dynamics.Test.BIAndReporting.Common.UnitTests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Using the type defined in 'D:\dbs\sh\l23t\1010_175302_0\cmd\7\Test\UnitTests\BIAndReporting\Reports.Shared\obj\Debug\net48\AutoRegisteredExtensions.cs'. [D:\dbs\sh\l23t\1010_175302_0\cmd\7\Test\UnitTests\BIAndReporting\Reports.Shared\Shared.UnitTests.csproj::TargetFramework=net48]
Describe the bug
I have the same exact issue as in #3813, it is not solved for me by the PR, because my test assemblies use InternalsVisibleTo, so they can see autogenerated Internal classes, so they still get the conflict:
D:\dbs\sh\l23t\1010_175302_0\cmd\7\Test\UnitTests\BIAndReporting\Reports.Shared\obj\Debug\net48\TestPlatformEntryPoint.cs(13,9): warning CS0436: The type 'SelfRegisteredExtensions' in 'D:\dbs\sh\l23t\1010_175302_0\cmd\7\Test\UnitTests\BIAndReporting\Reports.Shared\obj\Debug\net48\AutoRegisteredExtensions.cs' conflicts with the imported type 'SelfRegisteredExtensions' in 'MS.Dynamics.Test.BIAndReporting.Common.UnitTests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Using the type defined in 'D:\dbs\sh\l23t\1010_175302_0\cmd\7\Test\UnitTests\BIAndReporting\Reports.Shared\obj\Debug\net48\AutoRegisteredExtensions.cs'. [D:\dbs\sh\l23t\1010_175302_0\cmd\7\Test\UnitTests\BIAndReporting\Reports.Shared\Shared.UnitTests.csproj::TargetFramework=net48]
Steps To Reproduce
[assembly: InternalsVisibleTo("MS.Dynamics.Test.BIAndReporting.RunTime.UnitTests, PublicKey=blah")]
The text was updated successfully, but these errors were encountered: