2014-04-16 2 views
3

% WINDIR %/Assembly에 Microsoft.ReportViewer.WinForms 버전 11.0.0.0, publickeytoken 89845dcd8080cc91이 있습니다. 실제 파일 버전은 11.0.3412.0입니다. 2012 ReportViewer 재배포 가능 파일을 설치했습니다. 내 .NET 4.0 C# 프로젝트에 대한 참조를 추가하고 10.0.0.0의 파일 버전 10.0.40219.329 만 사용할 수 있습니다. 그래서 검색에 % PROGRAMFILES % (86)/마이크로 소프트 비주얼 스튜디오 12.0 11.0 버전으로 보여 주지만, 추가 할 때 csproj 파일은 10.0 버전 참조 /의 ReportViewer/Microsoft.ReportViewer.WinForms.dll :Microsoft ReportViewer 2012 참고 자료

<Reference Include="Microsoft.ReportViewer.WinForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> 
     <SpecificVersion>False</SpecificVersion> 
     <HintPath>C:\Program Files (x86)\Microsoft Visual Studio 12.0\ReportViewer\Microsoft.ReportViewer.WinForms.dll</HintPath> 
    </Reference> 

32 비트 시스템을 구축하고 배포 할 때 누락 된 DLL - 10.0.0.0에서 DLL 사용법이 표시됩니다. 왜 2012 버전을 선택하지 않습니까?

답변

5

내가 그런 일을했다고 말할 수는 없습니다. redistributable from the Microsoft website을 설치할 수 있었으며 버전 11.0의 어셈블리가 GAC에 설치되었습니다.

"Microsoft Visual Studio 12.0"디렉터리가있는 Visual Studio 2013이 설치되어 있지 않습니다. 하지만 "Microsoft Visual Studio 11.0"디렉터리에도 올바른 ReportViewer.WinForms 어셈블리가 있습니다.

올바른 참조가 존재하는 경우에 당신이 정말보고 싶어하는 경우, 당신은 그것을 편집하여 ReportViewer.WinForms의 버전 11을 참조하기 위해 수동으로 프로젝트 파일을 편집 시도 할 수 있습니다 다음로드 시도해야

<Reference Include="Microsoft.ReportViewer.WinForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" /> 

GAC의 어셈블리 그러나 그것이 효과가 있을지는 의문입니다. 솔직히 SSRS 2012 Report Viewer Runtime 재배포 가능 패키지를 다시 설치하려고합니다.

+0

어떤 프레임 워크를 타겟팅하고 있습니까? – user210757

+0

@ user210757 .NET 4.0 및 .NET 4.5. –

+0

이 작업 -이 나를 위해이 참조를 추가 할 수있는 유일한 방법은 - VS2013 업데이트 2 RC 해요. 감사! – user210757