CreateRiaClientFilesTask Class

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Custom MSBuild task to generate client proxy classes from server's entities and business objects

Inheritance Hierarchy

System.Object
  Microsoft.Build.Utilities.Task
    Microsoft.ServiceModel.DomainServices.Tools.RiaClientFilesTask
      Microsoft.ServiceModel.DomainServices.Tools.CreateRiaClientFilesTask

Namespace:  Microsoft.ServiceModel.DomainServices.Tools
Assembly:  Microsoft.ServiceModel.DomainServices.Tools (in Microsoft.ServiceModel.DomainServices.Tools.dll)

Syntax

'Declaration
Public Class CreateRiaClientFilesTask _
    Inherits RiaClientFilesTask
'Usage
Dim instance As CreateRiaClientFilesTask
public class CreateRiaClientFilesTask : RiaClientFilesTask
public ref class CreateRiaClientFilesTask : public RiaClientFilesTask
type CreateRiaClientFilesTask =  
    class
        inherit RiaClientFilesTask
    end
public class CreateRiaClientFilesTask extends RiaClientFilesTask

The CreateRiaClientFilesTask type exposes the following members.

Constructors

  Name Description
Public method CreateRiaClientFilesTask Creates and instance of the CreateRiaClientFilesTask class.

Top

Properties

  Name Description
Public property BuildEngine (Inherited from Task.)
Public property BuildEngine2 (Inherited from Task.)
Public property BuildEngine3 (Inherited from Task.)
Public property BuildEngine4 (Inherited from Task.)
Public property ClientAssemblySearchPaths Gets or sets a value containing the paths to search for client assemblies when it is necessary to locate referenced assemblies.
Public property ClientFrameworkPath Gets or sets the full path to the targeted framework for the client.
Protected property ClientProjectDirectory Gets the absolute path to the project running this task. (Inherited from RiaClientFilesTask.)
Public property ClientProjectPath Gets or sets the path to the client project currently running this task. (Inherited from RiaClientFilesTask.)
Public property ClientProjectRootNamespace Gets or sets root namespace of the client project.
Public property ClientReferenceAssemblies Gets or sets the list of reference assemblies used to build the server assemblies.
Public property ClientSourceFiles Gets or sets the list of source files used by the client project (i.e. the @(Compile) item collection)
Public property CodeGeneratorName Gets or sets the name of the code generator to use.
Public property CopiedFiles Gets the list of shared files that have been copied into the client project
Public property GeneratedFiles Gets the list of code files created by this task.
Public property HasLoggedErrors Gets a value that indicates whether any errors were logged. (Inherited from RiaClientFilesTask.)
Protected property HelpKeywordPrefix (Inherited from Task.)
Public property HostObject (Inherited from Task.)
Public property IsClientApplication Gets the string form of a boolean that indicates whether the client project is an application.
Public property Language Gets or sets the language in which to generate the client proxies.
Public property LinkedFiles Gets the list of files shared with the server project(s) via file links.
Public property LiveIntellisense Gets or sets a value that indicates whether this is a build specifically for Live Intellisense that should not affect artifacts used by a real build. (Inherited from RiaClientFilesTask.)
Public property Log (Inherited from Task.)
Protected property OutputDirectory Gets the absolute path of the output directory. (Inherited from RiaClientFilesTask.)
Public property OutputPath Gets or sets the path where ancillary temporary files should go. (Inherited from RiaClientFilesTask.)
Public property ServerAssemblies Gets or sets the list of core server assemblies to analyze to extract the business objects
Public property ServerProjectPath Gets or sets the path to the server's project file
Public property ServerReferenceAssemblies Gets or sets the list of reference assemblies used to build the server assemblies
Public property SharedFiles Gets the list of files copied by this task from the server project(s)
Protected property TaskResources (Inherited from Task.)
Public property UseFullTypeNames Gets or sets a value indicating whether the code generator should generate fully qualified type names.

Top

Methods

  Name Description
Protected method DeleteCodeGenMetafileLists Deletes the breadcrumb files created to track files written on prior pass. (Inherited from RiaClientFilesTask.)
Protected method DeleteFolderIfEmpty Deletes the specified folder if it is empty. (Inherited from RiaClientFilesTask.)
Public method Equals (Inherited from Object.)
Public method Execute Implements the normal tasks execution entry point method used by the product infrastructure. (Inherited from RiaClientFilesTask.)
Protected method ExecuteInternal Invoked by MSBuild to run this task (Overrides RiaClientFilesTask.ExecuteInternal().)
Protected method FilesPreviouslyWritten Returns the collection of full file names written previously by the last code generation pass. (Inherited from RiaClientFilesTask.)
Protected method Finalize (Inherited from Object.)
Protected method GetFullPathRelativeToDirectory Resolves a potentially relative path and a root directory to a full path. (Inherited from RiaClientFilesTask.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method LogError(String) Logs the specified error message to the logger associated with this task. (Inherited from RiaClientFilesTask.)
Public method LogError(String, String, String, String, String, Int32, Int32, Int32, Int32) Logs the specified message as a warning, together with information about the source location. (Inherited from RiaClientFilesTask.)
Public method LogMessage Logs the given informational message to the logger associated with this task. (Inherited from RiaClientFilesTask.)
Public method LogWarning(String) Logs the specified message as a warning. (Inherited from RiaClientFilesTask.)
Public method LogWarning(String, String, String, String, String, Int32, Int32, Int32, Int32) Logs the given message as a warning, together with information about the source location. (Inherited from RiaClientFilesTask.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method NormalizeProjectPaths Helper method to convert input project paths to full path names. (Overrides RiaClientFilesTask.NormalizeProjectPaths().)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.ServiceModel.DomainServices.Tools Namespace