Skip to content

Commit

Permalink
fix: SamplesApp.netcoremobile build
Browse files Browse the repository at this point in the history
  • Loading branch information
workgroupengineering committed Nov 16, 2022
1 parent 045a77a commit 6de329e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/SamplesApp/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.targets', '$(MSBuildThisFileDirectory)../'))" />

<!-- Ensure that Uno.Samples.UITest.Generator build before all SamplesApp project -->
<ItemGroup Condition="'$(IsUITestGenerator)'=='' or '$(IsUITestGenerator)'=='false'">
<ItemGroup Condition="'$(MSBuildProjectName)'!='Uno.Samples.UITest.Generator' and '$(DocsGeneration)'==''">
<ProjectReference Include="$(MSBuildThisFileDirectory)\SamplesApp.UITests.Generator\Uno.Samples.UITest.Generator.csproj">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
<UndefineProperties>TargetFramework</UndefineProperties>
<UndefineProperties>TargetFramework;RuntimeIdentifier;TargetFrameworks;RuntimeIdentifiers</UndefineProperties>
</ProjectReference>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<DebugType>portable</DebugType>
<DebugSymbols>true</DebugSymbols>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<IsUITestGenerator>true</IsUITestGenerator>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,4 @@
<CompilerVisibleProperty Include="RootNamespace" />
<CompilerVisibleProperty Include="MSBuildProjectDirectory" />
</ItemGroup>

<ItemGroup Condition="'$(DocsGeneration)'==''">
<ProjectReference Include="$(MSBuildThisFileDirectory)..\SamplesApp.UITests.Generator\Uno.Samples.UITest.Generator.csproj">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
<UndefineProperties>TargetFramework;RuntimeIdentifier;TargetFrameworks;RuntimeIdentifiers</UndefineProperties>
</ProjectReference>
</ItemGroup>
</Project>

0 comments on commit 6de329e

Please sign in to comment.