Установка совместимости с CLS для блока.NET

uk toggle работает следующим образом

     
        

Hello

https://getuikit.com/docs/toggle

Итак, здесь, в vueJs, вы связываете сообщение в movie.title?

попробуйте это значение получить привязку, чтобы вы могли легко преобразовать в динамические значения

29
задан HostileFork 14 November 2012 в 17:38
поделиться

2 ответа

Visual Studio adds a directive for the compiler, and the compiler checks the code for some more strict rules than in the native programming language.

You can add the CLS compliant attribute to all your project by adding the assembly level attribute

[assembly: CLSCompliant(true)]

anywhere in your project, generally in the assemblyinfo.cs file.

If the line using System; is not at the top of the file, add it. Or, use the long form:

[assembly: System.CLSCompliant(true)]
37
ответ дан 28 November 2019 в 01:27
поделиться

You need to add this line to one of your source files:

[assembly: System.CLSCompliant(true)]

More info on CLS compliant code here.

Normally you put this in assemblyinfo.cs

19
ответ дан 28 November 2019 в 01:27
поделиться