I have set the CLSComplaint attribute to true but i am facing an error with the public properties used. The same code works fine with VS10 but only showing error with VS2022.
[assembly: CLSCompliant(true)]
Showing error with the Public property and it does not showing error if we change it as internal