1- <?xml version =" 1.0" encoding =" utf-8" ?>
2- <Project ToolsVersion =" 14.0" DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3- <Import Project =" $(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition =" Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
1+ <Project Sdk =" Microsoft.NET.Sdk" >
2+
43 <PropertyGroup >
5- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
6- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
7- <ProjectGuid >{B43B3EA7-F12E-45C1-8BE5-D3BE1C8DBA1F}</ProjectGuid >
8- <OutputType >Library</OutputType >
9- <AppDesignerFolder >Properties</AppDesignerFolder >
4+ <TargetFrameworks >netcoreapp3.1;net45</TargetFrameworks >
105 <RootNamespace >Griddly.Mvc</RootNamespace >
11- <AssemblyName >Griddly.Mvc</AssemblyName >
12- <TargetFrameworkVersion >v4.5</TargetFrameworkVersion >
13- <FileAlignment >512</FileAlignment >
14- <SolutionDir Condition =" $(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'" >..\</SolutionDir >
15- <RestorePackages >true</RestorePackages >
16- <TargetFrameworkProfile />
6+ <GenerateAssemblyInfo >false</GenerateAssemblyInfo >
177 </PropertyGroup >
18- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
19- <DebugSymbols >true</DebugSymbols >
20- <DebugType >full</DebugType >
21- <Optimize >false</Optimize >
22- <OutputPath >bin\Debug\</OutputPath >
23- <DefineConstants >DEBUG;TRACE</DefineConstants >
24- <ErrorReport >prompt</ErrorReport >
25- <WarningLevel >4</WarningLevel >
26- <Prefer32Bit >false</Prefer32Bit >
27- </PropertyGroup >
28- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
29- <DebugType >pdbonly</DebugType >
30- <Optimize >true</Optimize >
31- <OutputPath >bin\Release\</OutputPath >
32- <DefineConstants >TRACE</DefineConstants >
33- <ErrorReport >prompt</ErrorReport >
34- <WarningLevel >4</WarningLevel >
35- <Prefer32Bit >false</Prefer32Bit >
36- </PropertyGroup >
37- <ItemGroup >
38- <Reference Include =" CsvHelper, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8c4959082be5c823, processorArchitecture=MSIL" >
39- <SpecificVersion >False</SpecificVersion >
40- <HintPath >..\packages\CsvHelper.2.4.1\lib\net40-client\CsvHelper.dll</HintPath >
41- </Reference >
42- <Reference Include =" Dapper, Version=1.50.2.0, Culture=neutral, processorArchitecture=MSIL" >
43- <HintPath >..\packages\Dapper.1.50.2\lib\net45\Dapper.dll</HintPath >
44- <Private >True</Private >
45- </Reference >
46- <Reference Include =" EPPlus" >
47- <HintPath >..\packages\EPPlus.3.1.3.3\lib\net35\EPPlus.dll</HintPath >
48- </Reference >
49- <Reference Include =" Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" >
50- <Private >True</Private >
51- <HintPath >..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath >
52- </Reference >
53- <Reference Include =" Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL" >
54- <HintPath >..\packages\Newtonsoft.Json.11.0.2\lib\net45\Newtonsoft.Json.dll</HintPath >
55- </Reference >
56- <Reference Include =" System" />
8+
9+ <ItemGroup Condition =" $(TargetFramework.StartsWith('net4'))" >
10+ <PackageReference Include =" Microsoft.AspNet.Mvc" Version =" 5.2.7" />
11+
5712 <Reference Include =" System.ComponentModel.DataAnnotations" />
58- <Reference Include =" System.Core" />
5913 <Reference Include =" System.Data.Entity.Design" />
6014 <Reference Include =" System.Web" />
61- <Reference Include =" System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" >
62- <HintPath >..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.Helpers.dll</HintPath >
63- </Reference >
64- <Reference Include =" System.Web.Mvc, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" >
65- <HintPath >..\packages\Microsoft.AspNet.Mvc.5.2.7\lib\net45\System.Web.Mvc.dll</HintPath >
66- </Reference >
67- <Reference Include =" System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" >
68- <HintPath >..\packages\Microsoft.AspNet.Razor.3.2.7\lib\net45\System.Web.Razor.dll</HintPath >
69- </Reference >
70- <Reference Include =" System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" >
71- <HintPath >..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.dll</HintPath >
72- </Reference >
73- <Reference Include =" System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" >
74- <HintPath >..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.Deployment.dll</HintPath >
75- </Reference >
76- <Reference Include =" System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" >
77- <HintPath >..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.Razor.dll</HintPath >
78- </Reference >
79- <Reference Include =" System.Xml.Linq" />
80- <Reference Include =" System.Data.DataSetExtensions" />
81- <Reference Include =" Microsoft.CSharp" />
82- <Reference Include =" System.Data" />
83- <Reference Include =" System.Xml" />
8415 </ItemGroup >
85- <ItemGroup >
86- <Compile Include =" ..\Build\CommonAssemblyInfo.cs" >
87- <Link >Properties\CommonAssemblyInfo.cs</Link >
88- </Compile >
89- <Compile Include =" DynamicLinq.cs" />
90- <Compile Include =" EmptyGridMessageTemplateParams.cs" />
91- <Compile Include =" Exceptions\DapperGriddlyException.cs" />
92- <Compile Include =" GriddlyContext.cs" />
93- <Compile Include =" GriddlyCookieFilterValueProvider.cs" />
94- <Compile Include =" GriddlyCss.cs" />
95- <Compile Include =" GriddlyFilterExtensions.cs" />
96- <Compile Include =" GriddlyHtmlFilter.cs" />
97- <Compile Include =" GriddlyExport.cs" />
98- <Compile Include =" GriddlyFilterBarSettings.cs" />
99- <Compile Include =" GriddlyParameterAttribute.cs" />
100- <Compile Include =" IFilterSettings.cs" />
101- <Compile Include =" InternalExtensions.cs" />
102- <Compile Include =" GriddlyButton.cs" />
103- <Compile Include =" GriddlyColumn.cs" />
104- <Compile Include =" GriddlyCsvResult.cs" />
105- <Compile Include =" GriddlyExcelResult.cs" />
106- <Compile Include =" GriddlyExtensions.cs" />
107- <Compile Include =" GriddlyFilter.cs" />
108- <Compile Include =" GriddlyHtmlButton.cs" />
109- <Compile Include =" GriddlyResult.cs" />
110- <Compile Include =" GriddlyResultPage.cs" />
111- <Compile Include =" GriddlySelectColumn.cs" />
112- <Compile Include =" GriddlySettings.cs" />
113- <Compile Include =" GriddlySettingsResult.cs" />
114- <Compile Include =" IHasOverallCount.cs" />
115- <Compile Include =" ListPage.cs" />
116- <Compile Include =" Properties\AssemblyInfo.cs" />
117- <Compile Include =" Results\DapperResult.cs" />
118- <Compile Include =" Results\DapperSql2008Result.cs" />
119- <Compile Include =" Results\DapperSql2012Result.cs" />
120- <Compile Include =" Results\MapQueryableResult.cs" />
121- <Compile Include =" Results\QueryableResult.cs" />
122- <Compile Include =" SelectListItemGroup.cs" />
123- <Compile Include =" SortField.cs" />
16+
17+ <ItemGroup Condition =" $(TargetFramework.StartsWith('netcoreapp'))" >
18+ <PackageReference Include =" Microsoft.AspNetCore.Mvc.Razor" Version =" 2.2.0" />
19+ <PackageReference Include =" PluralizeService.Core" Version =" 1.0.0.5" />
20+ <PackageReference Include =" System.Linq.Dynamic.Core" Version =" 1.0.9.2" />
12421 </ItemGroup >
22+
12523 <ItemGroup >
126- <None Include =" packages.config" />
24+ <PackageReference Include =" CsvHelper" Version =" 12.1.1" />
25+ <PackageReference Include =" Dapper" Version =" 1.50.2" />
26+ <PackageReference Include =" EPPlus" Version =" 4.5.3" />
27+ <PackageReference Include =" Newtonsoft.Json" Version =" 12.0.3" />
12728 </ItemGroup >
128- <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
129- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
130- Other similar extension points exist, see Microsoft.Common.targets.
131- <Target Name="BeforeBuild">
132- </Target>
133- <Target Name="AfterBuild">
134- </Target>
135- -->
29+
13630</Project >
0 commit comments