Package microsoft.build.tasks
Class ResolveAssemblyReference
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.build.utilities.Task
-
- microsoft.build.tasks.TaskExtension
-
- microsoft.build.tasks.ResolveAssemblyReference
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class ResolveAssemblyReference extends TaskExtension
The base .NET class managing Microsoft.Build.Tasks.ResolveAssemblyReference, Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.See: https://docs.microsoft.com/en-us/dotnet/api/Microsoft.Build.Tasks.ResolveAssemblyReference
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic String
assemblyShortName
Assembly name: Microsoft.Build.Tasks.v4.0static String
className
Qualified class name: Microsoft.Build.Tasks.ResolveAssemblyReferencestatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ResolveAssemblyReference()
ResolveAssemblyReference(Object instance)
Internal constructor.
-
Method Summary
-
Methods inherited from class microsoft.build.tasks.TaskExtension
getLog
-
Methods inherited from class microsoft.build.utilities.Task
getBuildEngine, getBuildEngine2, getBuildEngine3, getBuildEngine4, getHostObject, setBuildEngine, setHostObject
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: Microsoft.Build.Tasks.v4.0- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: Microsoft.Build.Tasks.ResolveAssemblyReference- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ResolveAssemblyReference
public ResolveAssemblyReference(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
ResolveAssemblyReference
public ResolveAssemblyReference() throws Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classTaskExtension
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classTaskExtension
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classTaskExtension
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classTaskExtension
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classTaskExtension
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classTaskExtension
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ResolveAssemblyReference cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoResolveAssemblyReference
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ResolveAssemblyReference
instance- Throws:
Throwable
- in case of error during cast operation
-
Execute
public boolean Execute() throws Throwable, ArgumentNullException, ArgumentException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NullReferenceException, OutOfMemoryException, MissingMethodException, TargetInvocationException, AccessViolationException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, SecurityException, EndOfStreamException, KeyNotFoundException, SerializationException, RankException, BadImageFormatException
- Overrides:
Execute
in classTask
- Throws:
Throwable
ArgumentNullException
ArgumentException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
ArgumentOutOfRangeException
NotSupportedException
IndexOutOfRangeException
CultureNotFoundException
InvalidOperationException
NullReferenceException
OutOfMemoryException
MissingMethodException
TargetInvocationException
AccessViolationException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
SecurityException
EndOfStreamException
KeyNotFoundException
SerializationException
RankException
BadImageFormatException
-
getCopyLocalDependenciesWhenParentReferenceInGac
public boolean getCopyLocalDependenciesWhenParentReferenceInGac() throws Throwable
- Throws:
Throwable
-
setCopyLocalDependenciesWhenParentReferenceInGac
public void setCopyLocalDependenciesWhenParentReferenceInGac(boolean CopyLocalDependenciesWhenParentReferenceInGac) throws Throwable
- Throws:
Throwable
-
setFindDependencies
public void setFindDependencies(boolean FindDependencies) throws Throwable
- Throws:
Throwable
-
setFindRelatedFiles
public void setFindRelatedFiles(boolean FindRelatedFiles) throws Throwable
- Throws:
Throwable
-
setFindSatellites
public void setFindSatellites(boolean FindSatellites) throws Throwable
- Throws:
Throwable
-
getFindSerializationAssemblies
public boolean getFindSerializationAssemblies() throws Throwable
- Throws:
Throwable
-
setFindSerializationAssemblies
public void setFindSerializationAssemblies(boolean FindSerializationAssemblies) throws Throwable
- Throws:
Throwable
-
getIgnoreDefaultInstalledAssemblySubsetTables
public boolean getIgnoreDefaultInstalledAssemblySubsetTables() throws Throwable
- Throws:
Throwable
-
setIgnoreDefaultInstalledAssemblySubsetTables
public void setIgnoreDefaultInstalledAssemblySubsetTables(boolean IgnoreDefaultInstalledAssemblySubsetTables) throws Throwable
- Throws:
Throwable
-
getIgnoreDefaultInstalledAssemblyTables
public boolean getIgnoreDefaultInstalledAssemblyTables() throws Throwable
- Throws:
Throwable
-
setIgnoreDefaultInstalledAssemblyTables
public void setIgnoreDefaultInstalledAssemblyTables(boolean IgnoreDefaultInstalledAssemblyTables) throws Throwable
- Throws:
Throwable
-
getIgnoreTargetFrameworkAttributeVersionMismatch
public boolean getIgnoreTargetFrameworkAttributeVersionMismatch() throws Throwable
- Throws:
Throwable
-
setIgnoreTargetFrameworkAttributeVersionMismatch
public void setIgnoreTargetFrameworkAttributeVersionMismatch(boolean IgnoreTargetFrameworkAttributeVersionMismatch) throws Throwable
- Throws:
Throwable
-
getIgnoreVersionForFrameworkReferences
public boolean getIgnoreVersionForFrameworkReferences() throws Throwable
- Throws:
Throwable
-
setIgnoreVersionForFrameworkReferences
public void setIgnoreVersionForFrameworkReferences(boolean IgnoreVersionForFrameworkReferences) throws Throwable
- Throws:
Throwable
-
setAssemblyFiles
public void setAssemblyFiles(ITaskItem[] AssemblyFiles) throws Throwable
- Throws:
Throwable
-
getFilesWritten
public final ITaskItem[] getFilesWritten() throws Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotSupportedException
-
setFilesWritten
public void setFilesWritten(ITaskItem[] FilesWritten) throws Throwable
- Throws:
Throwable
-
getFullFrameworkAssemblyTables
public final ITaskItem[] getFullFrameworkAssemblyTables() throws Throwable
- Throws:
Throwable
-
setFullFrameworkAssemblyTables
public void setFullFrameworkAssemblyTables(ITaskItem[] FullFrameworkAssemblyTables) throws Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getInstalledAssemblySubsetTables
public final ITaskItem[] getInstalledAssemblySubsetTables() throws Throwable
- Throws:
Throwable
-
setInstalledAssemblySubsetTables
public void setInstalledAssemblySubsetTables(ITaskItem[] InstalledAssemblySubsetTables) throws Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getInstalledAssemblyTables
public final ITaskItem[] getInstalledAssemblyTables() throws Throwable
- Throws:
Throwable
-
setInstalledAssemblyTables
public void setInstalledAssemblyTables(ITaskItem[] InstalledAssemblyTables) throws Throwable
- Throws:
Throwable
-
getResolvedDependencyFiles
public final ITaskItem[] getResolvedDependencyFiles() throws Throwable
- Throws:
Throwable
-
getResolvedSDKReferences
public final ITaskItem[] getResolvedSDKReferences() throws Throwable
- Throws:
Throwable
-
setResolvedSDKReferences
public void setResolvedSDKReferences(ITaskItem[] ResolvedSDKReferences) throws Throwable
- Throws:
Throwable
-
getSerializationAssemblyFiles
public final ITaskItem[] getSerializationAssemblyFiles() throws Throwable
- Throws:
Throwable
-
getSuggestedRedirects
public final ITaskItem[] getSuggestedRedirects() throws Throwable
- Throws:
Throwable
-
setAppConfigFile
public void setAppConfigFile(String AppConfigFile) throws Throwable
- Throws:
Throwable
-
setProfileName
public void setProfileName(String ProfileName) throws Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getTargetedRuntimeVersion
public String getTargetedRuntimeVersion() throws Throwable
- Throws:
Throwable
-
setTargetedRuntimeVersion
public void setTargetedRuntimeVersion(String TargetedRuntimeVersion) throws Throwable
- Throws:
Throwable
-
getTargetFrameworkMoniker
public String getTargetFrameworkMoniker() throws Throwable
- Throws:
Throwable
-
setTargetFrameworkMoniker
public void setTargetFrameworkMoniker(String TargetFrameworkMoniker) throws Throwable
- Throws:
Throwable
-
getTargetFrameworkMonikerDisplayName
public String getTargetFrameworkMonikerDisplayName() throws Throwable
- Throws:
Throwable
-
setTargetFrameworkMonikerDisplayName
public void setTargetFrameworkMonikerDisplayName(String TargetFrameworkMonikerDisplayName) throws Throwable
- Throws:
Throwable
-
getTargetFrameworkVersion
public String getTargetFrameworkVersion() throws Throwable
- Throws:
Throwable
-
setTargetFrameworkVersion
public void setTargetFrameworkVersion(String TargetFrameworkVersion) throws Throwable
- Throws:
Throwable
-
getTargetProcessorArchitecture
public String getTargetProcessorArchitecture() throws Throwable
- Throws:
Throwable
-
setTargetProcessorArchitecture
public void setTargetProcessorArchitecture(String TargetProcessorArchitecture) throws Throwable
- Throws:
Throwable
-
getWarnOrErrorOnTargetArchitectureMismatch
public String getWarnOrErrorOnTargetArchitectureMismatch() throws Throwable
- Throws:
Throwable
-
setWarnOrErrorOnTargetArchitectureMismatch
public void setWarnOrErrorOnTargetArchitectureMismatch(String WarnOrErrorOnTargetArchitectureMismatch) throws Throwable, ArgumentNullException, ArgumentException, FormatException, InvalidCastException, ArgumentOutOfRangeException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, ObjectDisposedException, CultureNotFoundException, NullReferenceException
-
getAllowedAssemblyExtensions
public String[] getAllowedAssemblyExtensions() throws Throwable
- Throws:
Throwable
-
setAllowedAssemblyExtensions
public void setAllowedAssemblyExtensions(String[] AllowedAssemblyExtensions) throws Throwable
- Throws:
Throwable
-
getAllowedRelatedFileExtensions
public String[] getAllowedRelatedFileExtensions() throws Throwable
- Throws:
Throwable
-
setAllowedRelatedFileExtensions
public void setAllowedRelatedFileExtensions(String[] AllowedRelatedFileExtensions) throws Throwable
- Throws:
Throwable
-
getCandidateAssemblyFiles
public String[] getCandidateAssemblyFiles() throws Throwable
- Throws:
Throwable
-
setCandidateAssemblyFiles
public void setCandidateAssemblyFiles(String[] CandidateAssemblyFiles) throws Throwable
- Throws:
Throwable
-
getFullFrameworkFolders
public String[] getFullFrameworkFolders() throws Throwable
- Throws:
Throwable
-
setFullFrameworkFolders
public void setFullFrameworkFolders(String[] FullFrameworkFolders) throws Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getFullTargetFrameworkSubsetNames
public String[] getFullTargetFrameworkSubsetNames() throws Throwable
- Throws:
Throwable
-
setFullTargetFrameworkSubsetNames
public void setFullTargetFrameworkSubsetNames(String[] FullTargetFrameworkSubsetNames) throws Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getLatestTargetFrameworkDirectories
public String[] getLatestTargetFrameworkDirectories() throws Throwable
- Throws:
Throwable
-
setLatestTargetFrameworkDirectories
public void setLatestTargetFrameworkDirectories(String[] LatestTargetFrameworkDirectories) throws Throwable
- Throws:
Throwable
-
getTargetFrameworkDirectories
public String[] getTargetFrameworkDirectories() throws Throwable
- Throws:
Throwable
-
setTargetFrameworkDirectories
public void setTargetFrameworkDirectories(String[] TargetFrameworkDirectories) throws Throwable
- Throws:
Throwable
-
getTargetFrameworkSubsets
public String[] getTargetFrameworkSubsets() throws Throwable
- Throws:
Throwable
-
setTargetFrameworkSubsets
public void setTargetFrameworkSubsets(String[] TargetFrameworkSubsets) throws Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
-