jerrykur

Hi,

I have a vb.net project that was translated from vb6. When I build the solution that contains the project I get dozens of warnings of the form :

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets : warning : At least one of the arguments for 'ISAXAttributes.getValueFromQName' cannot be marshaled by the runtime marshaler. Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets : warning : At least one of the arguments for 'ISAXXMLFilter.getBaseURL' cannot be marshaled by the runtime marshaler. Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets : warning : At least one of the arguments for 'ISAXXMLFilter.getSecureBaseURL' cannot be marshaled by the runtime marshaler. Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets : warning : At least one of the arguments for 'SAXXMLReader.getBaseURL' cannot be marshaled by the runtime marshaler. Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.

Any idea on what these mean and how I can resolve them



Re: Visual Studio MSBuild error message " At least one of the arguments for 'ISAXAttributes.getValue' cannot be marshaled by the runtime marshaler."

Looooooka

i have the same problem.

upgraded the application from msxml version 2.0 to version 6 and cleaned and rebuilt the thing and now i have like 65 warnings

did you manage to fix this





Re: Visual Studio MSBuild error message " At least one of the arguments for 'ISAXAttributes.getValue' cannot be marshaled by the runtime marshaler."

jerrykur

Looooooka wrote:

i have the same problem.

upgraded the application from msxml version 2.0 to version 6 and cleaned and rebuilt the thing and now i have like 65 warnings

did you manage to fix this

No, I still have this error. However, this code also uses msxml to dump items for debugging purposes. So perhaps, this is the root of the problem. If I have time I will remove the msxml code and try using the System.XML objects.

jerry





Re: Visual Studio MSBuild error message " At least one of the arguments for 'ISAXAttributes.getValue' cannot be marshaled by the runtime marshaler."

Looooooka

i removed msxml alltogether...used system.xml for xml parsing and wininet for posting files to the webserver.

it was just causing 2 many problems...not to mention machines had different versions installed.