2013-12-13 6 views
1

R. Gieseckes UnmanagedExports dll을 사용하여 내 보낸 메서드로 어셈블리를 수행했습니다. VS 2012 내에서이 어셈블리를 만드는 것이 좋습니다. 그러나 FinalBuilder와 큰 솔루션은 다음과 같은 오류가 발생합니다 의 한 부분으로 조립 구축 :FinalBuilder를 사용하여 어셈블리를 빌드 할 때 관리되지 않는 내보내기 오류

Parse IL: Parsing 1517 lines of IL took 120 ms. C:\BuildSource\branches\Standard\Projects\Intf_New\Interfaces\StdInterface\packages\UnmanagedExports.1.2.4.23262\tools\RGiesecke.DllExport.targets(42,5): error : Der Index, basierend auf 0 (null), muss größer als oder gleich Null sein, und kleiner als die Größe der Argumentenliste. bei System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args) bei System.String.Format(IFormatProvider provider, String format, Object[] args) bei RGiesecke.DllExport.DllExportNotifier.Notify(Int32 severity, String code, String fileName, Nullable 1 startPosition, Nullable 1 endPosition, String message, Object[] values) in d:\Work\Libraries\RGiesecke.DllExport\RGiesecke.DllExport\DllExportNotifier.cs:Zeile 135. bei RGiesecke.DllExport.DllExportNotifier.Notify(Int32 severity, String code, String message, Object[] values) in d:\Work\Libraries\RGiesecke.DllExport\RGiesecke.DllExport\DllExportNotifier.cs:Zeile 119. bei RGiesecke.DllExport.Parsing.IlAsm.RunLibTool(CpuPlatform cpu, String fileName, String directory) in d:\Work\Libraries\RGiesecke.DllExport\RGiesecke.DllExport\Parsing\ILAsm.cs:Zeile 212. bei RGiesecke.DllExport.Parsing.IlAsm.RunCore(CpuPlatform cpu, String fileName, String ressourceParam, String ilSuffix) in d:\Work\Libraries\RGiesecke.DllExport\RGiesecke.DllExport\Parsing\ILAsm.cs:Zeile 186. bei RGiesecke.DllExport.Parsing.IlAsm.Run(String outputFile, String ilSuffix, CpuPlatform cpu) in d:\Work\Libraries\RGiesecke.DllExport\RGiesecke.DllExport\Parsing\ILAsm.cs:Zeile 123. bei RGiesecke.DllExport.Parsing.IlAsm.ReassembleFile(String outputFile, String ilSuffix, CpuPlatform cpu) in d:\Work\Libraries\RGiesecke.DllExport\RGiesecke.DllExport\Parsing\ILAsm.cs:Zeile 75. bei RGiesecke.DllExport.DllExportWeaver.RunIlAsm(IlAsm ilAsm) in d:\Work\Libraries\RGiesecke.DllExport\RGiesecke.DllExport\DllExportWeaver.cs:Zeile 151. bei RGiesecke.DllExport.DllExportWeaver.Run() in d:\Work\Libraries\RGiesecke.DllExport\RGiesecke.DllExport\DllExportWeaver.cs:Zeile 81. bei RGiesecke.DllExport.MSBuild.ExportTaskImplementation`1.Execute() in d:\Work\Libraries\RGiesecke.DllExport\RGiesecke.DllExport.MSBuild\ExportTaskImplementation.cs:Zeile 243.

사람이 전에 본 한을? 어떤 힌트?

감사

+0

솔루션에서 마우스 오른쪽 버튼으로 + nuget 패키지 업데이트를 클릭하십시오. 따라서 msbuild는 최종 빌더 실행 중에이 작업을 수행합니다 –

답변

0

내가 생각할 수있는 모든 프로젝트 참조 업데이트되었습니다로드되지 않은 구성 요소를 수집하는 것 너겟 패키지 또는 CPU 아키텍처 86/64의 합병증이입니다.

d : \ Work \ Libraries \ 및 C : \ BuildSource \ branches \ directories의 조합으로 보이며 상대 참조를 사용하지 않고 다른 디렉토리에 하드 코딩 된 예기치 않은 링크가 프로젝트 파일에있을 수 있습니다. *. * proj 파일과 힌트 경로를 살펴보십시오.

때때로 빌드 디렉토리에서 VS Solution을 열고 컴파일 문제를 확인합니다. 매번 깨끗한 빌드 디렉토리를 사용해야합니다. Finder가 아닌 빌드 머신에서 Finalbuilder를 실행 해보십시오. 많은 암시 적 링크를 발견 했으므로 솔루션을 빌드하기 전에 리포지토리를 업그레이드하거나 Nugget 작업을 사용해야했습니다.

+0

이 도움이 되었습니까? 아니요. –

+0

죄송합니다 Jamie, 아직 시도 할 시간이 없었습니다. – Matthias