Summary
Defines a
ITask
that generates one or more System.Runtime.CompilerServices.InternalsVisibleToAttribute
instances for inclusion in
a AssemblyInfo file.
- Namespace
- NBuildKit
.MsBuild .Tasks .Code - Base Types
graph TD
Base0["CommandLineToolTask"]-->Type
click Base0 "/nBuildKit.MsBuild/api/NBuildKit.MsBuild.Tasks.Core/CommandLineToolTask"
Base1["BaseTask"]-->Base0
click Base1 "/nBuildKit.MsBuild/api/NBuildKit.MsBuild.Tasks.Core/BaseTask"
Base2["Task"]-->Base1
Type["GenerateInternalsVisibleToAttributes"]
class Type type-node
Syntax
public sealed class GenerateInternalsVisibleToAttributes : CommandLineToolTask
Constructors
Name | Summary |
---|---|
Generate |
Initializes a new instance of the GenerateInternalsVisibleToAttributes class.
|
Generate |
Initializes a new instance of the GenerateInternalsVisibleToAttributes class.
|
Properties
Name | Value | Summary |
---|---|---|
Attribute |
string |
Gets or sets the string template for the
System.Runtime.CompilerServices.InternalsVisibleToAttribute for assemblies that are strong named.
|
Attribute |
string |
Gets or sets the string template for the
System.Runtime.CompilerServices.InternalsVisibleToAttribute for assemblies that are not strong named.
|
DefaultDataHandler | Data |
Gets the event handler that processes data from the data stream, or standard output stream, of
the command line application.By default logs a message for each output.
Inherited from CommandLineToolTask
|
DefaultErrorHandler | Data |
Gets the event handler that processes data from the data stream, or standard output stream, of
the command line application.By default logs a message for each output.
Inherited from CommandLineToolTask
|
ErrorInformation | ITaskItem[] |
Gets or sets the collection containing the error codes for the task.
Inherited from BaseTask
|
Items | ITaskItem[] |
Gets or sets the collection of items that describe which projects should have an
System.Runtime.CompilerServices.InternalsVisibleToAttribute added.
|
Log |
bool |
Gets or sets a value indicating whether the environment variables for the process should be logged.
Inherited from CommandLineToolTask
|
PackagesDirectory | ITaskItem |
Gets or sets the full path to the packages directory into which all NuGet packages are expanded.
|
Project | string |
Gets or sets the name of the project for which the
System.Runtime.CompilerServices.InternalsVisibleToAttribute should be added to the AssemblyInfo file.
|
Result | string |
Gets or sets the string containing all the
System.Runtime.CompilerServices.InternalsVisibleToAttribute instances.
|
SnExe | ITaskItem |
Gets or sets the full path to the strong name tool (sn.exe).
|
TemporaryDirectory | ITaskItem |
Gets or sets the full path to a directory into which temporary files may be created.
|
Methods
Name | Value | Summary |
---|---|---|
ErrorCodeById |
string |
Returns the error code for the given ID.
Inherited from BaseTask
|
Execute |
bool | |
GetAbsolutePath |
string |
Returns the absolute path for the given path item.
Inherited from BaseTask
|
GetAbsolutePath |
string |
Returns the absolute path for the given path item.
Inherited from BaseTask
|
GetAbsolutePath |
string |
Returns the absolute path for the given path item.
Inherited from BaseTask
|
GetFullToolPath |
string |
Returns the most complete path for the given executable tool. May return just the name of the tool if the tool path is found via the
PATH environment variable.
Inherited from CommandLineToolTask
|
GetFullToolPath |
string |
Returns the most complete path for the given executable tool. May return just the name of the tool if the tool path is found via the
PATH environment variable.
Inherited from CommandLineToolTask
|
Invoke |
int |
Invokes the command line tool at the given path with the given arguments.
Inherited from CommandLineToolTask
|
Invoke |
int |
Invokes the command line tool at the given path with the given arguments.
Inherited from CommandLineToolTask
|
Update |
void |
Updates the environment variables for the application prior to execution.
Inherited from CommandLineToolTask
|
Verbosity |
string |
Gets the verbosity that the current MsBuild instance is running at.
Inherited from BaseTask
static
|