Skip to content

Commit

Permalink
Updated .csproj file
Browse files Browse the repository at this point in the history
- Enabled C# 9
- Updated Skybrud.Essentials dependency
- Enabled XML documentation
- Added Limbo branding
  • Loading branch information
abjerner committed Jan 19, 2022
1 parent 177426c commit bd56130
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions src/Skybrud.Forms/Skybrud.Forms.csproj
Original file line number Diff line number Diff line change
@@ -1,32 +1,44 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net45;net472</TargetFrameworks>
<LangVersion>9.0</LangVersion>
<TargetFrameworks>netstandard2.0;net45;net472</TargetFrameworks>
<BuildInParallel>false</BuildInParallel>
</PropertyGroup>

<PropertyGroup>
<Version>1.0.0-beta002</Version>
<Company>Limbo</Company>
<Authors>Anders Bjerner</Authors>
<Company>Skybrud.dk</Company>
<Copyright>Copyright © 2022</Copyright>
<Description>C# models for describing forms.</Description>
<Copyright>Copyright © 2021</Copyright>
</PropertyGroup>

<!-- Information for the NuGet package -->
<PropertyGroup>
<PackageId>Skybrud.Forms</PackageId>
<PackageTags>Skybrud, Forms</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<!--<PackageProjectUrl>https://packages.skybrud.dk/skybrud.forms/</PackageProjectUrl>-->
<PackageIconUrl>http://www.skybrud.dk/img/5431sk/icon/favicon.ico</PackageIconUrl>
<PackageIcon>Limbo.png</PackageIcon>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/skybrud/Skybrud.Forms</RepositoryUrl>
</PropertyGroup>

<!-- Include NuGet dependencies -->
<ItemGroup>
<PackageReference Include="Skybrud.Essentials" Version="1.1.35" />
</ItemGroup>

<!-- Include package icon for NuGet -->
<ItemGroup>
<PackageReference Include="Skybrud.Essentials" Version="1.1.26" />
<Content Include="../build/Limbo.png" Pack="true" PackagePath="\" />
</ItemGroup>

<!-- Generate XML documentation -->
<PropertyGroup>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>

<!-- Run Skybrud.BuildTools (eg. build ZIP for release) -->
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(ConfigurationName)'=='Release' AND '$(BuildTools)'=='1' AND '$(TargetFramework)'=='net472'">
<Exec Command="&quot;$(ProjectDir)..\build\Skybrud.BuildTools.Tasks.exe&quot; &quot;postBuild&quot; &quot;$(ConfigurationName)&quot; &quot;$(ProjectPath)&quot; &quot;$(TargetPath)&quot;" />
</Target>
Expand Down
Binary file added src/build/Limbo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bd56130

Please sign in to comment.