Skip to content

Commit 150282d

Browse files
Fix shared project build to find xbf file link - Fix thanks to @jeromelaban
Update missed renames
1 parent ec9d0c9 commit 150282d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

UITests/UITests.App/UITests.App.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
<DependentUpon>App.xaml</DependentUpon>
133133
</Compile>
134134
<Compile Include="MainTestHost.xaml.cs">
135-
<DependentUpon>MainPage.xaml</DependentUpon>
135+
<DependentUpon>MainTestHost.xaml</DependentUpon>
136136
</Compile>
137137
<Compile Include="Properties\AssemblyInfo.cs" />
138138
</ItemGroup>

UITests/UITests.Tests.Shared/Examples/SimpleTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static void ClassCleanup()
3535
}
3636

3737
[TestMethod]
38-
[TestPage("SimpleTest")]
38+
[TestPage("SimpleTestPage")]
3939
public void SimpleTestMethod()
4040
{
4141
var button = new Button(FindElement.ByName("Click Me"));

UITests/UITests.Tests.Shared/UITests.Tests.Shared.projitems

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<!-- When we're in the UI app used by the test harness, include all the pages -->
2727
<When Condition="'$(IsTestHost)' == 'true'">
2828
<ItemGroup>
29-
<Page Include="$(MSBuildThisFileDirectory)**\*Page.xaml" Exclude="**\bin\**\*Page.xaml;**\obj\**\*Page.xaml" SubType="Designer" Generator="MSBuild:Compile" />
29+
<Page Include="$(MSBuildThisFileDirectory)**\*Page.xaml" Exclude="**\bin\**\*Page.xaml;**\obj\**\*Page.xaml" Link="%(RecursiveDir)%(FileName)%(Extension)" SubType="Designer" Generator="MSBuild:Compile" />
3030
<Compile Include="$(MSBuildThisFileDirectory)**\*Page.xaml.cs" DependentUpon="%(Filename)" />
3131
</ItemGroup>
3232
</When>

0 commit comments

Comments
 (0)