Skip to content

Commit e184e78

Browse files
committed
Exclude assemblies that don't have an annotated reference assembly
1 parent 24b3e57 commit e184e78

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

TunnelVisionLabs.ReferenceAssemblyAnnotator/TunnelVisionLabs.ReferenceAssemblyAnnotator.targets

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@
8181
<_NetStandardReferences Include="@(Reference)"
8282
Condition="
8383
'%(NuGetPackageId)' == 'Microsoft.Win32.Primitives'
84-
OR '%(NuGetPackageId)' == 'System.AppContext'
84+
OR '%(NuGetPackageId)' == 'XXXSystem.AppContext'
8585
OR '%(NuGetPackageId)' == 'System.Collections'
8686
OR '%(NuGetPackageId)' == 'System.Collections.Concurrent'
87-
OR '%(NuGetPackageId)' == 'System.Console'
87+
OR '%(NuGetPackageId)' == 'XXXSystem.Console'
8888
OR '%(NuGetPackageId)' == 'System.Diagnostics.Debug'
8989
OR '%(NuGetPackageId)' == 'System.Diagnostics.Tools'
9090
OR '%(NuGetPackageId)' == 'System.Diagnostics.Tracing'
@@ -93,8 +93,8 @@
9393
OR '%(NuGetPackageId)' == 'System.IO'
9494
OR '%(NuGetPackageId)' == 'System.IO.Compression'
9595
OR '%(NuGetPackageId)' == 'System.IO.Compression.ZipFile'
96-
OR '%(NuGetPackageId)' == 'System.IO.FileSystem'
97-
OR '%(NuGetPackageId)' == 'System.IO.FileSystem.Primitives'
96+
OR '%(NuGetPackageId)' == 'XXXSystem.IO.FileSystem'
97+
OR '%(NuGetPackageId)' == 'XXXSystem.IO.FileSystem.Primitives'
9898
OR '%(NuGetPackageId)' == 'System.Linq'
9999
OR '%(NuGetPackageId)' == 'System.Linq.Expressions'
100100
OR '%(NuGetPackageId)' == 'System.Net.Http'
@@ -111,10 +111,10 @@
111111
OR '%(NuGetPackageId)' == 'System.Runtime.InteropServices'
112112
OR '%(NuGetPackageId)' == 'System.Runtime.InteropServices.RuntimeInformation'
113113
OR '%(NuGetPackageId)' == 'System.Runtime.Numerics'
114-
OR '%(NuGetPackageId)' == 'System.Security.Cryptography.Algorithms'
115-
OR '%(NuGetPackageId)' == 'System.Security.Cryptography.Encoding'
116-
OR '%(NuGetPackageId)' == 'System.Security.Cryptography.Primitives'
117-
OR '%(NuGetPackageId)' == 'System.Security.Cryptography.X509Certificates'
114+
OR '%(NuGetPackageId)' == 'XXXSystem.Security.Cryptography.Algorithms'
115+
OR '%(NuGetPackageId)' == 'XXXSystem.Security.Cryptography.Encoding'
116+
OR '%(NuGetPackageId)' == 'XXXSystem.Security.Cryptography.Primitives'
117+
OR '%(NuGetPackageId)' == 'XXXSystem.Security.Cryptography.X509Certificates'
118118
OR '%(NuGetPackageId)' == 'System.Text.Encoding'
119119
OR '%(NuGetPackageId)' == 'System.Text.Encoding.Extensions'
120120
OR '%(NuGetPackageId)' == 'System.Text.RegularExpressions'
@@ -163,10 +163,10 @@
163163
<UnannotatedReferenceAssembly Include="@(Reference->'%(FileName)')"
164164
Condition="Exists('$(AnnotatedReferenceAssemblyDirectory)%(Reference.FileName)%(Reference.Extension)')
165165
AND ('%(Reference.NuGetPackageId)' == 'Microsoft.Win32.Primitives'
166-
OR '%(Reference.NuGetPackageId)' == 'System.AppContext'
166+
OR '%(Reference.NuGetPackageId)' == 'XXXSystem.AppContext'
167167
OR '%(Reference.NuGetPackageId)' == 'System.Collections'
168168
OR '%(Reference.NuGetPackageId)' == 'System.Collections.Concurrent'
169-
OR '%(Reference.NuGetPackageId)' == 'System.Console'
169+
OR '%(Reference.NuGetPackageId)' == 'XXXSystem.Console'
170170
OR '%(Reference.NuGetPackageId)' == 'System.Diagnostics.Debug'
171171
OR '%(Reference.NuGetPackageId)' == 'System.Diagnostics.Tools'
172172
OR '%(Reference.NuGetPackageId)' == 'System.Diagnostics.Tracing'
@@ -175,8 +175,8 @@
175175
OR '%(Reference.NuGetPackageId)' == 'System.IO'
176176
OR '%(Reference.NuGetPackageId)' == 'System.IO.Compression'
177177
OR '%(Reference.NuGetPackageId)' == 'System.IO.Compression.ZipFile'
178-
OR '%(Reference.NuGetPackageId)' == 'System.IO.FileSystem'
179-
OR '%(Reference.NuGetPackageId)' == 'System.IO.FileSystem.Primitives'
178+
OR '%(Reference.NuGetPackageId)' == 'XXXSystem.IO.FileSystem'
179+
OR '%(Reference.NuGetPackageId)' == 'XXXSystem.IO.FileSystem.Primitives'
180180
OR '%(Reference.NuGetPackageId)' == 'System.Linq'
181181
OR '%(Reference.NuGetPackageId)' == 'System.Linq.Expressions'
182182
OR '%(Reference.NuGetPackageId)' == 'System.Net.Http'
@@ -193,10 +193,10 @@
193193
OR '%(Reference.NuGetPackageId)' == 'System.Runtime.InteropServices'
194194
OR '%(Reference.NuGetPackageId)' == 'System.Runtime.InteropServices.RuntimeInformation'
195195
OR '%(Reference.NuGetPackageId)' == 'System.Runtime.Numerics'
196-
OR '%(Reference.NuGetPackageId)' == 'System.Security.Cryptography.Algorithms'
197-
OR '%(Reference.NuGetPackageId)' == 'System.Security.Cryptography.Encoding'
198-
OR '%(Reference.NuGetPackageId)' == 'System.Security.Cryptography.Primitives'
199-
OR '%(Reference.NuGetPackageId)' == 'System.Security.Cryptography.X509Certificates'
196+
OR '%(Reference.NuGetPackageId)' == 'XXXSystem.Security.Cryptography.Algorithms'
197+
OR '%(Reference.NuGetPackageId)' == 'XXXSystem.Security.Cryptography.Encoding'
198+
OR '%(Reference.NuGetPackageId)' == 'XXXSystem.Security.Cryptography.Primitives'
199+
OR '%(Reference.NuGetPackageId)' == 'XXXSystem.Security.Cryptography.X509Certificates'
200200
OR '%(Reference.NuGetPackageId)' == 'System.Text.Encoding'
201201
OR '%(Reference.NuGetPackageId)' == 'System.Text.Encoding.Extensions'
202202
OR '%(Reference.NuGetPackageId)' == 'System.Text.RegularExpressions'

0 commit comments

Comments
 (0)