473,791 Members | 3,275 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

'Microsoft.Dire ctX.Direct3D' does not match the assembly reference.

Hi,

I am trying to run a Direct3D tutorial, namely "hello teapot":
http://www.gotdotnet.com/team/direct...lloteapot.aspx

Unfortunately I am getting the following error when I try to run the exe or
debug:

<exception>

An unhandled exception of type 'System.IO.File LoadException' occurred in
system.windows. forms.dll

Additional information: The located assembly's manifest definition with name
'Microsoft.Dire ctX.Direct3D' does not match the assembly reference.

</exception>

Any ideas on how I can resolve this? I downloaded the DirectX SDK and then
reinstalled it without success. I also tried copying the dlls from
c:\windows\asse mby\gac to a different dir and linking to them there.

Thanks.
Lee.
Nov 16 '05 #1
2 3559
Can you get more information on the specific error?

File load exception could mean the file was not at the location (most
likely)

Check directory settings, the example could maybe use some location thats
different than your project.

What I sometimes do is simply use C:/ for the path, if there is any doubt,
Ive run the teapot on VB.net in the past and a bunch of other D3D examples,
its awesome!!
"Lee Swanson" <leeat[removethis]getmarketsmartd otcom> wrote in message
news:41******** *************** @news.syd.swift dsl.com.au...
Hi,

I am trying to run a Direct3D tutorial, namely "hello teapot":
http://www.gotdotnet.com/team/direct...lloteapot.aspx

Unfortunately I am getting the following error when I try to run the exe or debug:

<exception>

An unhandled exception of type 'System.IO.File LoadException' occurred in
system.windows. forms.dll

Additional information: The located assembly's manifest definition with name 'Microsoft.Dire ctX.Direct3D' does not match the assembly reference.

</exception>

Any ideas on how I can resolve this? I downloaded the DirectX SDK and then
reinstalled it without success. I also tried copying the dlls from
c:\windows\asse mby\gac to a different dir and linking to them there.

Thanks.
Lee.

Nov 16 '05 #2
I set up the references to the dlls myself, and they definitely exist there.

For some reason when i check the "about" info on vs.net it says it is using
the 1.0 framework, even though i have 1.1 installed...

"Bradley123 4" <so*****@yahoo. com> wrote in message
news:0Dyqd.9832 $lv6.6052@trndd c03...
Can you get more information on the specific error?

File load exception could mean the file was not at the location (most
likely)

Check directory settings, the example could maybe use some location thats
different than your project.

What I sometimes do is simply use C:/ for the path, if there is any
doubt,
Ive run the teapot on VB.net in the past and a bunch of other D3D
examples,
its awesome!!
"Lee Swanson" <leeat[removethis]getmarketsmartd otcom> wrote in message
news:41******** *************** @news.syd.swift dsl.com.au...
Hi,

I am trying to run a Direct3D tutorial, namely "hello teapot":
http://www.gotdotnet.com/team/direct...lloteapot.aspx

Unfortunately I am getting the following error when I try to run the exe

or
debug:

<exception>

An unhandled exception of type 'System.IO.File LoadException' occurred in
system.windows. forms.dll

Additional information: The located assembly's manifest definition with

name
'Microsoft.Dire ctX.Direct3D' does not match the assembly reference.

</exception>

Any ideas on how I can resolve this? I downloaded the DirectX SDK and
then
reinstalled it without success. I also tried copying the dlls from
c:\windows\asse mby\gac to a different dir and linking to them there.

Thanks.
Lee.


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
10388
by: Dr Paul A Daniels | last post by:
I've got Visual Studio 7.0.9466 and have installed the Framework 1.1 and its SDK and DirectX 9.0 (Summer 2003 release) SDK. OS is Windows XP Pro. I'm logged on with Administrator rights. I can't open the DirectX Summer release sample Direct3D tutorial solutions as I get an error saying that my VS version is too early. However, if I do a check for updates to VS, it says I'm up-to-date! I can open the tutorials from an earlier DirectX...
2
3692
by: JT | last post by:
Hi, Is there an example available online of a C# direct3d application being loaded inside a web page? I just read up a bit about web forms, and that doesn't seem like the way to do it... Thanks JT
6
9076
by: Tim Bücker | last post by:
Hello. What is the best to use? DirectDraw from DirectX 7.0 or Direct3D from DirectX 8.0 when the only thing one wants to do is to draw bitmaps fast on the screen in fullscreen mode. I think DirectX 9.0 is not a topic in C# right now when one wants to have fast access to DirectX as the type libraries for visual basic that can be used in c# only exist in DirectX7 and DirectX8, correct? Searching the net I didn´t find really useful...
6
7147
by: ammd | last post by:
Hi, I installed Microsoft DirectX 9.0 SDK (Summer 2004) but when I create a project and try to add the necessary references I can't find them. Does anybody know where to look for them? BTW, I have VS 2002. Don't know if there's an incompatibility issue. Thanks.
4
2186
by: Zoury | last post by:
look up your timezome settings... you have future posted.
2
5259
by: Diego_Atos | last post by:
I want to create objects using directX. I downloaded SDK version of DirectX. I've installed it. Which is the right dll to add to references? I can't find it. thanks -- -Diego (Atos)-
4
2874
by: Daniel | last post by:
Hey guys Anyone know if it is possible to add a button at design time and place it over the top of a directx window? For example checkboxes, standard buttons, menus etc? If so how?
5
4432
by: Jack Nielsen | last post by:
Does anyone have a link to Visual Studio 2005 directcx 2d sprite manipulation or just simple graphics with directx 2d. Jack -------------------------------------------------------------------------------- Jeg beskyttes af den gratis SPAMfighter til privatbrugere. Den har indtil videre sparet mig for at få 17573 spam-mails Betalende brugere får ikke denne besked i deres e-mails. Hent en gratis SPAMfighter her.
5
1703
by: clintonG | last post by:
Google and Second Life have proven there are market$ and economie$ in the virtual worlds they and others have created. Applications in these virtual worlds require the use of vector graphics applications which are used to design, draw, and draft the user interfaces *within* the virtual world. Note the distinction, *within* meaning not the Window where the host application runs but that which is contained within the window. This is where...
0
9517
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10428
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10207
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10156
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9997
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9030
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4110
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3718
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.