C winform system.windows.media.effects 참조 방법

유형 속성이있는 타사 API의 개체를 사용하고 System.Windows.Media.ImageSource있지만 System.Windows.Media 네임 스페이스를 어디에서나 찾을 수없는 것 같습니다. 내 프로젝트에 대한 참조를 추가하려고하면 System.Windows.Media옵션 목록에 표시되지 않습니다 . 내 프로젝트는 .Net 3.5도 대상으로합니다.

Show

    이 네임 스페이스에 액세스하려면 다른 작업이 필요합니까?



    답변


    답변

    PresentationCore.dll에 대한 참조를 추가해야합니다.


    답변

    PresentationCore.dll참조에 추가 하십시오. 내 PC 의이 DLL URL- C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\PresentationCore.dll


    답변

    의 경우 비주얼 스튜디오 2017

    솔루션 탐색기에서 “참조”찾기

    “참조”를 마우스 오른쪽 단추로 클릭하십시오.

    “참조 추가 …”를 선택합니다.

    “Presentation.Core”목록을 찾아 체크 박스를 선택합니다.

    확인 클릭


    답변

    NamespaceAssemblyMicrosoft.CodeAnalysis Microsoft.CodeAnalysis
    Microsoft.CodeAnalysis.CSharp
    Microsoft.CodeAnalysis.VisualBasic Microsoft.CodeAnalysis.CSharp Microsoft.CodeAnalysis.CSharp Microsoft.CodeAnalysis.CSharp.Syntax Microsoft.CodeAnalysis.CSharp Microsoft.CodeAnalysis.Diagnostics Microsoft.CodeAnalysis Microsoft.CodeAnalysis.Diagnostics.Telemetry Microsoft.CodeAnalysis Microsoft.CodeAnalysis.Emit Microsoft.CodeAnalysis Microsoft.CodeAnalysis.Semantics Microsoft.CodeAnalysis Microsoft.CodeAnalysis.Text Microsoft.CodeAnalysis Microsoft.CodeAnalysis.VisualBasic Microsoft.CodeAnalysis.VisualBasic Microsoft.CodeAnalysis.VisualBasic.Syntax Microsoft.CodeAnalysis.VisualBasic Microsoft.CSharp System Microsoft.CSharp.Activities System.Activities Microsoft.CSharp.RuntimeBinder Microsoft.CSharp Microsoft.SqlServer.Server System.Data Microsoft.VisualBasic System Microsoft.VisualBasic.Activities System.Activities Microsoft.VisualBasic.Activities.XamlIntegration System.Activities Microsoft.Win32 mscorlib
    System
    PresentationFramework Microsoft.Win32.SafeHandles mscorlib
    System
    System.Core Microsoft.Windows.Themes PresentationFramework.Aero
    PresentationFramework.Classic
    PresentationFramework.Luna
    PresentationFramework.Royale System mscorlib
    System
    System.Core
    System.ComponentModel.Composition
    System.ServiceModel System.Activities System.Activities System.Activities.Core.Presentation System.Activities.Core.Presentation System.Activities.Core.Presentation.Factories System.Activities.Core.Presentation System.Activities.Core.Presentation.Themes System.Activities.Core.Presentation System.Activities.Debugger System.Activities System.Activities.Debugger.Symbol System.Activities System.Activities.DurableInstancing System.Activities
    System.Activities.DurableInstancing System.Activities.DynamicUpdate System.Activities System.Activities.ExpressionParser System.Activities System.Activities.Expressions System.Activities System.Activities.Hosting System.Activities System.Activities.Persistence System.Activities System.Activities.Presentation System.Activities.Core.Presentation
    System.Activities.Presentation System.Activities.Presentation.Annotations System.Activities.Presentation System.Activities.Presentation.Converters System.Activities.Presentation System.Activities.Presentation.Debug System.Activities.Presentation System.Activities.Presentation.Expressions System.Activities.Presentation System.Activities.Presentation.Hosting System.Activities.Presentation System.Activities.Presentation.Metadata System.Activities.Presentation System.Activities.Presentation.Model System.Activities.Presentation System.Activities.Presentation.PropertyEditing System.Activities.Presentation System.Activities.Presentation.Services System.Activities.Presentation System.Activities.Presentation.Sqm System.Activities.Presentation System.Activities.Presentation.Toolbox System.Activities.Presentation System.Activities.Presentation.Validation System.Activities.Presentation System.Activities.Presentation.View System.Activities.Presentation System.Activities.Presentation.View.OutlineView System.Activities.Presentation System.Activities.Presentation.ViewState System.Activities.Presentation System.Activities.Statements System.Activities
    System.Workflow.Runtime System.Activities.Statements.Tracking System.Activities System.Activities.Tracking System.Activities
    System.Workflow.Runtime System.Activities.Validation System.Activities System.Activities.XamlIntegration System.Activities System.AddIn System.AddIn System.AddIn.Contract System.AddIn.Contract System.AddIn.Contract.Automation System.AddIn.Contract System.AddIn.Contract.Collections System.AddIn.Contract System.AddIn.Hosting System.AddIn System.AddIn.Pipeline System.AddIn.Contract
    System.AddIn
    System.Windows.Presentation System.CodeDom System System.CodeDom.Compiler System System.Collections mscorlib System.Collections.Concurrent mscorlib
    System System.Collections.Generic mscorlib
    System
    System.Core
    System.ServiceModel System.Collections.Immutable System.Collections.Immutable System.Collections.ObjectModel mscorlib
    System System.Collections.Specialized System
    WindowsBase System.ComponentModel System
    PresentationFramework
    WindowsBase System.ComponentModel.Composition System.ComponentModel.Composition System.ComponentModel.Composition.Hosting System.ComponentModel.Composition System.ComponentModel.Composition.Primitives System.ComponentModel.Composition System.ComponentModel.Composition.ReflectionModel System.ComponentModel.Composition System.ComponentModel.DataAnnotations System.ComponentModel.DataAnnotations System.ComponentModel.DataAnnotations.Schema System.ComponentModel.DataAnnotations System.ComponentModel.Design System System.ComponentModel.Design.Serialization System System.Configuration System
    System.Configuration System.Configuration.Assemblies mscorlib System.Configuration.Internal System.Configuration System.Configuration.Provider System.Configuration System.Data System.Data
    System.Data.Entity
    System.Data.DataSetExtensions System.Data.Common System.Data
    System.Data.Entity System.Data.Common.CommandTrees System.Data.Entity System.Data.Common.CommandTrees.ExpressionBuilder System.Data.Entity System.Data.Common.CommandTrees.ExpressionBuilder.Spatial System.Data.Entity System.Data.Common.EntitySql System.Data.Entity System.Data.EntityClient System.Data.Entity System.Data.Linq System.Data.Linq System.Data.Linq.Mapping System.Data.Linq System.Data.Linq.SqlClient System.Data.Linq System.Data.Linq.SqlClient.Implementation System.Data.Linq System.Data.Mapping System.Data.Entity System.Data.Metadata.Edm System.Data.Entity System.Data.Objects System.Data.Entity System.Data.Objects.DataClasses System.Data.Entity System.Data.Objects.SqlClient System.Data.Entity System.Data.Odbc System.Data System.Data.OleDb System.Data System.Data.Services System.Data.Services System.Data.Services.Client System.Data.Services.Client System.Data.Services.Common System.Data.Services.Client System.Data.Services.Configuration System.Data.Services System.Data.Services.Internal System.Data.Services System.Data.Services.Providers System.Data.Services System.Data.Spatial System.Data.Entity System.Data.Sql System.Data System.Data.SqlClient System.Data
    System.Data.Entity System.Data.SqlTypes System.Data System.Deployment.Internal mscorlib System.Device.Location System.Device System.Diagnostics mscorlib
    System
    System.Core
    WindowsBase System.Diagnostics.CodeAnalysis mscorlib
    System System.Diagnostics.Contracts mscorlib System.Diagnostics.Contracts.Internal mscorlib System.Diagnostics.Eventing System.Core System.Diagnostics.Eventing.Reader System.Core System.Diagnostics.PerformanceData System.Core System.Diagnostics.SymbolStore mscorlib System.Diagnostics.Tracing mscorlib System.DirectoryServices System.DirectoryServices System.DirectoryServices.AccountManagement System.DirectoryServices.AccountManagement System.DirectoryServices.ActiveDirectory System.DirectoryServices System.DirectoryServices.Protocols System.DirectoryServices.Protocols System.Drawing System.Drawing System.Drawing.Configuration System.Drawing System.Drawing.Design System.Drawing System.Drawing.Drawing2D System.Drawing System.Drawing.Imaging System.Drawing System.Drawing.Printing System.Drawing System.Drawing.Text System.Drawing System.Dynamic System.Core System.EnterpriseServices System.EnterpriseServices System.EnterpriseServices.CompensatingResourceManager System.EnterpriseServices System.EnterpriseServices.Internal System.EnterpriseServices System.Globalization mscorlib System.IdentityModel System.IdentityModel System.IdentityModel.Claims System.IdentityModel System.IdentityModel.Configuration System.IdentityModel System.IdentityModel.Metadata System.IdentityModel System.IdentityModel.Policy System.IdentityModel System.IdentityModel.Protocols.WSTrust System.IdentityModel System.IdentityModel.Selectors System.IdentityModel
    System.IdentityModel.Selectors System.IdentityModel.Services System.IdentityModel.Services System.IdentityModel.Services.Configuration System.IdentityModel.Services System.IdentityModel.Services.Tokens System.IdentityModel.Services System.IdentityModel.Tokens System.IdentityModel System.IO mscorlib
    System
    System.Core
    System.ServiceModel
    WindowsBase System.IO.Compression System
    System.IO.Compression
    System.IO.Compression.FileSystem System.IO.IsolatedStorage mscorlib System.IO.Log System.IO.Log System.IO.MemoryMappedFiles System.Core System.IO.Packaging PresentationCore
    WindowsBase System.IO.Pipes System.Core System.IO.Ports System System.Linq System.Core
    System.Collections.Immutable System.Linq.Expressions System.Core System.Management System.Management System.Management.Instrumentation System.Core
    System.Management
    System.Management.Instrumentation System.Media System System.Messaging System.Messaging System.Messaging.Design System.Messaging System.Net System
    System.Net System.Net.Cache System System.Net.Configuration System System.Net.Http System.Net.Http
    System.Net.Http.WebRequest System.Net.Http.Headers System.Net.Http System.Net.Mail System System.Net.Mime System System.Net.NetworkInformation System System.Net.PeerToPeer System.Net System.Net.PeerToPeer.Collaboration System.Net System.Net.Security System System.Net.Sockets System
    System.Net System.Net.WebSockets System System.Numerics System.Numerics System.Printing ReachFramework
    System.Printing System.Printing.IndexedProperties System.Printing System.Printing.Interop ReachFramework System.Reflection mscorlib
    System
    System.Reflection.Metadata System.Reflection.Context System.Reflection.Context System.Reflection.Emit mscorlib System.Reflection.Metadata System.Reflection.Metadata System.Reflection.Metadata.Ecma335 System.Reflection.Metadata System.Reflection.PortableExecutable System.Reflection.Metadata System.Resources mscorlib
    System.Windows.Forms System.Runtime mscorlib System.Runtime.Caching System.Runtime.Caching System.Runtime.Caching.Configuration System.Runtime.Caching System.Runtime.Caching.Hosting System.Runtime.Caching System.Runtime.CompilerServices mscorlib
    System.Core System.Runtime.ConstrainedExecution mscorlib System.Runtime.DesignerServices mscorlib System.Runtime.DurableInstancing System.Runtime.DurableInstancing System.Runtime.ExceptionServices mscorlib System.Runtime.Hosting mscorlib System.Runtime.InteropServices mscorlib
    System
    System.Core System.Runtime.InteropServices.ComTypes mscorlib
    System System.Runtime.InteropServices.Expando mscorlib System.Runtime.InteropServices.WindowsRuntime mscorlib System.Runtime.Remoting mscorlib System.Runtime.Remoting.Activation mscorlib System.Runtime.Remoting.Channels mscorlib
    System.Runtime.Remoting System.Runtime.Remoting.Channels.Http System.Runtime.Remoting System.Runtime.Remoting.Channels.Ipc System.Runtime.Remoting System.Runtime.Remoting.Channels.Tcp System.Runtime.Remoting System.Runtime.Remoting.Contexts mscorlib System.Runtime.Remoting.Lifetime mscorlib System.Runtime.Remoting.Messaging mscorlib System.Runtime.Remoting.Metadata mscorlib System.Runtime.Remoting.Metadata.W3cXsd2001 mscorlib System.Runtime.Remoting.MetadataServices System.Runtime.Remoting System.Runtime.Remoting.Proxies mscorlib System.Runtime.Remoting.Services mscorlib
    System.Runtime.Remoting System.Runtime.Serialization mscorlib
    System.Runtime.Serialization System.Runtime.Serialization.Configuration System.Runtime.Serialization System.Runtime.Serialization.Formatters mscorlib System.Runtime.Serialization.Formatters.Binary mscorlib System.Runtime.Serialization.Formatters.Soap System.Runtime.Serialization.Formatters.Soap System.Runtime.Serialization.Json System.Runtime.Serialization System.Runtime.Versioning mscorlib
    System System.Security mscorlib
    System.Core System.Security.AccessControl mscorlib
    System System.Security.Authentication System System.Security.Authentication.ExtendedProtection System System.Security.Authentication.ExtendedProtection.Configuration System System.Security.Claims mscorlib
    System
    System.IdentityModel System.Security.Cryptography mscorlib
    System
    System.Core
    System.Security System.Security.Cryptography.Pkcs System.Security System.Security.Cryptography.X509Certificates mscorlib
    System
    System.Core
    System.Security System.Security.Cryptography.Xml System.Security System.Security.Permissions mscorlib
    System
    System.Security
    WindowsBase System.Security.Policy mscorlib System.Security.Principal mscorlib System.Security.RightsManagement WindowsBase System.ServiceModel System.ServiceModel
    System.ServiceModel.Activation
    System.ServiceModel.Activities
    System.ServiceModel.Channels
    System.ServiceModel.Web
    System.WorkflowServices System.ServiceModel.Activation System.ServiceModel
    System.ServiceModel.Activation
    System.ServiceModel.Web
    System.WorkflowServices System.ServiceModel.Activation.Configuration System.ServiceModel System.ServiceModel.Activities System.ServiceModel.Activities System.ServiceModel.Activities.Activation System.ServiceModel.Activation System.ServiceModel.Activities.Configuration System.ServiceModel.Activities System.ServiceModel.Activities.Description System.ServiceModel.Activities
    System.WorkflowServices System.ServiceModel.Activities.Presentation System.Activities.Core.Presentation System.ServiceModel.Activities.Presentation.Factories System.Activities.Core.Presentation System.ServiceModel.Activities.Tracking System.ServiceModel.Activities System.ServiceModel.Activities.Tracking.Configuration System.ServiceModel.Activities System.ServiceModel.Channels System.ServiceModel
    System.ServiceModel.Channels
    System.ServiceModel.Web System.ServiceModel.ComIntegration System.ServiceModel System.ServiceModel.Configuration System.ServiceModel
    System.ServiceModel.Channels
    System.ServiceModel.Web
    System.WorkflowServices System.ServiceModel.Description System.ServiceModel
    System.ServiceModel.Web
    System.WorkflowServices System.ServiceModel.Diagnostics System.ServiceModel System.ServiceModel.Discovery System.ServiceModel.Discovery System.ServiceModel.Discovery.Configuration System.ServiceModel.Discovery System.ServiceModel.Discovery.Version11 System.ServiceModel.Discovery System.ServiceModel.Discovery.VersionApril2005 System.ServiceModel.Discovery System.ServiceModel.Discovery.VersionCD1 System.ServiceModel.Discovery System.ServiceModel.Dispatcher System.ServiceModel
    System.ServiceModel.Routing
    System.ServiceModel.Web
    System.WorkflowServices System.ServiceModel.MsmqIntegration System.ServiceModel System.ServiceModel.PeerResolvers System.ServiceModel System.ServiceModel.Persistence System.WorkflowServices System.ServiceModel.Routing System.ServiceModel.Routing System.ServiceModel.Routing.Configuration System.ServiceModel.Routing System.ServiceModel.Security System.IdentityModel
    System.ServiceModel System.ServiceModel.Security.Tokens System.IdentityModel
    System.ServiceModel System.ServiceModel.Syndication System.ServiceModel System.ServiceModel.Web System.ServiceModel.Web System.ServiceModel.XamlIntegration System.ServiceModel
    System.ServiceModel.Activities System.ServiceProcess System.ServiceProcess System.ServiceProcess.Design System.ServiceProcess System.Speech.AudioFormat System.Speech System.Speech.Recognition System.Speech System.Speech.Recognition.SrgsGrammar System.Speech System.Speech.Synthesis System.Speech System.Speech.Synthesis.TtsEngine System.Speech System.Text mscorlib System.Text.RegularExpressions System System.Threading mscorlib
    System
    System.Core System.Threading.Tasks mscorlib
    System.Core System.Timers System System.Transactions System.Transactions System.Transactions.Configuration System.Transactions System.Web System
    System.Web System.Web.ApplicationServices System.Web.Extensions System.Web.Caching System.Web System.Web.ClientServices System.Web.Extensions System.Web.ClientServices.Providers System.Web.Extensions System.Web.Compilation System.Web
    System.Web.Extensions System.Web.Configuration System.Web
    System.Web.ApplicationServices
    System.Web.Extensions System.Web.Configuration.Internal System.Web System.Web.DynamicData System.Web.DynamicData
    System.Web.Extensions System.Web.DynamicData.ModelProviders System.Web.DynamicData System.Web.Handlers System.Web
    System.Web.Extensions System.Web.Hosting System.Web
    System.Web.ApplicationServices System.Web.Instrumentation System.Web System.Web.Mail System.Web System.Web.Management System.Web
    System.Web.Extensions System.Web.Mobile System.Web.Mobile System.Web.ModelBinding System.Web System.Web.Profile System.Web System.Web.Query.Dynamic System.Web.Extensions System.Web.RegularExpressions System.Web.RegularExpressions System.Web.Routing System.Web System.Web.Script System.Web.Extensions System.Web.Script.Serialization System.Web.Extensions System.Web.Script.Services System.Web.Extensions System.Web.Security System.Web
    System.Web.ApplicationServices System.Web.Security.AntiXss System.Web System.Web.Services System.Web.Services System.Web.Services.Configuration System.Web.Services System.Web.Services.Description System.Web.Services System.Web.Services.Discovery System.Web.Services System.Web.Services.Protocols System.Web.Services System.Web.SessionState System.Web System.Web.UI System.Web
    System.Web.DynamicData
    System.Web.Extensions System.Web.UI.Adapters System.Web System.Web.UI.DataVisualization.Charting System.Web.DataVisualization System.Web.UI.Design.MobileControls System.Web.Mobile System.Web.UI.Design.MobileControls.Converters System.Web.Mobile System.Web.UI.Design.WebControls System.Web.Entity.Design System.Web.UI.HtmlControls System.Web System.Web.UI.MobileControls System.Web.Mobile System.Web.UI.MobileControls.Adapters System.Web.Mobile System.Web.UI.MobileControls.Adapters.XhtmlAdapters System.Web.Mobile System.Web.UI.WebControls System.Web
    System.Web.Entity
    System.Web.Extensions System.Web.UI.WebControls.Adapters System.Web System.Web.UI.WebControls.Expressions System.Web.Extensions System.Web.UI.WebControls.WebParts System.Web System.Web.Util System.Web System.Web.WebSockets System.Web System.Windows PresentationCore
    PresentationFramework
    WindowsBase System.Windows.Annotations PresentationFramework System.Windows.Annotations.Storage PresentationFramework System.Windows.Automation PresentationCore
    UIAutomationClient
    UIAutomationTypes System.Windows.Automation.Peers PresentationCore
    PresentationFramework
    WindowsFormsIntegration System.Windows.Automation.Provider UIAutomationProvider System.Windows.Automation.Text UIAutomationClient
    UIAutomationTypes System.Windows.Baml2006 PresentationFramework System.Windows.Controls PresentationFramework System.Windows.Controls.Primitives PresentationFramework System.Windows.Converters WindowsBase System.Windows.Data PresentationFramework
    WindowsBase System.Windows.Diagnostics PresentationCore System.Windows.Documents PresentationCore
    PresentationFramework
    PresentationUI System.Windows.Documents.DocumentStructures PresentationFramework System.Windows.Documents.Serialization PresentationFramework System.Windows.Forms System.Windows.Forms System.Windows.Forms.ComponentModel.Com2Interop System.Windows.Forms System.Windows.Forms.DataVisualization.Charting System.Windows.Forms.DataVisualization System.Windows.Forms.Design System.Windows.Forms System.Windows.Forms.Integration WindowsFormsIntegration System.Windows.Forms.Layout System.Windows.Forms System.Windows.Forms.PropertyGridInternal System.Windows.Forms System.Windows.Forms.VisualStyles System.Windows.Forms System.Windows.Ink PresentationCore System.Windows.Input System
    PresentationCore
    PresentationFramework
    WindowsBase System.Windows.Input.Manipulations System.Windows.Input.Manipulations System.Windows.Input.StylusPlugIns PresentationCore System.Windows.Interop PresentationCore
    PresentationFramework
    WindowsBase System.Windows.Markup System
    PresentationCore
    PresentationFramework
    System.Xaml
    WindowsBase System.Windows.Markup.Localizer PresentationFramework System.Windows.Markup.Primitives PresentationFramework
    WindowsBase System.Windows.Media PresentationCore
    PresentationFramework
    WindowsBase System.Windows.Media.Animation PresentationCore
    PresentationFramework System.Windows.Media.Converters PresentationCore
    WindowsBase System.Windows.Media.Effects PresentationCore System.Windows.Media.Imaging PresentationCore System.Windows.Media.Media3D PresentationCore System.Windows.Media.Media3D.Converters PresentationCore System.Windows.Media.TextFormatting PresentationCore System.Windows.Navigation PresentationCore
    PresentationFramework System.Windows.Resources PresentationCore
    PresentationFramework System.Windows.Shapes PresentationFramework System.Windows.Shell PresentationFramework System.Windows.Threading System.Windows.Presentation
    WindowsBase System.Windows.Xps ReachFramework
    System.Printing System.Windows.Xps.Packaging ReachFramework System.Windows.Xps.Serialization ReachFramework System.Workflow.Activities System.Workflow.Activities
    System.WorkflowServices System.Workflow.Activities.Configuration System.Workflow.Activities System.Workflow.Activities.Rules System.Workflow.Activities System.Workflow.Activities.Rules.Design System.Workflow.Activities System.Workflow.ComponentModel System.Workflow.ComponentModel System.Workflow.ComponentModel.Compiler System.Workflow.ComponentModel System.Workflow.ComponentModel.Design System.Workflow.ComponentModel System.Workflow.ComponentModel.Serialization System.Workflow.ComponentModel System.Workflow.Runtime System.Workflow.Runtime System.Workflow.Runtime.Configuration System.Workflow.Runtime System.Workflow.Runtime.DebugEngine System.Workflow.Runtime System.Workflow.Runtime.Hosting System.Workflow.Runtime
    System.WorkflowServices System.Workflow.Runtime.Tracking System.Workflow.Runtime System.Xaml System.Xaml System.Xaml.Permissions System.Xaml System.Xaml.Schema System.Xaml System.Xml System.Data
    System.Xml
    System.Runtime.Serialization System.Xml.Linq System.Xml.Linq System.Xml.Resolvers System.Xml System.Xml.Schema System.Xml
    System.Xml.Linq System.Xml.Serialization System.Xml System.Xml.Serialization.Advanced System.Xml System.Xml.Serialization.Configuration System.Xml System.Xml.XmlConfiguration System.Xml System.Xml.XPath System.Xml
    System.Xml.Linq System.Xml.Xsl System.Xml UIAutomationClientsideProviders UIAutomationClientsideProviders XamlGeneratedNamespace System.Activities.Core.Presentation
    System.Activities.Presentation