Skip to content

Commit

Permalink
[tests] Xamarin.iOS.Tasks.TargetTests.RebuildExecutable_TouchLibraryDll
Browse files Browse the repository at this point in the history
msbuild just copies the output assembly from obj to bin. So, the test
needs to `touch` the file in `obj` to trigger a rebuild.
  • Loading branch information
radical committed May 22, 2018
1 parent b883c4f commit 9e53fd5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ public void RebuildExecutable_TouchLibraryDll ()
RunTarget (MonoTouchProject, TargetName.Build);
var timestamps = ExpectedExecutableFiles.ToDictionary (file => file, file => GetLastModified (file));

Touch (Path.Combine (LibraryProjectBinPath, "MyLibrary.dll"));
Touch (Path.Combine (LibraryProjectObjPath, "MyLibrary.dll"));
RunTarget (MonoTouchProject, TargetName.Build);
var newTimestamps = ExpectedExecutableFiles.ToDictionary (file => file, file => GetLastModified (file));

Expand Down

0 comments on commit 9e53fd5

Please sign in to comment.