Can someone suggest what do I have to do with this message?
CA1060 Move P/Invokes to NativeMethods class Because it is a P/Invoke method, \'UCo
Oh!
I found an answer
https://msdn.microsoft.com/library/ms182161.aspx
using System;
using System.Runtime.InteropServices;
namespace DesignLibrary
{
// Violates rule: MovePInvokesToNativeMethodsClass.
internal class UnmanagedApi
{
[DllImport("kernel32.dll")]
internal static extern bool RemoveDirectory(string name);
}
}