การฝึกอบรม
โมดูล
Learn to validate Teams apps extensible across Microsoft 365 - Training
In this module, our focus is on ensuring that the extensible Teams apps meet the validation requirements.
เบราว์เซอร์นี้ไม่ได้รับการสนับสนุนอีกต่อไป
อัปเกรดเป็น Microsoft Edge เพื่อใช้ประโยชน์จากคุณลักษณะล่าสุด เช่น การอัปเดตความปลอดภัยและการสนับสนุนด้านเทคนิค
Package validation tooling allows you, as a library developer, to validate that your packages are consistent and well formed. It provides the following checks:
You can run package validation either as an MSBuild task or using the Microsoft.DotNet.ApiCompat.Tool global tool. If your app isn't packable, use assembly validation instead.
You enable package validation in your .NET project by setting the EnablePackageValidation
property to true
.
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<EnablePackageValidation>true</EnablePackageValidation>
</PropertyGroup>
</Project>
EnablePackageValidation
runs a series of checks after the Pack
task. There are some additional checks that can be run by setting other MSBuild properties. For more information, see Package validation properties.
There are three different validators that verify your package as part of the Pack
task:
For information about suppressing compatibility warnings, see How to suppress.
คำติชม .NET
.NET เป็นโครงการโอเพนซอร์ส เลือกลิงก์เพื่อให้คำติชม:
การฝึกอบรม
โมดูล
Learn to validate Teams apps extensible across Microsoft 365 - Training
In this module, our focus is on ensuring that the extensible Teams apps meet the validation requirements.