Hi All,
We are in the process of a migration from 7.5.4. WEB to 8.1 update 05. There is a considerable amount of custom development which touches on many levels of customizations possible with Infor CRM.
Currently me and my colleagues are really banging our heads over an error when building the Snippet Libraries.
We get two warnings for which we did not yet find a reason why. Everything is set default. We have looked at the references and hintpaths untill we were cross-eyed and yet still went on.. We have not yet found the cause of these warnings and whether they are the cause for the error later.
It seems to me that the build is OK. And the compiler is done. And that the deploy to the
INFO - Build started. INFO - Project "Sage.SnippetLibrary.csproj" (default targets): WARN - C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5):Found conflicts between different versions of the same dependent assembly. WARN - C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5):There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "System.Data.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. INFO - C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1591,1592,1573,1570,1572,1701,1702 /nostdlib+ /doc:C:\Users\administrator.XXXXXXXXX\AppData\Roaming\Sage\Platform\Output\Sage.SnippetLibrary.CSharp\bin\Sage.SnippetLibrary.CSharp.XML
<<snipped a lot of references>>
/reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /debug+ /out:obj\Debug\Sage.SnippetLibrary.CSharp.dll /target:library /utf8output "src\Sage.SnippetLibrary.CSharp.@.0115426e-8787-442b-b4f9-bc9cc2a18c0e.codesnippet.cs" "src\Sage.SnippetLibrary.CSharp.@.0122610b-91cb-49c7-8ec7-12fe03fed40c.codesnippet.cs" "src\Sage.SnippetLibrary.CSharp.@.03091632-89e8-4251-abd3-6fb1908b5850.codesnippet.cs" "src\Sage.SnippetLibrary.CSharp.@.03639bf4-2eb6-401e-
<<snipped a lot of snippets>>
"src\Sage.SnippetLibrary.CSharp.@.ff060e69-1dc2-44f9-942e-51db8ac9b2e0.codesnippet.cs" "C:\Users\administrator.XXXXXXXXX\AppData\Local\Temp\2\.NETFramework,Version=v4.0.AssemblyAttributes.cs" INFO - Microsoft (R) Visual C# Compiler version 4.0.30319.18408 INFO - INFO - for Microsoft (R) .NET Framework 4.5 INFO - Copyright (C) Microsoft Corporation. All rights reserved. INFO - INFO - Done building project "Sage.SnippetLibrary.csproj". INFO - Build succeeded. INFO - Successfully completed build of Sage.SnippetLibrary.CSharp code snippet library. INFO - Deploying snippet library file, '\deployment\webroot\common\bin\Sage.SnippetLibrary.CSharp.dll' INFO - Deploying snippet library file, '\deployment\webroot\common\bin\Sage.SnippetLibrary.CSharp.pdb' ERROR - System.NullReferenceException: Object reference not set to an instance of an object. at Sage.Platform.Orm.Entities.OrmPropertyMethod.get_ReturnType() at Sage.Platform.Orm.DynamicMethodLibraryHelper.GenerateConfiguration(IList`1 methods) at Sage.Platform.Orm.Entities.OrmModel.GenerateDynamicMethodConfiguration() at Sage.Platform.AdminModule.AdminModuleInit.GenerateRulesConfiguration() at Sage.Platform.AdminModule.AdminModuleInit.BuildWebObjectsImpl(OperationStatus op)
|