diff --git a/README.md b/README.md index 4ac51f2..3d71118 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,9 @@ Just add the package and define `InternalsAssemblyName` items with the assemblie - - - + + + diff --git a/src/IgnoresAccessChecksToGenerator.Tasks/IgnoresAccessChecksToGenerator.Tasks.csproj b/src/IgnoresAccessChecksToGenerator.Tasks/IgnoresAccessChecksToGenerator.Tasks.csproj index 26aec9c..49f374f 100644 --- a/src/IgnoresAccessChecksToGenerator.Tasks/IgnoresAccessChecksToGenerator.Tasks.csproj +++ b/src/IgnoresAccessChecksToGenerator.Tasks/IgnoresAccessChecksToGenerator.Tasks.csproj @@ -4,7 +4,7 @@ netstandard2.0;net462 latest IgnoresAccessChecksToGenerator - 0.7.1 + 0.8.0 true Eli Arbel https://github.com/aelij/IgnoresAccessChecksToGenerator @@ -21,8 +21,8 @@ - - + + diff --git a/src/IgnoresAccessChecksToGenerator.Tasks/build/IgnoresAccessChecksToGenerator.props b/src/IgnoresAccessChecksToGenerator.Tasks/build/IgnoresAccessChecksToGenerator.props index 43237f1..09ad45e 100644 --- a/src/IgnoresAccessChecksToGenerator.Tasks/build/IgnoresAccessChecksToGenerator.props +++ b/src/IgnoresAccessChecksToGenerator.Tasks/build/IgnoresAccessChecksToGenerator.props @@ -7,6 +7,12 @@ false + + false + + + false + diff --git a/src/IgnoresAccessChecksToGenerator.Tasks/build/IgnoresAccessChecksToGenerator.targets b/src/IgnoresAccessChecksToGenerator.Tasks/build/IgnoresAccessChecksToGenerator.targets index 831562a..c53d664 100644 --- a/src/IgnoresAccessChecksToGenerator.Tasks/build/IgnoresAccessChecksToGenerator.targets +++ b/src/IgnoresAccessChecksToGenerator.Tasks/build/IgnoresAccessChecksToGenerator.targets @@ -20,17 +20,20 @@ Outputs="$(_IACTG_ManifestFilePath)" Returns="@(_IACTG_InputReferencePath);@(_IACTG_OutputReferencePath)"> - - + + + + + - <_IACTG_ReferencePathJoin Include="@(ReferencePath)" InternalsAssemblyName="%(InternalsAssemblyName.Identity)" /> - <_IACTG_InputReferencePath Include="@(_IACTG_ReferencePathJoin)" Condition=" '%(Filename)' == '%(InternalsAssemblyName)' " /> + <_IACTG_ReferencePathJoin Include="@(ReferencePath)" IgnoresAccessChecksTo="%(IgnoresAccessChecksTo.Identity)" /> + <_IACTG_InputReferencePath Include="@(_IACTG_ReferencePathJoin)" Condition=" '%(Filename)' == '%(IgnoresAccessChecksTo)' " /> <_IACTG_ReferencePathJoin Remove="@(_IACTG_ReferencePathJoin)" /> <_IACTG_OutputReferencePath Include="@(_IACTG_InputReferencePath->'$(_IACTG_IntermediatePath)/%(Filename)%(Extension)')" OriginalItemSpec="%(Identity)" /> - <_IACTG_Manifest Include="@(InternalsAssemblyExcludeTypeName)" /> + <_IACTG_Manifest Include="@(IgnoresAccessChecksToExcludeTypeName)" /> @@ -42,8 +45,8 @@ Outputs="@(_IACTG_OutputReferencePath);$(_IACTG_CodeFilePath)" Returns="@(ReferencePath);@(Compile)"> diff --git a/test/IgnoresAccessChecksToGenerator.Test/IgnoresAccessChecksToGenerator.Test.csproj b/test/IgnoresAccessChecksToGenerator.Test/IgnoresAccessChecksToGenerator.Test.csproj index d9b1db8..656c7bc 100644 --- a/test/IgnoresAccessChecksToGenerator.Test/IgnoresAccessChecksToGenerator.Test.csproj +++ b/test/IgnoresAccessChecksToGenerator.Test/IgnoresAccessChecksToGenerator.Test.csproj @@ -3,13 +3,12 @@ net8.0 Exe - true - - - + + +