Skip to content

Commit

Permalink
fix: Revert back to NetStandard2.0
Browse files Browse the repository at this point in the history
Switching to net6 was not necessary
  • Loading branch information
TopperDEL committed Dec 21, 2023
1 parent 0d82161 commit fb4da65
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 8 deletions.
1 change: 0 additions & 1 deletion nuspec/uplink.NET.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ Works with .Net/UWP/Linux/Xamarin.Android/Xamarin.iOS/MacOS. Please add the addi
<group targetFramework=".NETStandard2.0">
<dependency id="sqlite-net-pcl" version="1.7.335"/>
</group>
<group targetFramework="net6.0" />
</dependencies>
</metadata>
<files>
Expand Down
4 changes: 2 additions & 2 deletions uplink.NET/pipelines/azure-pipelines-build-uplink.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ steps:
inputs:
targetType: 'inline'
script: |
mv uplink.NET/uplink.NET/bin/Release/net6.0/uplink.NET.dll uplink.NET.dll
mv uplink.NET/uplink.NET/bin/Release/net6.0/uplink.NET.pdb uplink.NET.pdb
mv uplink.NET/uplink.NET/bin/Release/netstandard2.0/uplink.NET.dll uplink.NET.dll
mv uplink.NET/uplink.NET/bin/Release/netstandard2.0/uplink.NET.pdb uplink.NET.pdb
displayName: 'Place uplink-DLL at nuget-location'

- task: NuGetToolInstaller@1
Expand Down
14 changes: 14 additions & 0 deletions uplink.NET/uplink.NET.Test/TestConstants.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace uplink.NET.Test
{
class TestConstants
{
public const string VALID_API_KEY = "1FkahBKy3PeTFzpgntwEubptFb7j7QGY7SW1F89Y9BHynmvKoPTecteVQoPjF3dBpLv1Rf6ZCruNWkK1MHii1i2pEMij9yG9Q9PwgxK1nLcFmDBH7FpLDAfkSAffvVTtJLbssVw37gNdrfAvx1ZJW";
public const string ENCRYPTION_SECRET = "i_am_so_secret_you_cant_imagine";
public const string INVALID_API_KEY = "This is not a valid API-Key";
public const string SATELLITE_URL = "europe-west-1.tardigrade.io:7777"; //Use the address of your satellite
}
}
2 changes: 1 addition & 1 deletion uplink.NET/uplink.NET.Test/uplink.NET.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<IsPackable>false</IsPackable>
<Platforms>AnyCPU;x86</Platforms>
</PropertyGroup>
Expand Down
9 changes: 5 additions & 4 deletions uplink.NET/uplink.NET/uplink.NET.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
<PropertyGroup>
<Description>
</Description>
<AssemblyVersion>2.7.0.0</AssemblyVersion>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
<Authors>
</Authors>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>netstandard2.0</TargetFramework>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DebugType>portable</DebugType>
<AssemblyName>uplink.NET</AssemblyName>
<RootNamespace>uplink.NET</RootNamespace>
<FileVersion>2.7.0.0</FileVersion>
<Version>2.7.0</Version>
<FileVersion>2.12.0.0</FileVersion>
<Version>2.12.0</Version>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<OutputPath>
Expand All @@ -28,6 +28,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="System.Text.Json" Version="8.0.0" />
</ItemGroup>
<ItemGroup>
<Folder Include="SWIG-Generated\" />
Expand Down

0 comments on commit fb4da65

Please sign in to comment.