porthueneme Posted February 12, 2003 Posted February 12, 2003 I installed directX 9 and then directX 9 SDK. But then when I use the .NET studio wizard to get a project started it says "The .NET assembly 'Microsoft.DirectX.dll' could not be found" Can anyone help me? Quote
*Gurus* divil Posted February 12, 2003 *Gurus* Posted February 12, 2003 Did you by any chance download the VB.NET only version of the SDK? I did this to start off with, and had all sorts of problems, including that one. I think you also have to download the developer runtime or something like that, but I just gave up and downloaded the entire SDK. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
porthueneme Posted February 12, 2003 Author Posted February 12, 2003 I don't think that I downloaded the wrong thing. Here is the link to what I downloaded. http://www.microsoft.com/downloads/details.aspx?FamilyId=124552FF-8363-47FD-8F3B-36C226E04C85&displaylang=en During the install it says C#. What else did you do to fix the problems you had? Quote
*Gurus* divil Posted February 13, 2003 *Gurus* Posted February 13, 2003 Nothing, that fixed it. It looks like you downloaded the correct thing to me, so I'm afraid I'm out of ideas. Actually, maybe you could look for the files manually - what do you have in the \windows\microsoft.net\ folder? There should be a directx one in there. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
porthueneme Posted February 13, 2003 Author Posted February 13, 2003 Thanks for your help. I did get it to work by installing the developer runtime. After searching for a while I found it. They really should tell you more up front that you need it. Thanks Quote
*Experts* Nerseus Posted February 13, 2003 *Experts* Posted February 13, 2003 I'm guessing you didn't download from the link you provided, but from this one: http://www.microsoft.com/downloads/details.aspx?FamilyID=592393a7-c677-4023-8b27-94e61141e9c6&displaylang=en This link is only for C# and requires other things to be downloaded/installed, which it does say to do but it's not in bold - you'd have to read through the first few paragraphs to get to it. I'm only mentioning this so that if someone else has the same problem (which seems fairly common), they can check to see which link they used. -Nerseus PS Come to think of it, mabye divil or some other Funky Monkey could make a sticky topic and add it to the DirectX forum... Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
*Gurus* divil Posted February 13, 2003 *Gurus* Posted February 13, 2003 Post a nice descriptive post about obtaining the various downloads of DirectX 9 there and I'll make it sticky for you :) [edit] Or just reply to the sticky thread that's already there [/edit] Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
liquid8 Posted March 4, 2003 Posted March 4, 2003 I had the same problem, and I did download the vb.net version of the SDK... I'm gonna try the full SDK tonight... LiQuiD8 Quote
Strider Posted April 13, 2003 Posted April 13, 2003 Same problem, no solution Hi folks, I also get the message "The .NET assembly 'Microsoft.DirectX.dll' could not be found" as soon as I try to open a DirectX-Project in the .NET environment. I installed the FULL DirectX 9 SDK, definitely, when I unzip the contents there is also the above missing file ! Why doesn't it get installed to the right spot ? Where should I copy it manually to get things working ? Thanks for my potential .NET - hero who solves the problem :confused: Greetz, strider Quote
Guest mutant Posted April 13, 2003 Posted April 13, 2003 Try copying it to the MS framework folder, like Divil said check the folder, and try copying the files into it, or reinstall the SDK. Quote
AndreRyan Posted April 13, 2003 Posted April 13, 2003 mdxRedist.msi, you should be able to find this file in the SDK, this is the installer for the Managed DX Assemblies Quote .Net allows software to be written for any version of Windows and not break like Unmanaged applications unless using Unmanaged procedures like APIs. If your program uses large amounts of memory but releases it when something else needs it, then what's the problem?
kojak 2003 Posted April 30, 2003 Posted April 30, 2003 I have the exact same problem! I tried double clicking mdxredist.msi and nothing happened. There are XML files are in the c:\windows\microsoft.net\managed directx\v4.09.00.0900 directory but definitely no DLLs. I presume my PC is screwed? Anything else I should try? Any other installer works fine, with no problems. S. Quote
kojak 2003 Posted April 30, 2003 Posted April 30, 2003 Oh, I am running Windows XP Pro, Service Pack 1. Strangely enough, Microsoft.DirectX.whatever appears in my Assembly Cache , yet there is definitely no microsoft.directx. * .dll files on my PC. Why is this? I will reinstall .NET again and see if that helps. S. Quote
stoulous Posted May 1, 2003 Posted May 1, 2003 I found a workaround... it's not the best solution but it work for me. Download the DirectX SDK Developer Runtime from this url http://www.microsoft.com/downloads/details.aspx?FamilyId=FB6B635E-9F47-43D7-8E4E-11DE9356849F&displaylang=en and unpack it to a temp folder. Then you can find a file called DirectX.cab in the SDKDev\Debug folder. in that file there is all the needed dll, you just have to unpack them in the \WINDOWS\Microsoft.NET\DirectX folder. The files are all the Microsoft.DirectX.*.dll. In your solution just add a reference to that files and it should work. if someone find a better solution please tell us. ++ Sam le Pirate Quote
lgkelly Posted May 3, 2003 Posted May 3, 2003 I found a workaround... it's not the best solution but it work for me. Download the DirectX SDK Developer Runtime from this url http://www.microsoft.com/downloads/details.aspx?FamilyId=FB6B635E-9F47-43D7-8E4E-11DE9356849F&displaylang=en and unpack it to a temp folder. Then you can find a file called DirectX.cab in the SDKDev\Debug folder. in that file there is all the needed dll, you just have to unpack them in the \WINDOWS\Microsoft.NET\DirectX folder. The files are all the Microsoft.DirectX.*.dll. In your solution just add a reference to that files and it should work. This solution isn't a very good one. Yeah, I would be able to create directx programs with this solution. But it doesn't help me if I gotta send my source code to others. Quote
someguy Posted May 9, 2003 Posted May 9, 2003 I had the same problem (looked all over the place online to no avail, and did multiple reinstalls), but I think I've found a decent work around. Note that I am working in Win2k. What I did was take those Microsoft.DirectX.*.dlls that you know about from the previous posts (the ones in DirectX.cab) and put them in my "C:\WINNT\Microsoft.NET\Managed DirectX\v4.09.00.0900" folder (so now there's a bunch of xml files and their associated dlls). Then I used regedit.exe to add this folder to the 'default reference path list' (or whatever it's calld) by following these steps: 1. In Windows, click the Start button, click Run, then type regedit to open the Registry Editor. 2. Select the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.0\AssemblyFolders 3. On the Edit menu, point to New, then click Key. 4. Enter a name for the key (for example, DirectXAssemblies). 5. Select the (Default) value for the key that you just added. 6. On the Edit menu, choose Modify. 7. In the Edit String dialog box, select the Value data field and enter the full path to the folder where your assemblies are located (e.g. C:\WINNT\Microsoft.NET\Managed DirectX\v4.09.00.0900). Now startup Visual Studio .Net (close it if it was opened while you made these changes) and everything _should_ work (try some of the samples that come with DirectX in order to test it out). It worked well enough for me. These steps were modified from this webpage that I found, in case you're interested: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskAddingRemovingReferences.asp Hope this helps! Quote
ThePentiumGuy Posted May 23, 2003 Posted May 23, 2003 hey DirectX 9.0a is out! hey DirectX 9.0a is out! get it from http://www.microsoft.com it fixed all my problems Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
dum-dee-dum Posted June 5, 2003 Posted June 5, 2003 Final touch ... First of all thanks for the above mentionned help... It's almost complete , actually there shouldnt be any need to edit the registry. What i did is , extract the required DirectX.dll's to a temp directory , then simply drag-drop them over to C:\WINNT\assembly . After that , it was all ok. Note : running 2k, and not using MsVstudio.net but #develop thnks again and good luck to those still having problems Quote
haard Posted June 6, 2003 Posted June 6, 2003 I have had the same problems as most of you, including the msi file taht did not run. However, everything was solved by running this file: .\SDKDev\Debug\dxdevrtm.exe from the directory I unpacked the installation file to. Hope it helps! Fredrik Quote
Tamu_Tamu Posted June 18, 2003 Posted June 18, 2003 Please help, i am melting! Yeah i tried all of the above but to no avail? Did i do something wrong did these answers work for everyone else? I'm running visual studio c# on a windows 2000 system. Every time i start a new DX project it tells me that it cannot find the Microsoft.DirectX.dll. Am i just foolish? Shoud i be laughed at? Or taken in to warm shelter and told the correct answer? many thanks for any future replies. Jax Yes thats right if you answer this with anything you get my thanks. Real selling point huh? oh o.k never mind. Quote
Liu Junfeng Posted August 11, 2003 Posted August 11, 2003 I encountered the same problem as you. Acturally you should download this: http://microsoft.com/downloads/details.aspx?FamilyId=C64E9F07-B562-4849-AD61-B2FC7FA55FD9&displaylang=en Quote
apanjocko Posted August 27, 2003 Posted August 27, 2003 no, even tried the registry thing and it didn't work for me either. surely some whacky sh#t going on :) Quote
LianaEnt Posted September 15, 2003 Posted September 15, 2003 DirectX.dll I'm running VB.Net SP1 on XP. I've tried all these downloads, searched the CAB files, looked everywhere, and still can't find DirectX.dll. When I clicked on Help in a project, it said something about running an installer which I cancelled, and the next time I clicked on Help it said something about searching for DirextX, even though this project had no links whatsoever to DirectX. I'm lost! Does anyone have a step by step procedure for properly installing DirectX, and maybe even removing the version 7 and 8 ones that never worked anyway, I'd really really really appreciate it! Thanks, Larry Quote
maxm1973 Posted September 22, 2003 Posted September 22, 2003 if you have a problem with missing Microsoft.DirectX.Dll's you need to download the following installers .. DirectX 9.0 Complete Software Development Kit (SDK) http://www.microsoft.com/downloads/details.aspx?FamilyId=124552FF-8363-47FD-8F3B-36C226E04C85&displaylang=en and (c'est tres tres importante) DirectX 9.0b Software Development Kit (SDK) for C# http://www.microsoft.com/downloads/details.aspx?FamilyID=592393a7-c677-4023-8b27-94e61141e9c6&displaylang=en run dxdevrtm.exe, then DLLs will be properly installed .. yey .. max (sera cent fois une plus puissant .. if we all work together .. oui) ^_^ Quote
Dave Dunbar Posted October 27, 2003 Posted October 27, 2003 microsoft.directx.dll missing FYI, I was having similar problems getting DirectX 9 to work in .NET. I finally discovered the dll's are located in the Directx.Cab file in the dx9sdk zipped file. The easiest way is to extract the DirectX.cab file using WinZip to a c:\Temp folder, and then copy the dlls into the PublicAssemblies folder of you current .net version. For instance on my computer it would be c:\Program Files\Microsoft Visual Studio .Net 2003\Common7\IDE\PublicAssemblies Hope this helps. Dave Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.