Skip to content

Commit f3f092f

Browse files
committed
Added config to create nuget packages on build
1 parent 9bdb07f commit f3f092f

File tree

2 files changed

+40
-2
lines changed

2 files changed

+40
-2
lines changed

ScreenCapture/Resources/Icon.png

705 Bytes
Loading

ScreenCapture/ScreenCapture.csproj

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,40 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
32
<PropertyGroup>
43
<TargetFramework>net5.0</TargetFramework>
4+
<LangVersion>latest</LangVersion>
55
<Nullable>enable</Nullable>
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
7+
8+
<Authors>Darth Affe</Authors>
9+
<Company>Wyrez</Company>
10+
<Language>en-US</Language>
11+
<NeutralLanguage>en-US</NeutralLanguage>
12+
<Title>ScreenCapture</Title>
13+
<AssemblyName>ScreenCapture</AssemblyName>
14+
<AssemblyTitle>ScreenCapture</AssemblyTitle>
15+
<PackageId>ScreenCapture</PackageId>
16+
<RootNamespace>ScreenCapture</RootNamespace>
17+
<Description>Vortice based Screen-Capturing</Description>
18+
<Summary>Vortice based Screen-Capturing using Desktop Duplication</Summary>
19+
<Copyright>Copyright © Darth Affe 2021</Copyright>
20+
<PackageCopyright>Copyright © Darth Affe 2021</PackageCopyright>
21+
<PackageIcon>icon.png</PackageIcon>
22+
<PackageProjectUrl>https://github.com/DarthAffe/ScreenCapture</PackageProjectUrl>
23+
<PackageLicenseUrl>LGPL-2.1-only</PackageLicenseUrl>
24+
<RepositoryType>Github</RepositoryType>
25+
<RepositoryUrl>https://github.com/DarthAffe/ScreenCapture</RepositoryUrl>
26+
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
27+
28+
<PackageReleaseNotes>Initial release</PackageReleaseNotes>
29+
30+
<Version>1.0.0</Version>
31+
<AssemblyVersion>1.0.0</AssemblyVersion>
32+
<FileVersion>1.0.0</FileVersion>
33+
34+
<OutputPath>..\bin\</OutputPath>
35+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
36+
<IncludeSource>True</IncludeSource>
37+
<IncludeSymbols>True</IncludeSymbols>
738
</PropertyGroup>
839

940
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
@@ -21,7 +52,14 @@
2152
</PropertyGroup>
2253

2354
<ItemGroup>
24-
<PackageReference Include="Vortice.Direct3D11" Version="1.9.41" />
55+
<None Include="Resources\icon.png">
56+
<Pack>True</Pack>
57+
<PackagePath></PackagePath>
58+
</None>
59+
</ItemGroup>
60+
61+
<ItemGroup>
62+
<PackageReference Include="Vortice.Direct3D11" Version="1.9.65" />
2563
</ItemGroup>
2664

2765
</Project>

0 commit comments

Comments
 (0)