Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Compiler Warning (level 3) CS1700

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 (C# and Visual Basic).

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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.