Skip to content

Commit 6b46128

Browse files
committed
Support netstandard2.0; closes #2.
1 parent 9c4be84 commit 6b46128

File tree

3 files changed

+52
-5
lines changed

3 files changed

+52
-5
lines changed

src/SrkCsv.sln

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 2012
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.27703.2000
5+
MinimumVisualStudioVersion = 10.0.40219.1
46
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SrkCsv", "SrkCsv\SrkCsv.csproj", "{9CCF4C69-4F91-46E1-B185-66E9D4EA9FB1}"
57
EndProject
68
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SrkCsv.UnitTests", "SrkCsv.UnitTests\SrkCsv.UnitTests.csproj", "{5247402A-526A-4226-B472-B727137DD5B8}"
79
EndProject
10+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SrkCsv.STD", "SrkCsv\SrkCsv.STD.csproj", "{501353C3-D9BD-4B02-86EE-62A1532B5B06}"
11+
EndProject
812
Global
913
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1014
Debug|Any CPU = Debug|Any CPU
@@ -19,8 +23,15 @@ Global
1923
{5247402A-526A-4226-B472-B727137DD5B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
2024
{5247402A-526A-4226-B472-B727137DD5B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
2125
{5247402A-526A-4226-B472-B727137DD5B8}.Release|Any CPU.Build.0 = Release|Any CPU
26+
{501353C3-D9BD-4B02-86EE-62A1532B5B06}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27+
{501353C3-D9BD-4B02-86EE-62A1532B5B06}.Debug|Any CPU.Build.0 = Debug|Any CPU
28+
{501353C3-D9BD-4B02-86EE-62A1532B5B06}.Release|Any CPU.ActiveCfg = Release|Any CPU
29+
{501353C3-D9BD-4B02-86EE-62A1532B5B06}.Release|Any CPU.Build.0 = Release|Any CPU
2230
EndGlobalSection
2331
GlobalSection(SolutionProperties) = preSolution
2432
HideSolutionNode = FALSE
2533
EndGlobalSection
34+
GlobalSection(ExtensibilityGlobals) = postSolution
35+
SolutionGuid = {6C162E57-5DFC-4698-8A6E-B8EDEC73E76A}
36+
EndGlobalSection
2637
EndGlobal

src/SrkCsv/SrkCsv.STD.csproj

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>netstandard2.0</TargetFramework>
5+
<AssemblyName>SrkCsv</AssemblyName>
6+
<RootNamespace>SrkCsv</RootNamespace>
7+
</PropertyGroup>
8+
9+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
10+
<DocumentationFile>bin\Debug\netstandard2.0\SrkCsv.xml</DocumentationFile>
11+
</PropertyGroup>
12+
13+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
14+
<DocumentationFile>bin\Release\netstandard2.0\SrkCsv.xml</DocumentationFile>
15+
</PropertyGroup>
16+
17+
<ItemGroup>
18+
<Compile Remove="obj0\**" />
19+
<EmbeddedResource Remove="obj0\**" />
20+
<None Remove="obj0\**" />
21+
</ItemGroup>
22+
23+
<ItemGroup>
24+
<Compile Remove="Properties\AssemblyInfo.cs" />
25+
</ItemGroup>
26+
27+
<ItemGroup>
28+
<None Remove="SrkToolkit.snk" />
29+
</ItemGroup>
30+
31+
<ItemGroup>
32+
<Folder Include="Properties\" />
33+
</ItemGroup>
34+
35+
</Project>

src/SrkCsv/SrkCsv.csproj

+5-4
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,26 @@
1111
<AssemblyName>SrkCsv</AssemblyName>
1212
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
14+
<BaseIntermediateOutputPath>obj0\</BaseIntermediateOutputPath>
1415
</PropertyGroup>
1516
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1617
<DebugSymbols>true</DebugSymbols>
1718
<DebugType>full</DebugType>
1819
<Optimize>false</Optimize>
19-
<OutputPath>bin\Debug\</OutputPath>
20+
<OutputPath>bin\Debug\net40\</OutputPath>
2021
<DefineConstants>DEBUG;TRACE</DefineConstants>
2122
<ErrorReport>prompt</ErrorReport>
2223
<WarningLevel>4</WarningLevel>
23-
<DocumentationFile>bin\Debug\SrkCsv.xml</DocumentationFile>
24+
<DocumentationFile>bin\Debug\net40\SrkCsv.xml</DocumentationFile>
2425
</PropertyGroup>
2526
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2627
<DebugType>pdbonly</DebugType>
2728
<Optimize>true</Optimize>
28-
<OutputPath>bin\Release\</OutputPath>
29+
<OutputPath>bin\Release\net40\</OutputPath>
2930
<DefineConstants>TRACE</DefineConstants>
3031
<ErrorReport>prompt</ErrorReport>
3132
<WarningLevel>4</WarningLevel>
32-
<DocumentationFile>bin\Release\SrkCsv.xml</DocumentationFile>
33+
<DocumentationFile>bin\Release\net40\SrkCsv.xml</DocumentationFile>
3334
</PropertyGroup>
3435
<PropertyGroup>
3536
<SignAssembly>true</SignAssembly>

0 commit comments

Comments
 (0)