seanpeery / nmodbus

Automatically exported from code.google.com/p/nmodbus
0 stars 0 forks source link

Strong name dlls #27

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am getting the following errors.  I am running with the new strong name 
versions of the dlls.  What am I doing wrong?

log4net:ERROR DefaultRepositorySelector: Failed to configure repository 
[log4net-default-repository] from assembly attributes.
System.IO.FileNotFoundException: Could not load file or 
assembly 'System.Core, Version=3.5.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system 
cannot find the file specified.
File name: 'System.Core, Version=3.5.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089'
   at System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle* 
typeInstArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, 
Int32 methodInstCount)
   at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, 
RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] 
methodInstantiationContext)
   at System.Reflection.Module.ResolveType(Int32 metadataToken, Type[] 
genericTypeArguments, Type[] genericMethodArguments)
   at System.Reflection.CustomAttribute.FilterCustomAttributeRecord
(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& 
lastAptcaOkAssembly, Module decoratedModule, MetadataToken decoratedToken, 
RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] 
attributes, IList derivedAttributes, RuntimeType& attributeType, 
RuntimeMethodHandle& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)
   at System.Reflection.CustomAttribute.GetCustomAttributes(Module 
decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType 
attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes)
   at System.Reflection.CustomAttribute.GetCustomAttributes(Assembly 
assembly, RuntimeType caType)
   at System.Reflection.Assembly.GetCustomAttributes(Type attributeType, 
Boolean inherit)
   at System.Attribute.GetCustomAttributes(Assembly element, Type 
attributeType, Boolean inherit)
   at log4net.Core.DefaultRepositorySelector.LoadAliases(Assembly 
assembly, ILoggerRepository repository)
   at log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly 
repositoryAssembly, Type repositoryType, String repositoryName, Boolean 
readAssemblyAttributes)

Original issue reported on code.google.com by seminol...@knology.net on 25 Mar 2008 at 10:15

GoogleCodeExporter commented 8 years ago
The latest version of NModbus requires the .NET framework 3.5

If you are unable to require .NET 3.5 I can provide a signed version of the most
recent 2.0 branch.

Original comment by sja...@gmail.com on 26 Mar 2008 at 12:39

GoogleCodeExporter commented 8 years ago
Please create a signed version for .NET 2.0 - thanks!

Original comment by seminol...@knology.net on 28 Mar 2008 at 1:22

GoogleCodeExporter commented 8 years ago
http://nmodbus-discuss.googlegroups.com/web/NModbus_1.4.0.3-.Net2.0WithStrongNam
e.zip

Original comment by sja...@gmail.com on 28 Mar 2008 at 4:40

GoogleCodeExporter commented 8 years ago
Thank you!  Everything is working great!

Original comment by seminol...@knology.net on 29 Mar 2008 at 9:48