Skip to content

Commit

Permalink
convert to csproj format
Browse files Browse the repository at this point in the history
  • Loading branch information
ra0o0f committed Jan 6, 2018
1 parent 57d2cdb commit d6c07a1
Show file tree
Hide file tree
Showing 78 changed files with 1,983 additions and 2,339 deletions.
39 changes: 0 additions & 39 deletions src/ArangoDB.Client.Dotnet.sln

This file was deleted.

105 changes: 0 additions & 105 deletions src/ArangoDB.Client.Examples/ArangoDB.Client.Examples.Net45.csproj

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

22 changes: 22 additions & 0 deletions src/ArangoDB.Client.Examples/ArangoDB.Client.Examples.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netcoreapp2.0;net46;netcoreapp1.1</TargetFrameworks>
<NoWarn>1701;1702;1705,1591,1573,1572,1570,1711</NoWarn>
<!--<IsPackable>false</IsPackable>-->
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Moq" Version="4.8.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />
<PackageReference Include="xunit" Version="2.3.1" />
<DotNetCliToolReference Include="dotnet-xunit" Version="2.3.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0-preview-20170427-09" />
<ProjectReference Include="..\ArangoDB.Client\ArangoDB.Client.csproj" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)'=='net46'">
</ItemGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='net46'">
<DefineConstants>NET46</DefineConstants>
</PropertyGroup>

</Project>
21 changes: 0 additions & 21 deletions src/ArangoDB.Client.Examples/ArangoDB.Client.Examples.xproj

This file was deleted.

4 changes: 3 additions & 1 deletion src/ArangoDB.Client.Examples/DatabaseSetup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ static NetworkCredential GetCredential()

static Lazy<DatabaseSharedSetting> SharedSetting = new Lazy<DatabaseSharedSetting>(() =>
{
#if NET46
// Uncomment if you want your requests goes through proxy
//ArangoDatabase.ClientSetting.Proxy = new System.Net.WebProxy("http://localhost:8888");
ArangoDatabase.ClientSetting.Proxy = new System.Net.WebProxy("http://localhost:19777");
#endif

var sharedSetting = new DatabaseSharedSetting();
sharedSetting.Database = "ExampleDB";
Expand Down
Loading

0 comments on commit d6c07a1

Please sign in to comment.