You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With that file all dll's and pdb's are copied to a new Folder within the release folder; the name of that folder is generated from the current date and time. But: If the length differs from the desired one, the folder is not created as expected and thus the files are also not collected correctly.
Example:
It is 9:22:32 on 22.10.2015 --> new folder should be: 'release\20151022 92232'
but now two folders are created: 'release\20151022' and 'release\92232'
thus: The following copy commands fails...
Bugfix: Simply use "" for the pathfile and all is working as expected. Here is the file like it looks now on my side:
With that file all dll's and pdb's are copied to a new Folder within the release folder; the name of that folder is generated from the current date and time. But: If the length differs from the desired one, the folder is not created as expected and thus the files are also not collected correctly.
Example:
It is 9:22:32 on 22.10.2015 --> new folder should be: 'release\20151022 92232'
but now two folders are created: 'release\20151022' and 'release\92232'
thus: The following copy commands fails...
Bugfix: Simply use "" for the pathfile and all is working as expected. Here is the file like it looks now on my side:
cd %1\Releases
set reldir=%DATE:~-4%%DATE:~3,2%%DATE:~0,2%%TIME:~0,2%%TIME:~3,2%%TIME:~6,2%%TIME:~9,2%
mkdir "%reldir%"
echo Destination path is: "%reldir%"
copy ..\Simple.Data\bin\Release\Simple.Data.dll "%reldir%"
copy ..\Simple.Data\bin\Release\Simple.Data.pdb "%reldir%"
copy ..\Simple.Data.AdapterApi\bin\Release\Simple.Data.AdapterApi.dll "%reldir%"
copy ..\Simple.Data.AdapterApi\bin\Release\Simple.Data.AdapterApi.pdb "%reldir%"
copy ..\Simple.Data.Ado\bin\Release\Simple.Data.Ado.dll "%reldir%"
copy ..\Simple.Data.Ado\bin\Release\Simple.Data.Ado.pdb "%reldir%"
copy ..\Simple.Data.SqlServer\bin\Release\Simple.Data.SqlServer.dll "%reldir%"
copy ..\Simple.Data.SqlServer\bin\Release\Simple.Data.SqlServer.pdb "%reldir%"
copy ..\Simple.Data.SqlCe35\bin\Release\Simple.Data.SqlCe35.dll "%reldir%"
copy ..\Simple.Data.SqlCe35\bin\Release\Simple.Data.SqlCe35.pdb "%reldir%"
copy ..\Simple.Data.SqlCe40\bin\Release\Simple.Data.SqlCe40.dll "%reldir%"
copy ..\Simple.Data.SqlCe40\bin\Release\Simple.Data.SqlCe40.pdb "%reldir%"
copy ..\Simple.Data.Mocking\bin\Release\Simple.Data.Mocking.dll "%reldir%"
copy ..\Simple.Data.Mocking\bin\Release\Simple.Data.Mocking.pdb "%reldir%"
Greetings
Mike
The text was updated successfully, but these errors were encountered: