Thank you for your help.I searched online about the title, but I cannot solve it, so I would like to ask you.
We are developing in the following environments.
When you build a project, you get the following warning:
Processing COM reference "MSXML2" from path "C:\Windows\System32\msxml3.dll".At least one of the arguments in 'SAXXMLReader60.getSecureBaseURL' cannot be marshalled in runtime marshal. These arguments are therefore passed as pointers and require the use of an unsafe code.
I tried to change to Microsoft XML, v6.0 in Add Reference, but the warning never disappears.
We are using MSXML2 for the following:
Imports MSXML2
'Omitted
Dim ServerXML As New MSXML2.ServerXMLHTTP60()
ServerXML.open("Get", apistr, False)
ServerXML.send()
Also, I tried reading the following website, but honestly, I am not sure if it is related to this issue.
https://blogs.msdn.microsoft.com/jpsql/2016/11/25/howtouse_msxml2domdocument/
https://msdn.microsoft.com/ja-jp/library/ms753751.aspx
Please let me know how I can erase the warning.
Thank you for your cooperation.
vb.net com
I was able to confirm that System.Xml is also possible.
Regarding the alert I asked, I responded with the answer at 8 on the following site.
https://stackoverflow.com/questions/269063
Answer at 8 on the following site
Assume that 8
had 8 votes in 2017, and quote and translate the highly rated answers.
I added the following key to the property group of each build configuration:
Added the following keys to the Build Configuration property group (in csproj):
<ResolveComReferenceSilent>True</ResolveComReferenceSilent>
This post was edited based on @Tom's Comment and posted as Community Wiki.This post was edited based on @Tom's Comment and posted as Community Wiki.
© 2024 OneMinuteCode. All rights reserved.