Skip to content

Commit b62c4a7

Browse files
committed
Prepared for NuGet release.
1 parent e49ac79 commit b62c4a7

File tree

4 files changed

+23
-14
lines changed

4 files changed

+23
-14
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,3 +250,4 @@ paket-files/
250250
# JetBrains Rider
251251
.idea/
252252
*.sln.iml
253+
/src/Whathecode.System/Whathecode.System.xml

src/Whathecode.System/Properties/AssemblyInfo.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
using System.Reflection;
2-
using System.Runtime.CompilerServices;
32
using System.Runtime.InteropServices;
43

5-
// General Information about an assembly is controlled through the following
6-
// set of attributes. Change these attribute values to modify the information
7-
// associated with an assembly.
8-
[assembly: AssemblyConfiguration("")]
9-
[assembly: AssemblyCompany("")]
4+
105
[assembly: AssemblyProduct("Whathecode.System")]
11-
[assembly: AssemblyTrademark("")]
6+
[assembly: AssemblyCompany("Whathecode")]
7+
#if DEBUG
8+
[assembly: AssemblyConfiguration("Debug")]
9+
#else
10+
[assembly: AssemblyConfiguration("Release")]
11+
#endif
1212

1313
// Setting ComVisible to false makes the types in this assembly not visible
1414
// to COM components. If you need to access a type in this assembly from

src/Whathecode.System/Whathecode.System.csproj

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
1-
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
22
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" />
33
<PropertyGroup>
44
<TargetFramework>netstandard1.6</TargetFramework>
5+
6+
<!-- NuGet package details. -->
7+
<Authors>Whathecode</Authors>
8+
<PackageId>NET-Standard-Library-Extension</PackageId>
9+
<Description>Highly reuseable classes and methods I find to be missing in the .NET Standard Library.</Description>
10+
<PackageReleaseNotes>First release after porting suitable parts of the old FCL library extension to .NET Standard.</PackageReleaseNotes>
11+
<Copyright>Copyright (c) 2016 Steven Jeuris</Copyright>
12+
513
<AssemblyName>Whathecode.System</AssemblyName>
614
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>
715
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
@@ -14,7 +22,7 @@
1422
<EmbeddedResource Include="compiler\resources\**\*" />
1523
</ItemGroup>
1624
<ItemGroup>
17-
<Content Include="project.json" />
25+
<None Include="project.json" />
1826
</ItemGroup>
1927
<ItemGroup>
2028
<PackageReference Include="Microsoft.NET.Sdk">
@@ -27,8 +35,8 @@
2735
</ItemGroup>
2836
<ItemGroup />
2937
<PropertyGroup Label="Configuration">
30-
<OutputPath>
31-
</OutputPath>
38+
<OutputPath />
39+
<DocumentationFile>Whathecode.System.xml</DocumentationFile>
3240
</PropertyGroup>
3341
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
3442
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>

test/Whathecode.System.Tests/Whathecode.System.Tests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
<EmbeddedResource Include="**\*.resx" />
1414
</ItemGroup>
1515
<ItemGroup>
16-
<Content Include="project.json" />
17-
<Content Include="xunit.runner.json">
16+
<None Include="project.json" />
17+
<None Include="xunit.runner.json">
1818
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
19-
</Content>
19+
</None>
2020
</ItemGroup>
2121
<ItemGroup>
2222
<PackageReference Include="Microsoft.NETCore.App">

0 commit comments

Comments
 (0)