現在、プロジェクトのポストビルドとして次のスクリプトがあります。
if $(ConfigurationName) == "Debug (x64)" || $(ConfigurationName) == "Release (x64)" (goto :x64)
if $(ConfigurationName) == "Debug" || $(ConfigurationName) == "Release" (goto :x86)
:x64
copy "$(SolutionDir)References\x64\System.Data.SQLite.dll" "$(TargetDir)System.Data.SQLite.dll"
goto :default
:x86
copy "$(SolutionDir)References\System.Data.SQLite.dll" "$(TargetDir)System.Data.SQLite.dll"
goto :default
:default
copy "$(SolutionDir)References\System.Data.SQLite.Linq.dll" "$(TargetDir)System.Data.SQLite.Linq.dll"
(構成に従って、アセンブリのx86またはx64バージョンを出力フォルダーにコピーします)
このスクリプトはエラーレベル255を返しますが、バッチスクリプトがわからないので、誰かがエラーを指摘してもらえますか?