.dll files are not synchronized with .net assembly
I am trying to sync my project files through vb.net code from one server to other remote server, below is the code snippet i used for this : i want to sync the files if there is any change in the file size or datetime stamp.
With the below code, all files are sync correctly but .dll files are not sync. Am i missing anything here ?
''''' open the session
mySession.Open(mySessionOptions)
'''''' Start synchronization
Dim mySynchronizationResult As SynchronizationResult
mySynchronizationResult = mySession.SynchronizeDirectories(SynchronizationMode.Remote, _
"C:\inetpub\wwwroot\MyProject", "C:/inetpub/wwwroot/MyProject",
True,False,SynchronizationCriteria.Either)
Console.WriteLine("Build sync successfull ...")
' Throw on any error
mySynchronizationResult.Check()
Console.WriteLine("Build sync result checked")
Please help on the above.
Thanks in advance,
Mohan