Add publish settings and adjust .gitignore

Enabled single-file publishing in Server.csproj and included new IntelliJ IDEA configuration files for Git. Adjusted .gitignore to include publish directory.
This commit is contained in:
Andre Beging
2024-11-06 16:09:41 +01:00
parent 89ac7f4df0
commit 415ca59575
4 changed files with 25 additions and 6 deletions

1
.gitignore vendored
View File

@@ -36,3 +36,4 @@ Desktop.ini
/Server/Customers.json /Server/Customers.json
/Server/Settings.json /Server/Settings.json
/Server/invoices/ /Server/invoices/
/Server/publish/

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GitToolBoxProjectSettings">
<option name="commitMessageIssueKeyValidationOverride">
<BoolValueOverride>
<option name="enabled" value="true" />
</BoolValueOverride>
</option>
<option name="commitMessageValidationEnabledOverride">
<BoolValueOverride>
<option name="enabled" value="true" />
</BoolValueOverride>
</option>
</component>
</project>

6
.idea/.idea.TinyInvoice/.idea/vcs.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

View File

@@ -4,14 +4,11 @@
<TargetFramework>net8.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<PublishSingleFile>true</PublishSingleFile>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="QuestPDF" Version="2024.10.2" /> <PackageReference Include="QuestPDF" Version="2024.10.2" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<None Remove="Invoice.pdf" />
</ItemGroup>
</Project> </Project>