| Poster | : Duallity | | Posts | : 289 | | Country | : | | City | : |
| | | | Posted by Duallity on 14/01/2009 at 13:03:47
| | Hi guys.
I was looking for something to load models or other content at runtime, I found a sample at the creators site (http://creators.xna.com/en-us/sample/winforms_series2) which is exactly what I need. The downloaded project works fine, but I get an error even when I create a project from this existing code and only add the references needed(there is the problem)
Error message says: System.IO.FileNotFoundException was unhandled
Message="Could not load file or assembly 'Microsoft.Xna.Framework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=6d5c3888ef60e27d' or one of its dependencies. The system cannot find the file specified."
Source="asd"
FileName="Microsoft.Xna.Framework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=6d5c3888ef60e27d"
FusionLog="=== Pre-bind state information ===rnLOG: User = BETTY\AdministratorrnLOG: DisplayName = Microsoft.Xna.Framework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=6d5c3888ef60e27dn (Fully-specified)rnLOG: Appbase = file:///F:/Program Files (x86)/bin/rnLOG: Initial PrivatePath = NULLrnCalling assembly : asd, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.rn===rnLOG: This bind starts in default load context.rnLOG: Using application configuration file: F:\Program Files (x86)\bin\asd.vshost.exe.ConfigrnLOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\config\machine.config.rnLOG: Post-policy reference: Microsoft.Xna.Framework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=6d5c3888ef60e27drnLOG: The same bind was seen before, and was failed with hr = 0x80070002.rn"
StackTrace:
at WinFormsContentLoading.MainForm..ctor()
at WinFormsContentLoading.Program.Main() in F:DownloadsWinFormsContentLoadingSampleWinFormsContentLoadingProgram.cs:line 27
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
in programm.cs when starting the applicaton (Application.Run(new MainForm());)
I'm pretty stuck here, hope someone can help.
Greez
Duallity
| |
|
|