D
DR
when i reference a com object by regsvr32 it then find it in the COM tab,
it works ok. but when i reference a com object by referencing the .dll file
i get this error in my C# application:
Error 1 The "ResolveManifestFiles" task failed unexpectedly.
System.ArgumentException: Illegal characters in path.
at
System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String[]
str)
at
System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess
access, AccessControlActions control, String[] pathListOrig, Boolean
checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at
System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess
access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.Path.GetFullPath(String path)
at
Microsoft.Build.Tasks.Deployment.ManifestUtilities.Util.RemoveDuplicateItems(ITaskItem[]
items)
at
Microsoft.Build.Tasks.ResolveManifestFiles.set_NativeAssemblies(ITaskItem[]
value) WindowsApplication12
Error 2 The
"NativeAssemblies=@(NativeReferenceFile);@(_DeploymentNativePrerequisite)"
parameter for the "ResolveManifestFiles" task is invalid.
WindowsApplication12
Error 3 The "ResolveManifestFiles" task could not be initialized with its
input parameters. WindowsApplication12
I need to be able to reference my com dll without making a registry entry.
how to do this?
it works ok. but when i reference a com object by referencing the .dll file
i get this error in my C# application:
Error 1 The "ResolveManifestFiles" task failed unexpectedly.
System.ArgumentException: Illegal characters in path.
at
System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String[]
str)
at
System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess
access, AccessControlActions control, String[] pathListOrig, Boolean
checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at
System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess
access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.Path.GetFullPath(String path)
at
Microsoft.Build.Tasks.Deployment.ManifestUtilities.Util.RemoveDuplicateItems(ITaskItem[]
items)
at
Microsoft.Build.Tasks.ResolveManifestFiles.set_NativeAssemblies(ITaskItem[]
value) WindowsApplication12
Error 2 The
"NativeAssemblies=@(NativeReferenceFile);@(_DeploymentNativePrerequisite)"
parameter for the "ResolveManifestFiles" task is invalid.
WindowsApplication12
Error 3 The "ResolveManifestFiles" task could not be initialized with its
input parameters. WindowsApplication12
I need to be able to reference my com dll without making a registry entry.
how to do this?