473,395 Members | 1,670 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

'Microsoft.DirectX.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.FileLoadException' occurred in
system.windows.forms.dll

Additional information: The located assembly's manifest definition with name
'Microsoft.DirectX.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\assemby\gac to a different dir and linking to them there.

Thanks.
Lee.
Nov 16 '05 #1
2 3528
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]getmarketsmartdotcom> wrote in message
news:41***********************@news.syd.swiftdsl.c om.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.FileLoadException' occurred in
system.windows.forms.dll

Additional information: The located assembly's manifest definition with name 'Microsoft.DirectX.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\assemby\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...

"Bradley1234" <so*****@yahoo.com> wrote in message
news:0Dyqd.9832$lv6.6052@trnddc03...
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]getmarketsmartdotcom> wrote in message
news:41***********************@news.syd.swiftdsl.c om.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.FileLoadException' occurred in
system.windows.forms.dll

Additional information: The located assembly's manifest definition with

name
'Microsoft.DirectX.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\assemby\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
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...
2
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... ...
6
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...
6
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...
4
by: Zoury | last post by:
look up your timezome settings... you have future posted.
2
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
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
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 ...
5
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...
0
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...

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.