summaryrefslogtreecommitdiffstats
path: root/SendGrid/SendGridMail/Mail.csproj
diff options
context:
space:
mode:
Diffstat (limited to 'SendGrid/SendGridMail/Mail.csproj')
-rw-r--r--SendGrid/SendGridMail/Mail.csproj71
1 files changed, 18 insertions, 53 deletions
diff --git a/SendGrid/SendGridMail/Mail.csproj b/SendGrid/SendGridMail/Mail.csproj
index 5a77684..9968f16 100644
--- a/SendGrid/SendGridMail/Mail.csproj
+++ b/SendGrid/SendGridMail/Mail.csproj
@@ -1,22 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup Condition="'$(Configuration)' == 'ReleaseNet40'">
- <SignAssembly>true</SignAssembly>
- <AssemblyOriginatorKeyFile>sendgrid-csharp.snk</AssemblyOriginatorKeyFile>
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
- <DebugType>pdbonly</DebugType>
- <Optimize>True</Optimize>
- <OutputPath>bin\ReleaseNet40\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <Prefer32Bit>false</Prefer32Bit>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)' == 'BuildNet40'">
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <PropertyGroup Condition="'$(Configuration)' == 'BuildNet45' Or '$(Configuration)' == 'Debug'">
+ <SignAssembly>false</SignAssembly>
+ <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<DebugType>pdbonly</DebugType>
- <OutputPath>bin\BuildNet40\</OutputPath>
- <DefineConstants>TRACE, BUILD</DefineConstants>
+ <OutputPath>bin\BuildNet45\</OutputPath>
+ <DefineConstants>TRACE, BUILD, DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<RestorePackages>true</RestorePackages>
@@ -24,7 +13,7 @@
<BuildPackage>false</BuildPackage>
<SignAssembly>false</SignAssembly>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)' == 'ReleaseNet45'">
+ <PropertyGroup Condition="'$(Configuration)' == 'Release'">
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>sendgrid-csharp.snk</AssemblyOriginatorKeyFile>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
@@ -57,6 +46,8 @@
<RestorePackages>true</RestorePackages>
<Configuration Condition=" '$(Configuration)' == '' ">ReleaseNet40</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <TargetFrameworkProfile />
+ <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup>
<OutputType>Library</OutputType>
@@ -64,41 +55,23 @@
<PropertyGroup>
<AssemblyName>SendGridMail</AssemblyName>
</PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseNet40|AnyCPU' ">
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<AssemblyOriginatorKeyFile>sendgrid-csharp.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+ <Prefer32Bit>false</Prefer32Bit>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
</PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'BuildNet40|AnyCPU' ">
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'BuildNet45|AnyCPU' ">
<Optimize>false</Optimize>
<SignAssembly>false</SignAssembly>
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseNet45|AnyCPU' ">
- <AssemblyOriginatorKeyFile>sendgrid-csharp.snk</AssemblyOriginatorKeyFile>
- <SignAssembly>true</SignAssembly>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+ <Prefer32Bit>false</Prefer32Bit>
+ <DefineConstants>TRACE, BUILD</DefineConstants>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
+ <DefineConstants>TRACE, DEBUG</DefineConstants>
</PropertyGroup>
- <ItemGroup Condition="'$(Configuration)' == 'ReleaseNet40' Or '$(Configuration)' == 'BuildNet40'">
- <Reference Include="System.Threading.Tasks">
- <HintPath>..\packages\Microsoft.Bcl.1.1.9\lib\net40\System.Threading.Tasks.dll</HintPath>
- </Reference>
- <Reference Include="System.Runtime">
- <HintPath>..\packages\Microsoft.Bcl.1.1.9\lib\net40\System.Runtime.dll</HintPath>
- </Reference>
- <Reference Include="System.IO">
- <HintPath>..\packages\Microsoft.Bcl.1.1.9\lib\net40\System.IO.dll</HintPath>
- </Reference>
- <Reference Include="Microsoft.Threading.Tasks">
- <HintPath>..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll</HintPath>
- </Reference>
- <Reference Include="Microsoft.Threading.Tasks.Extensions">
- <HintPath>..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll</HintPath>
- </Reference>
- <Reference Include="Microsoft.Threading.Tasks.Extensions.Desktop">
- <HintPath>..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll</HintPath>
- </Reference>
- </ItemGroup>
<ItemGroup>
<Reference Include="SendGrid.SmtpApi">
<HintPath>..\packages\SendGrid.SmtpApi.1.1.3\lib\net40\SendGrid.SmtpApi.dll</HintPath>
@@ -107,14 +80,6 @@
<Reference Include="System.Core" />
<Reference Include="System.Net" />
<Reference Include="System.Net.Http" />
- <Reference Include="System.Net.Http.WebRequest" />
- <Reference Include="System.Runtime.Serialization" />
- <Reference Include="System.ServiceModel.Web" />
- <Reference Include="System.Web" />
- <Reference Include="System.Xml.Linq" />
- <Reference Include="System.Data.DataSetExtensions" />
- <Reference Include="Microsoft.CSharp" />
- <Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>