Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Assembly reference Assembly Name is invalid and cannot be resolved
This warning indicates that an attribute, such as InternalsVisibleToAttribute, was not specified correctly.
For more information, see Friend Assemblies.
Example
The following sample generates CS1700.
// CS1700.cs
// compile with: /target:library
using System.Runtime.CompilerServices;
[assembly:InternalsVisibleTo("app2, Retargetable=f")] // CS1700
[assembly:InternalsVisibleTo("app2")] // OK
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.