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 "ResolveManifes tFiles" task failed unexpectedly.
System.Argument Exception: Illegal characters in path.
at
System.Security .Permissions.Fi leIOPermission. HasIllegalChara cters(String[]
str)
at
System.Security .Permissions.Fi leIOPermission. AddPathList(Fil eIOPermissionAc cess
access, AccessControlAc tions control, String[] pathListOrig, Boolean
checkForDuplica tes, Boolean needFullPath, Boolean copyPathList)
at
System.Security .Permissions.Fi leIOPermission. .ctor(FileIOPer missionAccess
access, String[] pathList, Boolean checkForDuplica tes, Boolean needFullPath)
at System.IO.Path. GetFullPath(Str ing path)
at
Microsoft.Build .Tasks.Deployme nt.ManifestUtil ities.Util.Remo veDuplicateItem s(ITaskItem[]
items)
at
Microsoft.Build .Tasks.ResolveM anifestFiles.se t_NativeAssembl ies(ITaskItem[]
value) WindowsApplicat ion12
Error 2 The
"NativeAssembli es=@(NativeRefe renceFile);@(_D eploymentNative Prerequisite)"
parameter for the "ResolveManifes tFiles" task is invalid.
WindowsApplicat ion12
Error 3 The "ResolveManifes tFiles" task could not be initialized with its
input parameters. WindowsApplicat ion12
I need to be able to reference my com dll without making a registry entry.
how to do this?