From: [email protected] 
[mailto:[email protected]] On Behalf Of Robert Jordan
Sent: Friday, August 26, 2011 10:29 AM
>>>> I have a project written in Visual Studio 2010, using the .NET
>>>> 4.0
>>>> client framework. The executable it produces does not run/open in 
>>>> Mono. I then open the project in MonoDevelop (2.4), keep the same 
>>>> runtime target, set up the command lines I need in the environment, 
>>>> and build the project. This runs just fine.
>>>
>>> Please specify "does not/run open".
>>>
>>> Robert
>>
>> Sorry, I should have known better.
>>
>> Here's the error:
>>      Unhandled Exception: System.TypeLoadException: Could not load type
>>      'PluginProgram.Program' from assembly 'PluginTestProgram, 
>> Version=1.0.0.0,
>>      Culture=neutral, PublicKeyToken=null'. 
>
> Check the casing of PluginTestProgram.exe. 
>
> Robert

Thanks, the cases matched, but the assemblies 'dll' name did not match the top 
level namespace encased. When I changed the namespace to PluginTestProgram to 
match the project and dll name, this fixed the problem.

-Jim Stapleton
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to