繁体   English   中英

编译后,“ Windows运行时组件”的代码在哪里?

[英]Where is the code for a “Windows Runtime Component” located after compilation?

在Visual Studio 2012中构建“ Windows运行时组件”项目时,它将创建一个.winmd和.pri文件。

AFAIK,winmd文件仅包含元数据,而没有代码。 那么实际的代码在哪里?

编辑:

如您所见,这是生成的输出,没有提及任何dll文件:

1> ------重建所有已开始的项目:项目:WindowsRuntimeComponent1,配置:调试任何CPU ------ 1>构建已开始6/24/2013 1:40:49 AM。 1> CoreClean:1>删除文件“ C:\\ test \\ WindowsRuntimeComponent1 \\ WindowsRuntimeComponent1 \\ bin \\ Debug \\ WindowsRuntimeComponent1.winmd”。 1>删除文件“ C:\\ test \\ WindowsRuntimeComponent1 \\ WindowsRuntimeComponent1 \\ bin \\ Debug \\ WindowsRuntimeComponent1.pdb”。 1>删除文件“ C:\\ test \\ WindowsRuntimeComponent1 \\ WindowsRuntimeComponent1 \\ bin \\ Debug \\ WindowsRuntimeComponent1.pri”。 1>删除文件“ C:\\ test \\ WindowsRuntimeComponent1 \\ WindowsRuntimeComponent1 \\ obj \\ Debug \\ WindowsRuntimeComponent1.winmd”。 1>删除文件“ C:\\ test \\ WindowsRuntimeComponent1 \\ WindowsRuntimeComponent1 \\ obj \\ Debug \\ WindowsRuntimeComponent1.pdb”。 1>删除文件“ C:\\ test \\ WindowsRuntimeComponent1 \\ WindowsRuntimeComponent1 \\ obj \\ Debug \\ WindowsRuntimeComponent1.winmdobj”。 1>删除文件“ C:\\ test \\ WindowsRuntimeComponent1 \\ WindowsRuntimeComponent1 \\ obj \\ Debug \\ WindowsRuntimeComponent1.compile.pdb”。 1>删除文件“ C:\\ test \\ WindowsRuntimeComponent1 \\ WindowsRuntimeComponent1 \\ obj \\ Debug \\ priconfig.xml”。 1>删除文件“ C:\\ test \\ WindowsRuntimeComponent1 \\ WindowsRuntimeComponent1 \\ obj \\ Debug \\ layout.resfiles”。 1>删除文件“ C:\\ test \\ WindowsRuntimeComponent1 \\ WindowsRuntimeComponent1 \\ obj \\ Debug \\ resources.resfiles”。 1>删除文件“ C:\\ test \\ WindowsRuntimeComponent1 \\ WindowsRuntimeComponent1 \\ obj \\ Debug \\ pri.resfiles”。 1>删除文件“ C:\\ test \\ WindowsRuntimeComponent1 \\ WindowsRuntimeComponent1 \\ obj \\ Debug \\ LanguageQualifiers.txt”。 1> GenerateTargetFrameworkMonikerAttribute:1>跳过目标“ GenerateTargetFrameworkMonikerAttribute”,因为所有输出文件都相对于输入文件是最新的。 1> CoreCompile:1> C:\\ Windows \\ Microsoft.NET \\ Framework \\ v4.0.30319 \\ Csc.exe / noconfig / nowarn:1701,1702,2008 /pdb:obj\\Debug\\WindowsRuntimeComponent1.compile.pdb / nostdlib + / errorreport :prompt / warn:4 / define:DEBUG; TRACE; NETFX_CORE / errorendlocation / preferreduilang:en-US / highentropyva + / reference:“ C:\\ Program Files(x86)\\ Reference Assemblys \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ Microsoft.CSharp.dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ Microsoft.VisualBasic.dll“ /参考:” C:\\ Program Files(x86) \\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ mscorlib.dll“ /引用:” C:\\ Program Files(x86)\\ Reference Assembly \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Collections.Concurrent。 dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Collections.dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.ComponentModel.Annotations.dll“ / reference:” C:\\ Progra m文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.ComponentModel.DataAnnotations.dll“ / reference:” C:\\ Program Files(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4 .5 \\ System.ComponentModel.dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.ComponentModel.EventBasedAsync.dll“ /参考:” C:\\程序文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Core.dll“ /引用:” C:\\程序文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Diagnostics.Contracts.dll” /参考:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Diagnostics.Debug.dll” /参考:“ C:\\程序文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Diagnostics.Tools.dll“ /引用:” C:\\ Program Files(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4 .5 \\ System.Diagnostics.Tracing.dll” /引用:“ C:\\ Program Files(x86)\\ Reference Assembli es \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Dynamic.Runtime.dll“ /引用:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Globalization.dll” /引用:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.IO.Compression.dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.IO.dll“ /参考:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Linq.dll” /引用:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework。 NETCore \\ v4.5 \\ System.Linq.Expressions.dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Linq.Parallel.dll“ / reference :“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Linq.Queryable.dll” /引用:“ C:\\ Program Files(x86)\\ Reference 程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Net.dll” /引用:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Net.Http。 dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Net.Http.Rtc.dll“ /参考:” C:\\ Program Files(x86) \\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Net.NetworkInformation.dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System。 Net.Primitives.dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Net.Requests.dll“ /参考:” C:\\ Program Files( x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Numerics.dll” /引用:“ C:\\ Program Files(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System。 ObjectModel.dll“ / reference:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Reflection.Context.dll“ / reference:” C:\\ Prog ram文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Reflection.dll“ / reference:” C:\\ Program Files(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Reflection.Extensions.dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Reflection.Primitives.dll“ /参考:” C:\\程序文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Resources.ResourceManager.dll“ /引用:” C:\\ Program Files(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4 .5 \\ System.Runtime.dll” /参考:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Runtime.Extensions.dll” /参考:“ C:\\程序文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Runtime.InteropServices.dll“ /引用:” C:\\ Program Files(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4 .5 \\ System.Runtime.InteropServices.WindowsRuntime.dll“ / reference:” C:\\ Program Files(x86)\\ Refer ence Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Runtime.Numerics.dll“ / reference:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Runtime “ .Serialization.dll” /参考:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Runtime.Serialization.Json.dll” /参考:“ C:\\ Program Files (x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Runtime.Serialization.Primitives.dll“ /引用:” C:\\ Program Files(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4 .5 \\ System.Runtime.Serialization.Xml.dll” /参考:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Runtime.WindowsRuntime.dll” “ C:\\ Program Files(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Runtime.WindowsRuntime.UI.Xaml.dll” /引用:“ C:\\ Program Files(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Security.Principal.dll“ / reference:” C:\\ Program Files(x86) \\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.ServiceModel.dll“ / reference:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.ServiceModel。 Duplex.dll“ / reference:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.ServiceModel.Http.dll“ / reference:” C:\\ Program Files(x86) \\ Reference Assembly \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.ServiceModel.NetTcp.dll“ / reference:” C:\\ Program Files(x86)\\ Reference Assembly \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System。 ServiceModel.Primitives.dll” /参考:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.ServiceModel.Security.dll” /参考:“ C:\\ Program Files( x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.ServiceModel.Web.dll” /引用:“ C:\\ Program Files(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Text.Encoding.dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NE TCore \\ v4.5 \\ System.Text.Encoding.Extensions.dll“ / reference:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Text.RegularExpressions.dll“ /引用:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Threading.dll” /引用:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Threading.Tasks.dll” /引用:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Threading.Tasks.Parallel。 dll“ /参考:” C:\\ Program文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Windows.dll“ /参考:” C:\\ Program文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Xml.dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Xml.Linq.dll“ /参考:“ C:\\ Program Files(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Xml.ReaderWriter.dll” /参考:“ C:\\ Program Files(x 86)\\ Reference Assembly \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Xml.Serialization.dll“ / reference:” C:\\ Program Files(x86)\\ Reference Assembly \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Xml.XDocument.dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Xml.XmlSerializer.dll“ /参考:” C:\\ Program文件(x86)\\ Windows Kits \\ 8.0 \\ References \\ CommonConfiguration \\ Neutral \\ Windows.winmd“ / debug + / debug:full / filealign:512 / optimize- /out:obj\\Debug\\WindowsRuntimeComponent1.winmdobj /subsystemversion:6.02 / target: winmdobj / utf8output Class1.cs属性\\ AssemblyInfo.cs“ C:\\ Users \\ Admin \\ AppData \\ Local \\ Temp.NETCore,Version = v4.5.AssemblyAttributes.cs” obj \\ Debug \\ TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3 .cs obj \\ Debug \\ TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs obj \\ Debug \\ TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs 1> ExportWindowsMDFile:1> C:\\ Program Files(x86)\\ Microsoft SDKs Windows \\ v8.0A \\ bin \\ NETFX 4。 0工具\\ winmdexp.exe /mp:obj\\Debug\\WindowsRuntimeComponent1.compile.pdb /pdb:obj\\Debug\\WindowsRuntimeComponent1.pdb /out:obj\\Debug\\WindowsRuntimeComponent1.winmd / utf8output / reference:“ C:\\ Program Files( x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ Microsoft.CSharp.dll” /引用:“ C:\\ Program Files(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ Microsoft。 VisualBasic.dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ mscorlib.dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Collections.Concurrent.dll“ /引用:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Collections.dll“ /参考:“ C:\\ Program文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.ComponentModel.Annotations.dll” /参考:“ C:\\程序文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.ComponentModel.DataAnnotations.dll” /引用:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.ComponentModel.dll” /引用:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.ComponentModel.EventBasedAsync.dll“ /引用:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Core.dll“ /引用:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Diagnostics.Contracts.dll” /引用:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Diagnostics.Debug.dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Diagnostics.Tools.dll“ /参考:“ C:\\ Program文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Diagnostics.Tracing.dll” /参考:“ C:\\程序文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.dll” /引用:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Micros oft \\ Framework.NETCore \\ v4.5 \\ System.Dynamic.Runtime.dll“ /引用:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Globalization.dll“ /参考:“ C:\\ Program文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.IO.Compression.dll” /参考:“ C:\\程序文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.IO.dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Linq.dll“ / reference :“ C:\\ Program文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Linq.Expressions.dll” /引用:“ C:\\ Program Files(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Linq.Parallel.dll“ /引用:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Linq.Queryable.dll“ /引用:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Net.dll” /引用:“ C:\\ Program Files(x86)\\ Reference Assem blies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Net.Http.dll” /引用:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Net。 Http.Rtc.dll” /参考:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Net.NetworkInformation.dll” /参考:“ C:\\ Program Files( x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Net.Primitives.dll” /引用:“ C:\\ Program Files(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Net.Requests.dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Numerics.dll“ /参考:” C:\\ Program Files( x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.ObjectModel.dll” /引用:“ C:\\ Program Files(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System。 Reflection.Context.dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Reflection.dll“ /参考:” C:\\ Pr 图文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Reflection.Extensions.dll“ /参考:” C:\\ Program Files(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4 .5 \\ System.Reflection.Primitives.dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Resources.ResourceManager.dll“ /参考:” C :\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Runtime.dll“ / reference:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4 .5 \\ System.Runtime.Extensions.dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Runtime.InteropServices.dll“ /参考:” C :\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Runtime.InteropServices.WindowsRuntime.dll“ / reference:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework .NETCore \\ v4.5 \\ System.Runtime.Numerics.dll” /引用:“ C:\\ Program Files(x8 6)\\ Reference Assembly \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Runtime.Serialization.dll“ / reference:” C:\\ Program Files(x86)\\ Reference Assembly \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Runtime.Serialization.Json.dll” /参考:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Runtime.Serialization.Primitives.dll” /参考:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Runtime.Serialization.Xml.dll“ / reference:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Runtime.WindowsRuntime.dll” /引用:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Runtime.WindowsRuntime.UI。 Xaml.dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Security.Principal.dll“ /参考:” C:\\ Program Files(x86) \\ Reference Assembly \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.ServiceModel.dll“ / reference:” C:\\ Program Files( x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.ServiceModel.Duplex.dll” /引用:“ C:\\ Program Files(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.ServiceModel.Http.dll” /参考:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.ServiceModel.NetTcp.dll” /参考:“ C:\\ Program文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.ServiceModel.Primitives.dll“ /引用:” C:\\ Program文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4。 5 \\ System.ServiceModel.Security.dll” /参考:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.ServiceModel.Web.dll” /参考:“ C: \\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Text.Encoding.dll“ / reference:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Text.Encoding.Extensions.dll“ / reference:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Micros oft \\ Framework.NETCore \\ v4.5 \\ System.Text.RegularExpressions.dll“ /引用:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Threading.dll“ /参考:“ C:\\ Program文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Threading.Tasks.dll” /参考:“ C:\\ Program文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Threading.Tasks.Parallel.dll” /引用:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Windows。 dll“ /参考:” C:\\ Program文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Xml.dll“ /参考:” C:\\ Program文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Xml.Linq.dll” /引用:“ C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Xml.ReaderWriter。 dll“ /参考:” C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Xml.Serialization.dll“ /参考:” C:\\ Program 文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4.5 \\ System.Xml.XDocument.dll” /引用:“ C:\\ Program文件(x86)\\参考程序集\\ Microsoft \\ Framework.NETCore \\ v4。 5 \\ System.Xml.XmlSerializer.dll“ / reference:” C:\\ Program Files(x86)\\ Windows Kits \\ 8.0 \\ References \\ CommonConfiguration \\ Neutral \\ Windows.winmd“ obj \\ Debug \\ WindowsRuntimeComponent1.winmdobj 1> CopyFilesToOutputDirectory:1 >将文件从“ obj \\ Debug \\ WindowsRuntimeComponent1.winmd”复制到“ bin \\ Debug \\ WindowsRuntimeComponent1.winmd”。 1>将文件从“ obj \\ Debug \\ WindowsRuntimeComponent1.pdb”复制到“ bin \\ Debug \\ WindowsRuntimeComponent1.pdb”。 1> WindowsRuntimeComponent1-> C:\\ test \\ WindowsRuntimeComponent1 \\ WindowsRuntimeComponent1 \\ bin \\ Debug \\ WindowsRuntimeComponent1.winmd 1> GetPackagingOutputs:1> WindowsRuntimeComponent1:WindowsRuntimeComponent1.ProjectPriFile:C:\\ test \\ WindowsRuntimeComponent1 \\ WindowsRuntimeComponent1 \\ bin \\ Debug \\ WindowsRuntimeComponent1.pri- > WindowsRuntimeComponent1.pri 1> WindowsRuntimeComponent1:WindowsRuntimeComponent1.BuiltProjectOutputGroup:C:\\ test \\ WindowsRuntimeComponent1 \\ WindowsRuntimeComponent1 \\ bin \\ Debug \\ WindowsRuntimeComponent1.winmd-> WindowsRuntimeComponent1.winmd 1> WindowsRuntimeComponent1:WindowsRuntimeComponent1.DebugSymbolsProjectOutputGroup:C:\\ test \\ Windows bin \\ Debug \\ WindowsRuntimeComponent1.pdb-> WindowsRuntimeComponent1.pdb 1> WindowsRuntimeComponent1:WindowsRuntimeComponent1.CopyWinmdArtifactsOutputGroup:C:\\ test \\ WindowsRuntimeComponent1 \\ WindowsRuntimeComponent1 \\ bin \\ Debug \\ WindowsRuntimeComponent1.winmd-> WindowsRuntimeComponent1.w inmd 1> WindowsRuntimeComponent1:WindowsRuntimeComponent1.CopyWinmdArtifactsOutputGroup:C:\\ test \\ WindowsRuntimeComponent1 \\ WindowsRuntimeComponent1 \\ bin \\ Debug \\ WindowsRuntimeComponent1.pdb-> WindowsRuntimeComponent1.pdb 1> WindowsRuntimeComponent1:WindowsRuntimeComponent1._GetProjectArchitecture:中性-> 1> _1:_GenerateProjectPriFile obj \\ Debug \\ priconfig.xml 1> WindowsRuntimeComponent1-> obj \\ Debug \\ layout.resfiles 1> WindowsRuntimeComponent1-> obj \\ Debug \\ resources.resfiles 1> WindowsRuntimeComponent1-> obj \\ Debug \\ pri.resfiles 1> _GenerateProjectPriFileCore:1> C :\\ Program Files(x86)\\ Windows Kits \\ 8.0 \\ bin \\ x86 \\ MakePri.exe新增-ProjectRoot C:\\ test \\ WindowsRuntimeComponent1 \\ WindowsRuntimeComponent1 \\ -ConfigXml obj \\ Debug \\ priconfig.xml -OutputFile C:\\ test \\ WindowsRuntimeComponent1 \\ WindowsRuntimeComponent1 \\ bin \\ Debug \\ WindowsRuntimeComponent1.pri -IndexName WindowsRuntimeComponent1 -Verbose -Overwrite 1> WindowsRuntimeComponent1-> WindowsRuntimeCompo nent1.pri 1> 1>构建成功。 1> 1>经过的时间00:00:00.56 ===========全部重建:1成功,0失败,0跳过==========

假设您使用的是默认的构建设置,则应该在$(SolutionDir)$(Configuration)\\$(MSBuildProjectName)\\获得winmd,pri和dll $(SolutionDir)$(Configuration)\\$(MSBuildProjectName)\\

您的代码将在dll中

(通过使用VS向导创建新的WRC并进行构建即可确认)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM