tunnelvisionlabs / ReferenceAssemblyAnnotator

IL weaver to add nullability annotations to .NET reference assemblies
MIT License
71 stars 8 forks source link

NuGetPackageRoot doesn't always have a trailing slash #33

Closed jnm2 closed 5 years ago

jnm2 commented 5 years ago

As evidenced by:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <config>
    <add key="globalPackagesFolder" value="packages" />
  </config>
</configuration>

MSBuild Structured Log Viewer:

image

image

The result is that all reference assemblies go silently unannotated:

AnnotateReferenceAssemblies:
Skipping target "AnnotateReferenceAssemblies" because it has no inputs.