Set ProjectName=ARDesigner
set dllName="ActiveReports.Design6.resources.dll"
set Culture="zh-CN"
set MsDir="%WINDIR%\Microsoft.NET\Framework\v2.0.50727"
Set ProgamFilesDDPath=%ProgramFiles%\Common Files\GrapeCity\ActiveReports 6
set BaseNamespace=DataDynamics.ActiveReports.Design
NameCompleter %ProjectName% %BaseNamespace% %Culture% Create
%MsDir%\msbuild "%ProjectName%\Res\build.msbuild" /v:d /property:dllname=%dllName% /property:culture=%Culture% /property:destination="%ProgamFilesDDPath%
NameCompleter %ProjectName% Clean
"%ProgramFiles%\Microsoft Visual Studio 8\SDK\v2.0\Bin\sn.exe" -Vr "%ProjectName%\SatelliteAssembly\\%Culture%\\%dllName%"
pause
以上是我的配置,至于语言环境也用过zh-Hans 和原来默认的,但都是一样的报以下的错误.
c:\Program Files\GrapeCity\ActiveReports 6\Localization\ARDesigner\tempRes\DataDynamics.ActiveReports.Design.Resources.OutputFormatDialogSettings.zh-CN.resx:error MSB3103: 无效的Resx文件。ResX 输入无效。未能找到ResX 读取器和编写类型名称的有效 "resheader" 标记
谢谢 |