This documentation is archived and is not being maintained.
GenerateResource Class
Visual Studio 2010
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Implements the GenerateResource task. Use the GenerateResource element in your project file to create and execute this task. For usage and parameter information, see GenerateResource Task.
System::Object
Microsoft.Build.Utilities::Task
Microsoft.Build.Tasks::TaskExtension
Microsoft.Build.Tasks::GenerateResource
Microsoft.Build.Utilities::Task
Microsoft.Build.Tasks::TaskExtension
Microsoft.Build.Tasks::GenerateResource
Assembly: Microsoft.Build.Tasks.v4.0 (in Microsoft.Build.Tasks.v4.0.dll)
The GenerateResource type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | GenerateResource | Infrastructure. Initializes a new instance of the GenerateResource class. |
| Name | Description | |
|---|---|---|
![]() | AdditionalInputs | Gets or sets the additional inputs for the dependency checking that the GenerateResource task performs. |
![]() | BuildEngine | Gets or sets the instance of the IBuildEngine object used by the task. (Inherited from Task.) |
![]() | BuildEngine2 | Gets the instance of the IBuildEngine2 object used by the task. (Inherited from Task.) |
![]() | BuildEngine3 | Gets the instance of the IBuildEngine3 object used by the task. (Inherited from Task.) |
![]() | EnvironmentVariables | Gets or sets an array of name-value pairs of environment variables that should be passed to the spawned resgen.exe, in addition to (or selectively overriding) the regular environment block. |
![]() | ExcludedInputPaths | Gets or sets an array of items that specify paths from which tracked inputs will be ignored during Up to date checking. |
![]() | ExecuteAsTool | Property to allow multitargeting of ResolveComReferences: If true, tlbimp.exe and aximp.exe from the appropriate target framework will be run out-of-proc to generate the necessary wrapper assemblies. |
![]() | FilesWritten | Infrastructure. Gets or sets the names of all files written to disk including the cache file, if present. |
![]() | HelpKeywordPrefix | Gets or sets the prefix used to compose Help keywords from resource names. (Inherited from Task.) |
![]() | HostObject | Gets or sets the host object associated with the task. (Inherited from Task.) |
![]() | Log | Infrastructure. Gets an instance of a TaskLoggingHelperExtension containing task logging methods. (Inherited from TaskExtension.) |
![]() | MinimalRebuildFromTracking | Gets or sets a switch that specifies whether tracked incremental build will be used. If true, incremental build is turned on; otherwise, a rebuild will be forced. |
![]() | NeverLockTypeAssemblies | Infrastructure. Gets or sets a Boolean value that specifies whether to create a new AppDomain to evaluate the resources (.resx) files (true) or to create a new AppDomain only when the resources files reference a user's assembly (false). |
![]() | OutputResources | Infrastructure. Gets or sets the name of the generated files, such as .resources files. |
![]() | PublicClass | Infrastructure. Gets or sets a Boolean value that indicates whether the GenerateResource task should create a strongly typed resource class as a public class. |
![]() | References | Infrastructure. Gets or sets the references to load types in .resx files from. |
![]() | SdkToolsPath | Even though the generate resource task will do the processing in process, a logging message is still generated. This logging message will include the path to the windows SDK. Since the targets now will pass in the Windows SDK path we should use this for logging. |
![]() | Sources | Infrastructure. Gets or sets the items to convert. |
![]() | StateFile | Infrastructure. Gets or sets the path to an optional cache file that is used to speed up dependency checking of links in .resx input files. |
![]() | StronglyTypedClassName | Infrastructure. Gets or sets the class name for the strongly typed resource class. |
![]() | StronglyTypedFileName | Infrastructure. Gets or sets the filename for the source file. |
![]() | StronglyTypedLanguage | Infrastructure. Gets or sets the language to use when generating the class source for the strongly typed resource. |
![]() | StronglyTypedManifestPrefix | Gets or sets the resource namespace or manifest prefix to use in the generated class source for the strongly typed resource. |
![]() | StronglyTypedNamespace | Infrastructure. Gets or sets the namespace to use for the generated class source for the strongly typed resource. |
![]() | TaskResources | Gets or sets the culture-specific resources associated with the task. (Inherited from Task.) |
![]() | TLogReadFiles | Gets an array of items that represent the read tracking logs. |
![]() | TLogWriteFiles | Gets an array of items that represent the write tracking logs. |
![]() | ToolArchitecture | |
![]() | TrackerFrameworkPath | |
![]() | TrackerLogDirectory | Gets or sets the intermediate directory into which the tracking logs from running this task will be placed. |
![]() | TrackerSdkPath | |
![]() | TrackFileAccess | Gets or sets a switch that specifies whether we should be tracking file access patterns. |
![]() | UseSourcePath | Infrastructure. Gets or sets a Boolean value that indicates whether the input file's directory is to be used for resolving relative file paths. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Execute | Infrastructure. Executes the GenerateResource task. (Overrides Task::Execute().) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
