adds empty skeleton projects
This commit is contained in:
parent
98525f1305
commit
0751dbe9d3
14
PiwigoDotnet/Piwigo.Client.Cli/Piwigo.Client.Cli.csproj
Normal file
14
PiwigoDotnet/Piwigo.Client.Cli/Piwigo.Client.Cli.csproj
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="CommandLineParser" Version="2.9.1" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
3
PiwigoDotnet/Piwigo.Client.Cli/Program.cs
Normal file
3
PiwigoDotnet/Piwigo.Client.Cli/Program.cs
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
// See https://aka.ms/new-console-template for more information
|
||||||
|
|
||||||
|
Console.WriteLine("Hello, World!");
|
19
PiwigoDotnet/Piwigo.Client.Tests/Piwigo.Client.Tests.csproj
Normal file
19
PiwigoDotnet/Piwigo.Client.Tests/Piwigo.Client.Tests.csproj
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
|
||||||
|
<IsPackable>false</IsPackable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0"/>
|
||||||
|
<PackageReference Include="NUnit" Version="3.13.3"/>
|
||||||
|
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1"/>
|
||||||
|
<PackageReference Include="NUnit.Analyzers" Version="3.3.0"/>
|
||||||
|
<PackageReference Include="coverlet.collector" Version="3.1.2"/>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
15
PiwigoDotnet/Piwigo.Client.Tests/UnitTest1.cs
Normal file
15
PiwigoDotnet/Piwigo.Client.Tests/UnitTest1.cs
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
namespace Piwigo.Client.Tests;
|
||||||
|
|
||||||
|
public class Tests
|
||||||
|
{
|
||||||
|
[SetUp]
|
||||||
|
public void Setup()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void Test1()
|
||||||
|
{
|
||||||
|
Assert.Pass();
|
||||||
|
}
|
||||||
|
}
|
1
PiwigoDotnet/Piwigo.Client.Tests/Usings.cs
Normal file
1
PiwigoDotnet/Piwigo.Client.Tests/Usings.cs
Normal file
@ -0,0 +1 @@
|
|||||||
|
global using NUnit.Framework;
|
6
PiwigoDotnet/Piwigo.Client/IPiwigoClient.cs
Normal file
6
PiwigoDotnet/Piwigo.Client/IPiwigoClient.cs
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
namespace Piwigo.Client;
|
||||||
|
|
||||||
|
public interface IPiwigoClient
|
||||||
|
{
|
||||||
|
Task LoginAsync(Uri uri, string username, string password);
|
||||||
|
}
|
14
PiwigoDotnet/Piwigo.Client/Piwigo.Client.csproj
Normal file
14
PiwigoDotnet/Piwigo.Client/Piwigo.Client.csproj
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Flurl.Http" Version="3.2.4" />
|
||||||
|
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.2" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
28
PiwigoDotnet/PiwigoDotnet.sln
Normal file
28
PiwigoDotnet/PiwigoDotnet.sln
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Piwigo.Client", "Piwigo.Client\Piwigo.Client.csproj", "{EA96CD0D-B300-47BE-B84D-A7699040674D}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Piwigo.Client.Tests", "Piwigo.Client.Tests\Piwigo.Client.Tests.csproj", "{7CCB99F4-34D6-42A9-969D-00688CAA9A4B}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Piwigo.Client.Cli", "Piwigo.Client.Cli\Piwigo.Client.Cli.csproj", "{829494FB-DE53-4C65-958D-37036CAB86BD}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{EA96CD0D-B300-47BE-B84D-A7699040674D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{EA96CD0D-B300-47BE-B84D-A7699040674D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{EA96CD0D-B300-47BE-B84D-A7699040674D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{EA96CD0D-B300-47BE-B84D-A7699040674D}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{7CCB99F4-34D6-42A9-969D-00688CAA9A4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{7CCB99F4-34D6-42A9-969D-00688CAA9A4B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{7CCB99F4-34D6-42A9-969D-00688CAA9A4B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{7CCB99F4-34D6-42A9-969D-00688CAA9A4B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{829494FB-DE53-4C65-958D-37036CAB86BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{829494FB-DE53-4C65-958D-37036CAB86BD}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{829494FB-DE53-4C65-958D-37036CAB86BD}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{829494FB-DE53-4C65-958D-37036CAB86BD}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
2
PiwigoDotnet/PiwigoDotnet.sln.DotSettings
Normal file
2
PiwigoDotnet/PiwigoDotnet.sln.DotSettings
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
||||||
|
<s:Boolean x:Key="/Default/UserDictionary/Words/=Piwigo/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
|
Loading…
Reference in New Issue
Block a user