第七章:XAML vs. code(5)

本文探讨了XAML编译选项及其对应用程序性能的影响,包括如何选择编译或跳过特定XAML文件。此外,还介绍了如何利用XAML的平台特异性功能,如OnPlatform类来设置不同平台的样式。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

XAML编译器

您可以选择是否在构建过程中编译XAML。 编译XAML可以在构建过程中进行有效性检查,减少可执行文件的大小,并缩短加载时间,但这比非编译方法稍微新一些,所以有时可能会出现问题。
为了表明您想要编译应用程序中的所有XAML文件,可以在代码文件中的某个位置插入下面的程序集属性。 最方便的地方是PCL项目的Properties文件夹中的Assembly.cs文件:

[assembly: XamlCompilation(XamlCompilationOptions.Compile

你可以把它放在另一个C#文件中,但是因为它是一个程序集属性,它需要位于任何名称空间块之外。 您还需要Xamarin.Forms.Xaml的使用指令。
您也可以指定编译特定类的XAML文件:

namespace CodePlusXaml
{
    [XamlCompilation(XamlCompilationOptions.Compile)]
    public partial class CodePlusXamlPage : ContentPage
    {
        public CodePlusXamlPage()
        {
            InitializeComponent();

        }
    }
}

XamlCompilationOptions枚举有两个成员Compile和Skip,这意味着您可以使用XamlCompilation作为程序集属性来为项目中的所有类使用XAML编译,但可以跳过使用Skip成员的单个类的XAML编译。
如果您不选择编译XAML,则整个XAML文件将作为嵌入资源绑定到可执行文件中,就像第4章中BlackCat程序中的Edgar Allan Poe故事一样。实践中,您可以访问XAML 文件在运行时通过使用GetManifestResourceStream方法。 这与在InitializeComponent中调用的LoadFromXaml类似。 它加载XAML文件并第二次解析它,实例化并初始化XAML文件中除根元素(已存在)以外的所有元素。
当你选择编译XAML时,这个过程有点简化,但LoadFrom?Xaml方法仍然需要实例化所有元素并构建一个可视化树。

XAML文件中的平台特异性

这是一个名为ScaryColorList的程序的XAML文件,它类似于您之前看到的XAML代码片段。 但是现在重复更加可怕,因为每个颜色项目都被一个Frame包围:

<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="ScaryColorList.ScaryColorListPage">
    <ContentPage.Content>
        <StackLayout>
            <StackLayout.Children>
                <Frame OutlineColor="Accent">
                    <Frame.Content>
                        <StackLayout Orientation="Horizontal">
                            <StackLayout.Children>
                                <BoxView Color="Red" />
                                <Label Text="Red"
                                       VerticalOptions="Center" />
                            </StackLayout.Children>
                        </StackLayout>
                    </Frame.Content>
                </Frame>
                <Frame OutlineColor="Accent">
                    <Frame.Content>
                        <StackLayout Orientation="Horizontal">
                            <StackLayout.Children>
                                <BoxView Color="Green" />
                                <Label Text="Green"
                                       VerticalOptions="Center" />
                            </StackLayout.Children>
                        </StackLayout>
                    </Frame.Content>
                </Frame>
                <Frame OutlineColor="Accent">
                    <Frame.Content>
                        <StackLayout Orientation="Horizontal">
                            <StackLayout.Children>
                                <BoxView Color="Blue" />
                                <Label Text="Blue"
                                       VerticalOptions="Center" />
                            </StackLayout.Children>
                        </StackLayout>
                    </Frame.Content>
                </Frame>
            </StackLayout.Children>
        </StackLayout>
    </ContentPage.Content>
</ContentPage>

代码隐藏文件仅包含对InitializeComponent的标准调用。
除了重复的标记之外,该程序还有一个更实际的问题:当它在iOS上运行时,顶部项与状态栏重叠。 这个问题可以通过在页面构造函数中调用Device.OnPlatform来解决(就像你在第2章中看到的那样)。 因为Device.OnPlatform在页面上设置了Padding属性,并且不需要XAML文件中的任何内容,所以它可以在InitializeComponent调用之前或之后进行。 以下是一种方法:

public partial class ScaryColorListPage : ContentPage
{
    public ScaryColorListPage()
    {
        Padding = Device.OnPlatform(new Thickness(0, 20, 0, 0),
                                    new Thickness(0),
                                    new Thickness(0));
        InitializeComponent();
    }
}

或者,您可以在XAML文件的根元素中为所有三个平台设置统一的Padding值:

<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="ScaryColorList.ScaryColorListPage"
             Padding="0, 20, 0, 0">
    <ContentPage.Content>

    </ContentPage.Content>
</ContentPage>

这为页面设置了Padding属性。 ThicknessTypeConverter类需要用逗号分隔值,但与厚度构造函数相比,您具有相同的灵活性。 您可以按照左侧,顶部,右侧和底部的顺序指定四个值; 两个值(左边和右边的第一个,第二个顶部和底部); 或一个值。
但是,您也可以使用OnPlatform类在XAML文件中指定特定于平台的值,其名称暗示它在功能上类似于Device.OnPlatform静态方法。
OnPlatform是一个非常有趣的课程,值得深入了解它的工作原理。 这个类是通用的,它有三个T类型的属性,以及一个将它自己转换为T的隐式转换,它使用Device.OS值:

public class OnPlatform<T>
{
    public T iOS { get; set; }
    public T Android { get; set; }
    public T WinPhone { get; set; }
    public static implicit operator T(OnPlatform<T> onPlatform)
    {
        // returns one of the three properties based on Device.OS
    }
}

理论上,您可以在代码中使用OnPlatform 类,也许在ContentPage派生的构造函数中使用这个类:

Padding = new OnPlatform<Thickness>
{
    iOS = new Thickness(0, 20, 0, 0),
    Android = new Thickness(0),
    WinPhone = new Thickness(0)
};

您可以将此OnPlatform类的实例直接设置为Padding属性,因为On?Platform类定义了将其自身转换为泛型参数(本例中为Thickness)的隐式转换。
但是,您不应该在代码中使用OnPlatform。 改用Device.OnPlatform。 OnPlatform是为XAML设计的,唯一非常棘手的部分是弄清楚如何指定泛型类型参数。
幸运的是,XAML 2009规范包含一个专门为通用类设计的属性,称为TypeArguments。 因为它是XAML本身的一部分,所以它与x前缀一起使用,所以它显示为x:TypeArguments。 以下是XAML中如何使用OnPlatform在三个厚度值中进行选择的方法:

<OnPlatform x:TypeArguments="Thickness"
            iOS="0, 20, 0, 0"
            Android="0"
            WinPhone="0" />

在这个例子中(和前面的代码示例),Android和WinPhone设置不需要,因为它们是默认设置。 请注意,Thickness字符串可以直接设置为属性,因为这些属性的类型是Thickness,因此XAML分析器将使用ThicknessTypeConverter来转换这些字符串。
现在我们有了OnPlatform标记,我们如何将它设置为Page的Padding属性? 当然,通过使用property-element语法来表达Padding!

<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="ScaryColorList.ScaryColorListPage">
 
    <ContentPage.Padding>
        <OnPlatform x:TypeArguments="Thickness"
                    iOS="0, 20, 0, 0" />
    </ContentPage.Padding>
 
    <ContentPage.Content>

    </ContentPage.Content>
</ContentPage>

这就是ScaryColorList程序如何出现在本书示例集合中,以下是它的外观:
201806262141270342

与OnDevice类似,OnIdiom区分手机和平板电脑。 由于在下一章中将会出现的原因,您应该尝试将OnDevice和OnIdiom的使用限制为小块标记而不是大块。 它们的使用不应成为XAML文件中的结构元素。

CAD运行时点击“开始绘制”后弹出问题: ************** 异常文本 ************** System.InvalidCastException: 指定的转换无效。 在 BeamSectionPlugin.ObjectSnapMode..ctor(Editor editor, Mode modes) 位置 C:\Users\卓越生活\Desktop\梁板剖面绘制2\梁板剖面绘制\Class1.cs:行号 420 在 BeamSectionPlugin.BeamSectionDrawer.DrawBeamSection() 位置 C:\Users\卓越生活\Desktop\梁板剖面绘制2\梁板剖面绘制\Class1.cs:行号 42 在 Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorker(MethodInfo mi, Object commandObject, Boolean bLispFunction) 在 Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorkerWithExceptionFilter(MethodInfo mi, Object commandObject, Boolean bLispFunction) 在 Autodesk.AutoCAD.Runtime.PerDocumentCommandClass.Invoke(MethodInfo mi, Boolean bLispFunction) 在 Autodesk.AutoCAD.Runtime.CommandClass.CommandThunk.Invoke() ************** 已加载的程序集 ************** mscorlib 程序集版本:4.0.0.0 Win32 版本:4.8.9310.0 built by: NET481REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll ---------------------------------------- Acdbmgd 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/Acdbmgd.DLL ---------------------------------------- adui23 程序集版本:0.0.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/adui23.DLL ---------------------------------------- AdUiPalettes 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/AdUiPalettes.DLL ---------------------------------------- System 程序集版本:4.0.0.0 Win32 版本:4.8.9310.0 built by: NET481REL1LAST_C 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- WindowsBase 程序集版本:4.0.0.0 Win32 版本:4.8.9297.0 built by: NET481REL1LAST_C 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll ---------------------------------------- System.Core 程序集版本:4.0.0.0 Win32 版本:4.8.9297.0 built by: NET481REL1LAST_C 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- PresentationCore 程序集版本:4.0.0.0 Win32 版本:4.8.9297.0 built by: NET481REL1LAST_C 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll ---------------------------------------- PresentationFramework 程序集版本:4.0.0.0 Win32 版本:4.8.9297.0 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll ---------------------------------------- System.Xaml 程序集版本:4.0.0.0 Win32 版本:4.8.9297.0 built by: NET481REL1LAST_C 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll ---------------------------------------- System.Configuration 程序集版本:4.0.0.0 Win32 版本:4.8.9032.0 built by: NET481REL1 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml 程序集版本:4.0.0.0 Win32 版本:4.8.9032.0 built by: NET481REL1 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- AdUIMgd 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/AdUIMgd.DLL ---------------------------------------- AdApplicationFrame 程序集版本:0.0.0.0 Win32 版本:2018.11.1.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/AdApplicationFrame.DLL ---------------------------------------- AdWindows 程序集版本:2018.11.1.0 Win32 版本:2018.11.1.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/AdWindows.DLL ---------------------------------------- AdWindows.resources 程序集版本:2018.11.1.0 Win32 版本:2018.11.1.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/zh-CN/AdWindows.resources.DLL ---------------------------------------- WindowsFormsIntegration 程序集版本:4.0.0.0 Win32 版本:4.8.9139.0 built by: NET481REL1LAST_B 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsFormsIntegration/v4.0_4.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll ---------------------------------------- PresentationFramework.Aero2 程序集版本:4.0.0.0 Win32 版本:4.8.9032.0 built by: NET481REL1 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero2/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero2.dll ---------------------------------------- accoremgd 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/accoremgd.DLL ---------------------------------------- Acmgd 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/Acmgd.DLL ---------------------------------------- AcWindows 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/AcWindows.DLL ---------------------------------------- PresentationFramework.resources 程序集版本:4.0.0.0 Win32 版本:4.8.9032.0 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.resources/v4.0_4.0.0.0_zh-Hans_31bf3856ad364e35/PresentationFramework.resources.dll ---------------------------------------- AcWindows.resources 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/zh-CN/AcWindows.resources.DLL ---------------------------------------- AcCui 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/AcCui.DLL ---------------------------------------- PresentationFramework-SystemXml 程序集版本:4.0.0.0 Win32 版本:4.8.9032.0 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXml/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXml.dll ---------------------------------------- PresentationFramework.Aero 程序集版本:4.0.0.0 Win32 版本:4.8.9032.0 built by: NET481REL1 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll ---------------------------------------- mscorlib.resources 程序集版本:4.0.0.0 Win32 版本:4.8.9032.0 built by: NET481REL1 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/mscorlib.resources.dll ---------------------------------------- System.resources 程序集版本:4.0.0.0 Win32 版本:4.8.9032.0 built by: NET481REL1 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.resources.dll ---------------------------------------- PresentationCore.resources 程序集版本:4.0.0.0 Win32 版本:4.8.9032.0 built by: NET481REL1 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationCore.resources/v4.0_4.0.0.0_zh-Hans_31bf3856ad364e35/PresentationCore.resources.dll ---------------------------------------- System.Drawing 程序集版本:4.0.0.0 Win32 版本:4.8.9032.0 built by: NET481REL1 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- PresentationUI 程序集版本:4.0.0.0 Win32 版本:4.8.9032.0 built by: NET481REL1 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationUI/v4.0_4.0.0.0__31bf3856ad364e35/PresentationUI.dll ---------------------------------------- PresentationUI.resources 程序集版本:4.0.0.0 Win32 版本:4.8.9032.0 built by: NET481REL1 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationUI.resources/v4.0_4.0.0.0_zh-Hans_31bf3856ad364e35/PresentationUI.resources.dll ---------------------------------------- System.Xml.Linq 程序集版本:4.0.0.0 Win32 版本:4.8.9032.0 built by: NET481REL1 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll ---------------------------------------- System.Windows.Forms 程序集版本:4.0.0.0 Win32 版本:4.8.9256.0 built by: NET481REL1LAST_B 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- PresentationFramework-SystemXmlLinq 程序集版本:4.0.0.0 Win32 版本:4.8.9032.0 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXmlLinq/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXmlLinq.dll ---------------------------------------- WindowsBase.resources 程序集版本:4.0.0.0 Win32 版本:4.8.9032.0 built by: NET481REL1 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase.resources/v4.0_4.0.0.0_zh-Hans_31bf3856ad364e35/WindowsBase.resources.dll ---------------------------------------- AcCloudAccess 程序集版本:23.1.0.0 Win32 版本:23.1.0.0 基本代码:file:///C:/Users/%E5%8D%93%E8%B6%8A%E7%94%9F%E6%B4%BB/AppData/Roaming/Autodesk/ApplicationPlugins/Autodesk%20Save%20to%20Web%20and%20Mobile.bundle/Contents/AutoCAD/Win64/AcCloudAccess.dll ---------------------------------------- AcCloudAccess.resources 程序集版本:23.1.0.0 Win32 版本:23.1.0.0 基本代码:file:///C:/Users/%E5%8D%93%E8%B6%8A%E7%94%9F%E6%B4%BB/AppData/Roaming/Autodesk/ApplicationPlugins/Autodesk%20Save%20to%20Web%20and%20Mobile.bundle/Contents/AutoCAD/Win64/zh-CN/AcCloudAccess.resources.DLL ---------------------------------------- Microsoft.GeneratedCode 程序集版本:1.0.0.0 Win32 版本:4.8.9032.0 built by: NET481REL1 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- FeaturedAppsPlugin 程序集版本:23.1.0.0 Win32 版本:23.1.43.0.0 基本代码:file:///C:/Program%20Files%20(x86)/Autodesk/ApplicationPlugins/Autodesk%20FeaturedApps.bundle/Contents/Windows/2020/Win64/FeaturedAppsPlugin.dll ---------------------------------------- ACAD2013 程序集版本:1.0.0.0 Win32 版本:1.0.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/ACAD2013.DLL ---------------------------------------- 盘扣轴网布置 程序集版本:1.0.0.0 Win32 版本:1.0.0.0 基本代码:file:///C:/ProgramData/Autodesk/ApplicationPlugins/Zhongli%20Mojia%20Software.bundle/Zhongli%20Mojia%20Software/net48/BW.dll ---------------------------------------- 盘扣斜梁轴网布置 程序集版本:1.0.0.0 Win32 版本:1.0.0.0 基本代码:file:///C:/ProgramData/Autodesk/ApplicationPlugins/Zhongli%20Mojia%20Software.bundle/Zhongli%20Mojia%20Software/net48/bzxl.dll ---------------------------------------- 块统计 程序集版本:1.0.0.0 Win32 版本:1.0.0.0 基本代码:file:///C:/ProgramData/Autodesk/ApplicationPlugins/Zhongli%20Mojia%20Software.bundle/Zhongli%20Mojia%20Software/net48/ktj.dll ---------------------------------------- 梁截面尺寸统计插件 程序集版本:1.0.0.0 Win32 版本:1.0.0.0 基本代码:file:///C:/ProgramData/Autodesk/ApplicationPlugins/Zhongli%20Mojia%20Software.bundle/Zhongli%20Mojia%20Software/net48/ljmtj.dll ---------------------------------------- 盘扣平面布置 程序集版本:1.0.0.0 Win32 版本:1.0.0.0 基本代码:file:///C:/ProgramData/Autodesk/ApplicationPlugins/Zhongli%20Mojia%20Software.bundle/Zhongli%20Mojia%20Software/net48/pkbz.dll ---------------------------------------- 剖面图绘制 程序集版本:1.0.0.0 Win32 版本:1.0.0.0 基本代码:file:///C:/ProgramData/Autodesk/ApplicationPlugins/Zhongli%20Mojia%20Software.bundle/Zhongli%20Mojia%20Software/net48/pmhz.dll ---------------------------------------- 平面斜拉杆布置 程序集版本:1.0.0.0 Win32 版本:1.0.0.0 基本代码:file:///C:/ProgramData/Autodesk/ApplicationPlugins/Zhongli%20Mojia%20Software.bundle/Zhongli%20Mojia%20Software/net48/pmxlg.dll ---------------------------------------- 图纸处理插件 程序集版本:1.0.0.0 Win32 版本:1.0.0.0 基本代码:file:///C:/ProgramData/Autodesk/ApplicationPlugins/Zhongli%20Mojia%20Software.bundle/Zhongli%20Mojia%20Software/net48/tzcl.dll ---------------------------------------- PresentationFramework-SystemCore 程序集版本:4.0.0.0 Win32 版本:4.8.9032.0 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemCore/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemCore.dll ---------------------------------------- Anonymously Hosted DynamicMethods Assembly 程序集版本:0.0.0.0 Win32 版本:4.8.9310.0 built by: NET481REL1LAST_C 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll ---------------------------------------- UIAutomationTypes 程序集版本:4.0.0.0 Win32 版本:4.8.9297.0 built by: NET481REL1LAST_C 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll ---------------------------------------- UIAutomationProvider 程序集版本:4.0.0.0 Win32 版本:4.8.9297.0 built by: NET481REL1LAST_C 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll ---------------------------------------- AcCloudFsMgd 程序集版本:1.0.7627.12247 Win32 版本:23.1.0.0 基本代码:file:///C:/Users/%E5%8D%93%E8%B6%8A%E7%94%9F%E6%B4%BB/AppData/Roaming/Autodesk/ApplicationPlugins/Autodesk%20Save%20to%20Web%20and%20Mobile.bundle/Contents/AutoCAD/Win64/AcCloudFsMgd.DLL ---------------------------------------- AcLivePreviewContext 程序集版本:0.0.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/AcWindows.dll ---------------------------------------- AcLayer 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/AcLayer.DLL ---------------------------------------- AcLayer.resources 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/zh-CN/AcLayer.resources.DLL ---------------------------------------- AcAeNet.resources 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/zh-CN/AcAeNet.resources.DLL ---------------------------------------- AcCloudRender.resources 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/zh-CN/AcCloudRender.resources.DLL ---------------------------------------- AcCustomize.resources 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/zh-CN/AcCustomize.resources.DLL ---------------------------------------- AcDxWizard.resources 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/zh-CN/AcDxWizard.resources.DLL ---------------------------------------- AcExportLayoutUI.resources 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/zh-CN/AcExportLayoutUI.resources.DLL ---------------------------------------- AcInterfere.resources 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/zh-CN/AcInterfere.resources.DLL ---------------------------------------- AcLayerTools.resources 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/zh-CN/AcLayerTools.resources.DLL ---------------------------------------- AcMrUi.resources 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/zh-CN/AcMrUi.resources.DLL ---------------------------------------- AcMultiLineUi.resources 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/zh-CN/AcMultiLineUi.resources.DLL ---------------------------------------- AcRecoverAll.resources 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/zh-CN/AcRecoverAll.resources.DLL ---------------------------------------- AcScaleList.resources 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/zh-CN/AcScaleList.resources.DLL ---------------------------------------- AcSeamless.resources 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/zh-CN/AcSeamless.resources.DLL ---------------------------------------- AcUnderlay.resources 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/zh-CN/AcUnderlay.resources.DLL ---------------------------------------- AcViewTransitionsUi.resources 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/zh-CN/AcViewTransitionsUi.resources.DLL ---------------------------------------- AdskConnectionPointMgd.resources 程序集版本:1.0.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/zh-CN/AdskConnectionPointMgd.resources.DLL ---------------------------------------- AcCalcUi.resources 程序集版本:23.1.0.0 Win32 版本:23.1.47.0.0 基本代码:file:///D:/CAD2020/AutoCAD%202020/zh-CN/AcCalcUi.resources.DLL ---------------------------------------- Accessibility 程序集版本:4.0.0.0 Win32 版本:4.8.9032.0 built by: NET481REL1 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- 梁板剖面绘制 程序集版本:1.0.0.0 Win32 版本:1.0.0.0 基本代码:file:///C:/Users/%E5%8D%93%E8%B6%8A%E7%94%9F%E6%B4%BB/Desktop/%E6%A2%81%E6%9D%BF%E5%89%96%E9%9D%A2%E7%BB%98%E5%88%B62/%E6%A2%81%E6%9D%BF%E5%89%96%E9%9D%A2%E7%BB%98%E5%88%B6/bin/Debug/%E6%A2%81%E6%9D%BF%E5%89%96%E9%9D%A2%E7%BB%98%E5%88%B6.dll ---------------------------------------- Windows.UI 程序集版本:255.255.255.255 Win32 版本:10.0.10011.16384 基本代码:file:///C:/WINDOWS/system32/WinMetadata/Windows.UI.winmd ---------------------------------------- Windows.Foundation 程序集版本:255.255.255.255 Win32 版本:10.0.10011.16384 基本代码:file:///C:/WINDOWS/system32/WinMetadata/Windows.Foundation.winmd ---------------------------------------- System.Runtime.InteropServices.WindowsRuntime 程序集版本:4.0.0.0 Win32 版本:4.8.9032.0 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.InteropServices.WindowsRuntime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.InteropServices.WindowsRuntime.dll ---------------------------------------- System.Runtime.WindowsRuntime 程序集版本:4.0.0.0 Win32 版本:4.8.9032.0 built by: NET481REL1 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.WindowsRuntime/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.WindowsRuntime.dll ---------------------------------------- System.Windows.Forms.resources 程序集版本:4.0.0.0 Win32 版本:4.8.9032.0 built by: NET481REL1 基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.Windows.Forms.resources.dll ---------------------------------------- ************** JIT 调试 ************** 应用程序不支持 Windows 窗体实时(JIT) 调试。有关更多 信息,请与应用程序的作者联系。
最新发布
08-08
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值