Skip to content

Commit

Permalink
upgrade to .net 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jmecosta committed Apr 12, 2024
1 parent 0df9d13 commit f36a740
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
5 changes: 2 additions & 3 deletions CxxSonarQubeRunner/CxxSonarQubeRunner.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<OutputPath>..\BuildDrop\Runner\</OutputPath>
<AssemblyVersion>3.2.2.0</AssemblyVersion>
<FileVersion>3.2.2.0</FileVersion>
<RuntimeIdentifiers>ubuntu.14.04-x64;win7-x64</RuntimeIdentifiers>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>

Expand Down Expand Up @@ -38,7 +37,7 @@

<ItemGroup>
<PackageReference Include="MsbuildAutomationHelper" Version="2.0.5" />
<PackageReference Include="SonarRestApiImpl" Version="1.4.0" />
<PackageReference Include="Trimble.SonarRestApiImpl" Version="1.8.1" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 3 additions & 1 deletion MsbuildTaskUtils/MsbuildTaskUtils.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="FSharp.Data" Version="3.0.0" />

<PackageReference Include="Microsoft.Build.Utilities.Core" Version="14.3.0" />
<PackageReference Update="FSharp.Core" Version="8.0.101" />
<PackageReference Include="FSharp.Data" Version="6.3.0" />
</ItemGroup>

</Project>
6 changes: 3 additions & 3 deletions PublishAndPackage.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ dotnet publish -c Release -r osx-x64 --self-contained true
copy /Y Tools\CxxSonarQubeRunnerLinux.sh BuildDrop\Publish
copy /Y Tools\CxxSonarQubeRunnerOsx.sh BuildDrop\Publish
copy /Y Tools\CxxSonarQubeRunnerWin.bat BuildDrop\Publish
robocopy /MIR BuildDrop\Runner\net6.0\linux-x64\publish BuildDrop\Publish\linux-x64
robocopy /MIR BuildDrop\Runner\net6.0\osx-x64\publish BuildDrop\Publish\osx-x64
robocopy /MIR BuildDrop\Runner\net6.0\win-x64\publish BuildDrop\Publish\win-x64
robocopy /MIR BuildDrop\Runner\net8.0\linux-x64\publish BuildDrop\Publish\linux-x64
robocopy /MIR BuildDrop\Runner\net8.0\osx-x64\publish BuildDrop\Publish\osx-x64
robocopy /MIR BuildDrop\Runner\net8.0\win-x64\publish BuildDrop\Publish\win-x64
cd BuildDrop\Publish
"C:\Program Files\7-Zip\7z.exe" a -tzip CxxSonarQubeRunner.zip .
move CxxSonarQubeRunner.zip ..\..
Expand Down

0 comments on commit f36a740

Please sign in to comment.