Skip to content

Commit 56da7a9

Browse files
jnyrupthinkingserious
authored andcommitted
Replace nuspec with csproj (#892)
1 parent b977468 commit 56da7a9

File tree

4 files changed

+38
-74
lines changed

4 files changed

+38
-74
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ For sample implementations, see the [.NET Core Example](https://github.com/sendg
9898

9999
## Dependencies
100100

101-
- Please see the [.nuspec file](https://github.com/sendgrid/sendgrid-csharp/tree/master/nuspec).
101+
- Please see the [.csproj file](https://github.com/sendgrid/sendgrid-csharp/blob/master/src/SendGrid/SendGrid.csproj).
102102

103103
<a name="quick-start"></a>
104104
# Quick Start

nuspec/Sendgrid.9.11.0.nuspec

Lines changed: 0 additions & 42 deletions
This file was deleted.
Lines changed: 14 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,14 @@
1-
// <copyright file="AssemblyInfo.cs" company="Twilio SendGrid">
2-
// Copyright (c) Twilio SendGrid. All rights reserved.
3-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
// </copyright>
5-
6-
using System.Reflection;
7-
using System.Runtime.InteropServices;
8-
9-
// General Information about an assembly is controlled through the following
10-
// set of attributes. Change these attribute values to modify the information
11-
// associated with an assembly.
12-
[assembly: AssemblyConfiguration("Release")]
13-
[assembly: AssemblyCompany("Twilio SendGrid")]
14-
[assembly: AssemblyProduct("Twilio SendGrid")]
15-
[assembly: AssemblyTrademark("Twilio SendGrid")]
16-
17-
// Setting ComVisible to false makes the types in this assembly not visible
18-
// to COM components. If you need to access a type in this assembly from
19-
// COM, set the ComVisible attribute to true on that type.
20-
[assembly: ComVisible(false)]
21-
22-
// The following GUID is for the ID of the typelib if this project is exposed to COM
23-
[assembly: Guid("377c20e4-2297-488f-933b-fb635c56d8fc")]
24-
25-
[assembly: AssemblyInformationalVersion("9.11.0")]
1+
// <copyright file="AssemblyInfo.cs" company="Twilio SendGrid">
2+
// Copyright (c) Twilio SendGrid. All rights reserved.
3+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4+
// </copyright>
5+
6+
using System.Runtime.InteropServices;
7+
8+
// Setting ComVisible to false makes the types in this assembly not visible
9+
// to COM components. If you need to access a type in this assembly from
10+
// COM, set the ComVisible attribute to true on that type.
11+
[assembly: ComVisible(false)]
12+
13+
// The following GUID is for the ID of the typelib if this project is exposed to COM
14+
[assembly: Guid("377c20e4-2297-488f-933b-fb635c56d8fc")]

src/SendGrid/SendGrid.csproj

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,37 @@
55
<TargetFrameworks>netstandard1.3;netstandard2.0;net452</TargetFrameworks>
66
<PlatformTarget>anycpu</PlatformTarget>
77
<GenerateDocumentationFile>true</GenerateDocumentationFile>
8-
<AssemblyName>SendGrid</AssemblyName>
98
<OutputType>Library</OutputType>
109
<AssemblyOriginatorKeyFile>../../tools/sendgrid-csharp.snk</AssemblyOriginatorKeyFile>
1110
<SignAssembly>true</SignAssembly>
1211
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
13-
<PackageId>SendGrid</PackageId>
14-
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
15-
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
16-
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
17-
<GenerateAssemblyInformationalVersionAttribute>false</GenerateAssemblyInformationalVersionAttribute>
1812
<DebugSymbols Condition=" '$(TargetFramework)' == 'net452' ">true</DebugSymbols>
1913
<DebugType Condition=" '$(TargetFramework)' == 'net452' ">full</DebugType>
14+
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb;.xml</AllowedOutputExtensionsInPackageBuildOutputFolder>
15+
</PropertyGroup>
16+
17+
<PropertyGroup>
18+
<AssemblyName>SendGrid</AssemblyName>
19+
<Authors>Elmer Thomas;Twilio DX Team</Authors>
20+
<Company>Twilio SendGrid</Company>
21+
<Product>Twilio SendGrid</Product>
22+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
23+
<PackageProjectUrl>https://sendgrid.com/</PackageProjectUrl>
24+
<RepositoryUrl>https://github.com/sendgrid/sendgrid-csharp.git</RepositoryUrl>
25+
<RepositoryType>git</RepositoryType>
26+
<PackageIconUrl>https://sendgrid.com/wp-content/themes/sgdotcom/pages/resource/brand//2016/SendGrid-Logomark.png</PackageIconUrl>
27+
<PackageDescription>C# client library and examples for using Twilio SendGrid API's to send mail and access Web API v3 endpoints with .NET Standard 1.3 and .NET Core support.</PackageDescription>
28+
<PackageReleaseNotes>Please see: https://github.com/sendgrid/sendgrid-csharp/releases</PackageReleaseNotes>
29+
<PackageTags>Twilio;SendGrid;Email;Mail;Microsoft;Azure;Transactional;.NET Core</PackageTags>
30+
<Copyright>Twilio SendGrid, Inc. 2019</Copyright>
2031
</PropertyGroup>
2132

33+
<ItemGroup>
34+
<AssemblyAttribute Include="System.Reflection.AssemblyTrademarkAttribute">
35+
<_Parameter1>Twilio SendGrid</_Parameter1>
36+
</AssemblyAttribute>
37+
</ItemGroup>
38+
2239
<ItemGroup>
2340
<AdditionalFiles Include="stylecop.json" />
2441
</ItemGroup>

0 commit comments

Comments
 (0)