/target
تعين ملف الإخراج التنسيق.
The /الهدف خيار المحول البرمجي can be specified في واحد of three forms:
/target:exe
Creates a console .exe ملف./target:library
Creates a (.dll) تعليمات برمجية مكتبة./target:winexe
Creates a Windows برنامج.
ملاحظات
/الهدف causes a .NET Framework تجميع بيان إلى be placed في an إخراج ملف.
If you إنشاء an تجميع, you can indicate that الجميع أو part of your تعليمات برمجية هو CLS compliant مع the CLSCompliantAttribute فئة سمة.
import System;
[assembly:System.CLSCompliant(true)] // specify assembly compliance
System.CLSCompliant(true) class TestClass // specify compliance for element
{
var i: int;
}