Skip to content

Commit

Permalink
set TargetFramework variable in FLExBridge.proj
Browse files Browse the repository at this point in the history
  • Loading branch information
hahn-kev authored and jasonleenaylor committed Nov 27, 2024
1 parent 62e4d82 commit 6cd82bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/FLExBridge.proj
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
<WriteVersionInfoToBuildLog Condition="'$(WriteVersionInfoToBuildLog)' == ''">true</WriteVersionInfoToBuildLog>
<TeamCity Condition="'$(teamcity_version)' != ''">true</TeamCity>
<TeamCity Condition="'$(teamcity_version)' == ''">false</TeamCity>
<!-- note this does not set the TargetFramework for the csproj files, it's just used as a variable to configure build paths-->
<TargetFramework Condition="'$(TargetFramework)' == ''">net462</TargetFramework>
</PropertyGroup>

<Import Project="$(MSBuildTasksTargets)" Condition="Exists('$(MSBuildTasksTargets)')"/>
Expand Down Expand Up @@ -199,7 +201,7 @@
<MSBuild Projects="$(MSBuildProjectFullPath)" Targets="TestOnly" Properties="Configuration=$(Configuration);GetVersion=$(GetVersion);WriteVersionInfoToBuildLog=$(WriteVersionInfoToBuildLog)" Condition="$(RestartBuild)" />
</Target>

<Target Name="TestOnly" >
<Target Name="TestOnly">
<ItemGroup>
<TestAssemblies Include="$(RootDir)/output/$(Configuration)/$(TargetFramework)/*Tests.dll" />
</ItemGroup>
Expand Down

0 comments on commit 6cd82bd

Please sign in to comment.