Skip to content

Commit

Permalink
Add new project for the .exe
Browse files Browse the repository at this point in the history
  • Loading branch information
Metalnem committed Mar 16, 2024
1 parent 8c66868 commit 4351d16
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 4 deletions.
3 changes: 0 additions & 3 deletions Api/Api.csproj
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>disable</Nullable>
<AssemblyName>bandcamp-downloader</AssemblyName>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.WebUtilities" Version="8.0.2" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
<PackageReference Include="Microsoft.Net.Http.Headers" Version="8.0.2" />
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
</ItemGroup>

</Project>
6 changes: 6 additions & 0 deletions Api.sln → BandcampDownloader.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Api", "Api\Api.csproj", "{A
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Api.Tests", "Api.Tests\Api.Tests.csproj", "{23560892-86E2-44D8-9AD2-C89B62A4AB48}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BandcampDownloader", "BandcampDownloader\BandcampDownloader.csproj", "{99B9FF26-BF0B-4CDD-8C9C-E7E9B35122F2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -24,5 +26,9 @@ Global
{23560892-86E2-44D8-9AD2-C89B62A4AB48}.Debug|Any CPU.Build.0 = Debug|Any CPU
{23560892-86E2-44D8-9AD2-C89B62A4AB48}.Release|Any CPU.ActiveCfg = Release|Any CPU
{23560892-86E2-44D8-9AD2-C89B62A4AB48}.Release|Any CPU.Build.0 = Release|Any CPU
{99B9FF26-BF0B-4CDD-8C9C-E7E9B35122F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{99B9FF26-BF0B-4CDD-8C9C-E7E9B35122F2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{99B9FF26-BF0B-4CDD-8C9C-E7E9B35122F2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{99B9FF26-BF0B-4CDD-8C9C-E7E9B35122F2}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
19 changes: 19 additions & 0 deletions BandcampDownloader/BandcampDownloader.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<ProjectReference Include="..\Api\Api.csproj" />
</ItemGroup>

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AssemblyName>bandcamp-downloader</AssemblyName>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
</ItemGroup>

</Project>
3 changes: 2 additions & 1 deletion Api/Program.cs → BandcampDownloader/Program.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
using System.CommandLine;
using System.IO.Compression;
using Api;
using Microsoft.Extensions.Logging.Abstractions;

namespace Api;
namespace BandcampDownloader;

public class Program
{
Expand Down

0 comments on commit 4351d16

Please sign in to comment.