Skip to content

Commit 9e53fd5

Browse files
committed
[tests] Xamarin.iOS.Tasks.TargetTests.RebuildExecutable_TouchLibraryDll
msbuild just copies the output assembly from obj to bin. So, the test needs to `touch` the file in `obj` to trigger a rebuild.
1 parent b883c4f commit 9e53fd5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

msbuild/tests/Xamarin.iOS.Tasks.Tests/TargetTests/TargetTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ public void RebuildExecutable_TouchLibraryDll ()
288288
RunTarget (MonoTouchProject, TargetName.Build);
289289
var timestamps = ExpectedExecutableFiles.ToDictionary (file => file, file => GetLastModified (file));
290290

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

0 commit comments

Comments
 (0)