This repository was archived by the owner on Jul 9, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -73,9 +73,11 @@ public static void Initialize()
7373 return false ;
7474 } ;
7575
76+ #if NET40
7677 //Fix a bug in .NET 4.0
7778 NetFrameworkHelper . UrlPeriodFix ( ) ;
7879 //useUnsafeHeaderParsing
80+ #endif
7981 NetFrameworkHelper . ToggleAllowUnsafeHeaderParsing ( true ) ;
8082 }
8183
Original file line number Diff line number Diff line change 2020 <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU'" >
2121 <PlatformTarget >AnyCPU</PlatformTarget >
2222 <OutputPath >bin\Debug\</OutputPath >
23- <DefineConstants >DEBUG</DefineConstants >
23+ <DefineConstants >DEBUG;NET40 </DefineConstants >
2424 <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
2525 <TargetFrameworkVersion >v4.0</TargetFrameworkVersion >
2626 </PropertyGroup >
2727 <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU'" >
2828 <PlatformTarget >AnyCPU</PlatformTarget >
2929 <OutputPath >bin\Release\</OutputPath >
3030 <TargetFrameworkVersion >v4.0</TargetFrameworkVersion >
31+ <DefineConstants >NET40</DefineConstants >
3132 </PropertyGroup >
3233 <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug-Net45|AnyCPU'" >
3334 <DebugSymbols >true</DebugSymbols >
You can’t perform that action at this time.
0 commit comments