This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
The following commit(s) were added to refs/heads/master by this push:
new 3072f0c BUG: Directory.Build.targets: Updated AddInternalsVisibleTo
target to use BeforeCompile instead of CoreCompile, as recent versions of
VS2019 were failing to build with that ordering.
3072f0c is described below
commit 3072f0c73cbc6d4d2c5148770937051249814114
Author: Shad Storhaug <[email protected]>
AuthorDate: Thu Jun 4 00:21:41 2020 +0700
BUG: Directory.Build.targets: Updated AddInternalsVisibleTo target to use
BeforeCompile instead of CoreCompile, as recent versions of VS2019 were failing
to build with that ordering.
---
Directory.Build.targets | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Directory.Build.targets b/Directory.Build.targets
index bf67e11..a0bdb4d 100644
--- a/Directory.Build.targets
+++ b/Directory.Build.targets
@@ -80,7 +80,7 @@
<DebugType Condition=" '$(PortableDebugTypeOnly)' == 'true'
">portable</DebugType>
</PropertyGroup>
- <Target Name="AddInternalsVisibleTo" BeforeTargets="CoreCompile" Label="Adds
InternalsVisibleTo Attribute and PublicKey (if supplied)">
+ <Target Name="AddInternalsVisibleTo" BeforeTargets="BeforeCompile"
Label="Adds InternalsVisibleTo Attribute and PublicKey (if supplied)">
<ItemGroup Condition="'@(InternalsVisibleTo->Count())' > 0 ">
<AssemblyAttribute
Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>%(InternalsVisibleTo.Identity)</_Parameter1>