Compiling VB.NET Code with Interop_msxml.dll & Gacutil.exe

  • Thread starter Thread starter DaveC426913
  • Start date Start date
  • Tags Tags
    Code
Click For Summary

Discussion Overview

The discussion revolves around issues encountered while compiling VB.NET code that involves the interop_msxml.dll and the use of gacutil.exe. Participants are exploring version conflicts related to adding references in Visual Studio.NET, particularly concerning different versions of the interop_msxml.dll file.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant describes their struggle with version conflicts when trying to add interop_msxml.dll as a reference in their VB.NET project.
  • Another participant suggests seeking help in Microsoft developer newsgroups for more targeted assistance.
  • There are mentions of a specific issue where the compiler cannot overwrite an existing file in the runtime folder due to two different versions of interop_msxml.dll being present.
  • A participant requests more details about the project goals and the specific error encountered to provide better assistance.
  • A link to an external VB forum is shared as a potential resource for further help.

Areas of Agreement / Disagreement

Participants do not appear to reach a consensus on the solution to the version conflict issue, and multiple perspectives on troubleshooting are presented without resolution.

Contextual Notes

The discussion highlights limitations in understanding the specific project setup and the implications of different DLL versions, which may affect the compilation process.

Who May Find This Useful

This discussion may be useful for novice developers working with VB.NET, particularly those facing similar issues with DLL references and version conflicts in their projects.

DaveC426913
Gold Member
2025 Award
Messages
24,551
Reaction score
8,869
If anyone has some experience with the following (even if you're not an expert), I would really appreciate talking to you (I am a novice):
Visual Studio.Net
Visual Basic.NET
adding a reference
interop_msxml.dll
gacutil.exe

Basically, I am trying to compile a bare-bones snippet of code and seem to be running into some sort of version conflict when adding the dll as a reference.

I've tried a couple of fora about this (Windows Media, The Code Project, Tek Tips), but I'm not getting any traffic.

If you can't offer advice, could you point me to somewhere/one that could?

Help!
 
Technology news on Phys.org
Try asking your questions on one of the microsoft dev news groups.

microsoft.public.dotnet.languages.vb
 
My MS isn't working right now, big surprise. But if I remember correctly if you go to the panel on the right that shows all the files in the project you can right click and then "add file to project".
 
nbo10 said:
My MS isn't working right now, big surprise. But if I remember correctly if you go to the panel on the right that shows all the files in the project you can right click and then "add file to project".
Yeah, sorry, not that much of a novice.

My application wants a reference to interop_msxml. If I add that reference to the project, it will automagically create that file in the runtime folder. When I go to compile, it turns around and tells me that it can't copy the file tot eh runtime folder since it would overwrite the existing file.

There are two versions of the file giving me trouble, I just don't understand how. They're not even the same filename:
interop_msxml.dll v2.0.0.0
interop.MSXML.dll v9.0.0.3963
 
Dave, have you solved this yet? if so what happened? If not, could you list more of the project goals and what you did to get the error? I could attempt to setup a VS.net project but need more info. VS.net is smart and could be adding references automatically
 

Similar threads

Replies
6
Views
4K
  • · Replies 20 ·
Replies
20
Views
3K
Replies
6
Views
2K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 22 ·
Replies
22
Views
7K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K