Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace nuspec and AssemblyInfo with csproj #892

Merged
merged 1 commit into from
Jun 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ For sample implementations, see the [.NET Core Example](https://github.com/sendg

## Dependencies

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

<a name="quick-start"></a>
# Quick Start
Expand Down
42 changes: 0 additions & 42 deletions nuspec/Sendgrid.9.11.0.nuspec

This file was deleted.

39 changes: 14 additions & 25 deletions src/SendGrid/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,25 +1,14 @@
// <copyright file="AssemblyInfo.cs" company="Twilio SendGrid">
// Copyright (c) Twilio SendGrid. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>

using System.Reflection;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyCompany("Twilio SendGrid")]
[assembly: AssemblyProduct("Twilio SendGrid")]
[assembly: AssemblyTrademark("Twilio SendGrid")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("377c20e4-2297-488f-933b-fb635c56d8fc")]

[assembly: AssemblyInformationalVersion("9.11.0")]
// <copyright file="AssemblyInfo.cs" company="Twilio SendGrid">
// Copyright (c) Twilio SendGrid. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>

using System.Runtime.InteropServices;

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("377c20e4-2297-488f-933b-fb635c56d8fc")]
29 changes: 23 additions & 6 deletions src/SendGrid/SendGrid.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,37 @@
<TargetFrameworks>netstandard1.3;netstandard2.0;net452</TargetFrameworks>
<PlatformTarget>anycpu</PlatformTarget>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<AssemblyName>SendGrid</AssemblyName>
<OutputType>Library</OutputType>
<AssemblyOriginatorKeyFile>../../tools/sendgrid-csharp.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
<PackageId>SendGrid</PackageId>
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
<GenerateAssemblyInformationalVersionAttribute>false</GenerateAssemblyInformationalVersionAttribute>
<DebugSymbols Condition=" '$(TargetFramework)' == 'net452' ">true</DebugSymbols>
<DebugType Condition=" '$(TargetFramework)' == 'net452' ">full</DebugType>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb;.xml</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>

<PropertyGroup>
<AssemblyName>SendGrid</AssemblyName>
<Authors>Elmer Thomas;Twilio DX Team</Authors>
<Company>Twilio SendGrid</Company>
<Product>Twilio SendGrid</Product>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://sendgrid.com/</PackageProjectUrl>
<RepositoryUrl>https://github.com/sendgrid/sendgrid-csharp.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageIconUrl>https://sendgrid.com/wp-content/themes/sgdotcom/pages/resource/brand//2016/SendGrid-Logomark.png</PackageIconUrl>
<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>
<PackageReleaseNotes>Please see: https://github.com/sendgrid/sendgrid-csharp/releases</PackageReleaseNotes>
<PackageTags>Twilio;SendGrid;Email;Mail;Microsoft;Azure;Transactional;.NET Core</PackageTags>
<Copyright>Twilio SendGrid, Inc. 2019</Copyright>
</PropertyGroup>

<ItemGroup>
<AssemblyAttribute Include="System.Reflection.AssemblyTrademarkAttribute">
<_Parameter1>Twilio SendGrid</_Parameter1>
</AssemblyAttribute>
</ItemGroup>

<ItemGroup>
<AdditionalFiles Include="stylecop.json" />
</ItemGroup>
Expand Down