Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic A misunderstanding. (Read 8797 times)
Milo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 29
Joined: Jul 16th, 2007
A misunderstanding.
Jul 16th, 2007 at 12:21pm
Print Post  
I there a bug with the vista install??

I install the samples, and open the project, then hit f5. 

The first error is : -
=========================
System.IO.FileNotFoundException was unhandled
  Message="Could not load file or assembly 'Calendar, Version=4.2.1.19730, Culture=neutral, PublicKeyToken=9bbcdceda2685d38' or one of its dependencies. The system cannot find the file specified."
  Source="AdvancedViewers"
  FileName="Calendar, Version=4.2.1.19730, Culture=neutral, PublicKeyToken=9bbcdceda2685d38"
  FusionLog="WRN: Assembly binding logging is turned OFF.\r\nTo enable assembly bind failure logging, set the registry value [HKLM\\Software\\Microsoft\\Fusion!EnableLog] (DWORD) to 1.\r\nNote: There is some performance penalty associated with assembly bind failure logging.\r\nTo turn this feature off, remove the registry value [HKLM\\Software\\Microsoft\\Fusion!EnableLog].\r\n"
  StackTrace:
      at MindFusion.Scheduling.WinForms.Samples.CS.AdvancedViewers.MainForm..ctor()
      at MindFusion.Scheduling.WinForms.Samples.CS.AdvancedViewers.MainForm.Main() in C:\Program Files\MindFusion Limited\Planner.NET Trial Version\VS2005 (.NET 2.0)\Samples\C#\AdvancedViewers\MainForm.cs:line 123
      at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
      at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
      at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
      at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
      at System.Threading.ThreadHelper.ThreadStart()
=============================

There is obvious a ref missing, which ones do I need?

If I reference all the one that come with the sample. I get the same error...

Any ideas.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: A misunderstanding.
Reply #1 - Jul 16th, 2007 at 12:57pm
Print Post  
Open the References branch in the Solution Explorer - is there an exclamation mark displayed near any of the assemblies?

Stoyan
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: A misunderstanding.
Reply #2 - Jul 16th, 2007 at 1:01pm
Print Post  
Also try setting Copy Local = True in the property browser for all referenced Planner.NET dlls .
  
Back to top
 
IP Logged
 
Milo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 29
Joined: Jul 16th, 2007
Re: A misunderstanding.
Reply #3 - Jul 16th, 2007 at 1:18pm
Print Post  
Stoyo wrote on Jul 16th, 2007 at 12:57pm:
Open the References branch in the Solution Explorer - is there an exclamation mark displayed near any of the assemblies?

Stoyan


No all seem to load ok.
  
Back to top
 
IP Logged
 
Milo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 29
Joined: Jul 16th, 2007
Re: A misunderstanding.
Reply #4 - Jul 16th, 2007 at 1:19pm
Print Post  
Stoyo wrote on Jul 16th, 2007 at 1:01pm:
Also try setting Copy Local = True in the property browser for all referenced Planner.NET dlls .


They're all set to true.
  
Back to top
 
IP Logged
 
Milo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 29
Joined: Jul 16th, 2007
Re: A misunderstanding.
Reply #5 - Jul 16th, 2007 at 1:19pm
Print Post  
Interesting I can drop a calendar on a form and it compiles fine...


Just the samples aren't happy.
  
Back to top
 
IP Logged
 
Milo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 29
Joined: Jul 16th, 2007
Re: A misunderstanding.
Reply #6 - Jul 16th, 2007 at 1:21pm
Print Post  
Milo wrote on Jul 16th, 2007 at 1:19pm:
They're all set to true.


Getting this error now.

System.TypeInitializationException was unhandled
  Message="The type initializer for 'MindFusion.Scheduling.WinForms.PredefinedTheme' threw an exception."
  Source="Calendar"
  TypeName="MindFusion.Scheduling.WinForms.PredefinedTheme"
  StackTrace:
      at MindFusion.Scheduling.WinForms.PredefinedTheme.get_Standard()
      at MindFusion.Scheduling.WinForms.Theme.get_Standard()
      at MindFusion.Scheduling.WinForms.Calendar..ctor(CultureInfo culture)
      at MindFusion.Scheduling.WinForms.Calendar..ctor()
      at MindFusion.Scheduling.WinForms.Samples.CS.DualView.MainForm.InitializeComponent(
) in C:\Program Files\MindFusion Limited\Planner.NET Trial Version\VS2005 (.NET 2.0)\Samples\C#\DualView\MainForm.cs:line 69
      at MindFusion.Scheduling.WinForms.Samples.CS.DualView.MainForm..ctor() in C:\Program Files\MindFusion Limited\Planner.NET Trial Version\VS2005 (.NET 2.0)\Samples\C#\DualView\MainForm.cs:line 30
      at MindFusion.Scheduling.WinForms.Samples.CS.DualView.MainForm.Main() in C:\Program Files\MindFusion Limited\Planner.NET Trial Version\VS2005 (.NET 2.0)\Samples\C#\DualView\MainForm.cs:line 139
      at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
      at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
      at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
      at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
      at System.Threading.ThreadHelper.ThreadStart()
  
Back to top
 
IP Logged
 
Milo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 29
Joined: Jul 16th, 2007
Re: A misunderstanding.
Reply #7 - Jul 16th, 2007 at 1:23pm
Print Post  
OK, I've opened the form, and just Vs.net rendering it has kicked it into working...


???
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint