File: Drop-TargetFrameworkProfile-line-from-csproj.patch

package info (click to toggle)
newtonsoft-json 6.0.8%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 15,976 kB
  • ctags: 10,201
  • sloc: cs: 88,735; xml: 31,774; makefile: 44
file content (34 lines) | stat: -rw-r--r-- 1,476 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From: Chow Loong Jin <hyperair@debian.org>
Date: Wed, 10 Jul 2013 20:30:14 +0800
Subject: Drop TargetFrameworkProfile line from csproj

It seems to make the ExtensionAttribute class unavailable, causing FTBFSes.
---
 Src/Newtonsoft.Json/Newtonsoft.Json.Net40.csproj | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Index: newtonsoft-json/Src/Newtonsoft.Json/Newtonsoft.Json.Net40.csproj
===================================================================
--- newtonsoft-json.orig/Src/Newtonsoft.Json/Newtonsoft.Json.Net40.csproj
+++ newtonsoft-json/Src/Newtonsoft.Json/Newtonsoft.Json.Net40.csproj
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
   <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -42,7 +42,6 @@
     <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
     <UseApplicationTrust>false</UseApplicationTrust>
     <BootstrapperEnabled>true</BootstrapperEnabled>
-    <TargetFrameworkProfile>Client</TargetFrameworkProfile>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
     <DebugSymbols>true</DebugSymbols>
@@ -309,4 +308,4 @@
   </ItemGroup>
   <ItemGroup />
   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
-</Project>
\ No newline at end of file
+</Project>