Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30560: 'DOMDocument' is ambiguous in the namespace 'MSXML'.


does anyone knows how to fix those errors?

thanks.
testn1Asked:
Who is Participating?
 
rohanpandyaConnect With a Mentor Commented:
sorry use System.Xml.XmlDocumet. This error come beacuase you might be use System.Word dll or other XML related namespace which has same document method so use full namespace
0
 
rohanpandyaCommented:
simply use XML.XMLDocument instend of XMLdocument error will solve.
0
 
testn1Author Commented:
ok.. so... what about this one:

 BC30560: 'Dictionary' is ambiguous in the namespace 'Scripting'.
0
 
s_sansanwalCommented:
Use
Scripting.Dictionary
Instead of
Dictionary alone

Cheers
S Sansanwal
0
 
ptmcompCommented:
Or define an alias:
using ScriptDict = Scripting.Dictionary;
Then use ScriptDict
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.