Skip to content

Commit

Permalink
reference .net reference assemblies to enable mono compile on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
thefringeninja committed Oct 17, 2023
1 parent e8ce300 commit 1ffb490
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ jobs:
runs-on: ${{ matrix.os }}
name: EventStore.Client.${{ matrix.test }}/${{ matrix.os }}/${{ matrix.framework }}/${{ inputs.docker-tag }}
steps:
- name: List packages
shell: bash
run: |
apt list --installed
- name: Install Mono
shell: bash
if: matrix.framework == 'net48'
run: |
sudo apt-get install -y mono-devel
- name: Checkout
uses: actions/checkout@v3
- shell: bash
Expand Down
2 changes: 2 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@
<ItemGroup Condition="'$(TargetFramework)' == 'net48'">
<Reference Include="System.Net.Http"/>
<Reference Include="System.Web"/>
<!--<PackageReference Include="IndexRange" Version="1.0.0" />-->
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<ItemGroup>
<PackageReference Include="ConfigureAwaitChecker.Analyzer" Version="4.0.0" PrivateAssets="All" />
<PackageReference Include="Grpc.Tools" Version="$(GrpcToolsPackageVersion)" PrivateAssets="All" />
<PackageReference Include="MinVer" Version="3.0.0" PrivateAssets="All" />
<PackageReference Include="MinVer" Version="4.3.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<Compile Include="../EventStore.Client.Common/**/*.cs" LinkBase="Common"/>
Expand Down

0 comments on commit 1ffb490

Please sign in to comment.