Skip to content

Commit

Permalink
RavenDB-7070
Browse files Browse the repository at this point in the history
- we cannot build a net461 target on linux
- fixed install_build_prerequisites.sh
  • Loading branch information
ppekrol committed Jun 26, 2018
1 parent c5206e8 commit ee11c8f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install_build_prerequisites.sh
Expand Up @@ -23,7 +23,7 @@ fi

eval

echo "Installing .NET Core SDK 2.1.105..."
echo "Installing .NET Core SDK 2.1"

if [ -z "$CURL_CMD" ]; then
sudo apt-get install -y curl
Expand All @@ -40,7 +40,7 @@ elif [ "$UBUNTU_VERSION" = "18.04" ] ; then
fi

sudo apt-get update
sudo apt-get install -y dotnet-sdk-2.1.105
sudo apt-get install -y dotnet-sdk-2.1

mkdir ./dotnet_tmp
cd ./dotnet_tmp
Expand Down
7 changes: 7 additions & 0 deletions src/Raven.TestDriver/Raven.TestDriver.csproj
Expand Up @@ -11,6 +11,13 @@
<PackageTags>ravendb;client;database;nosql;doc db</PackageTags>
<CodeAnalysisRuleSet>..\..\RavenDB.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>

<PropertyGroup Condition="'$(OS)' == 'Windows_NT'">
<TargetFrameworks>netstandard1.3;netstandard2.0;net461</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="'$(OS)' != 'Windows_NT'">
<TargetFrameworks>netstandard1.3;netstandard2.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
<Compile Include="..\CommonAssemblyInfo.Windows.cs" Link="Properties\CommonAssemblyInfo.Windows.cs" />
Expand Down

0 comments on commit ee11c8f

Please sign in to comment.