From fb135eeb234141364e4e3d2f13f43b5c8c58ae48 Mon Sep 17 00:00:00 2001 From: Koen Bekkenutte <2912652+kbekkenutte@users.noreply.github.com> Date: Mon, 31 May 2021 01:15:35 +0800 Subject: [PATCH] Prepping project for for first preview release --- Directory.Build.props | 7 ++++ Key.snk | Bin 0 -> 596 bytes LICENSE.md | 21 ++++++++++++ README.md | 1 + samples/BasicSample/BasicSample.csproj | 1 + src/Directory.Build.props | 30 ++++++++++++++++++ .../Extensions/TypeExtensions.cs | 1 - .../ProjectableExpressionReplacerTests.cs | 2 +- 8 files changed, 61 insertions(+), 2 deletions(-) create mode 100644 Key.snk create mode 100644 LICENSE.md create mode 100644 README.md create mode 100644 src/Directory.Build.props diff --git a/Directory.Build.props b/Directory.Build.props index 27e8f16..3c6b7b8 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -4,11 +4,18 @@ true 9.0 enable + true true + CS1591 Koen Bekkenutte + MIT + https://github.com/koenbeuk/EntityFrameworkCore.Projections + https://github.com/koenbeuk/EntityFrameworkCore.Projections.git + git + https://github.com/koenbeuk/EntityFrameworkCore.Projections/releases \ No newline at end of file diff --git a/Key.snk b/Key.snk new file mode 100644 index 0000000000000000000000000000000000000000..2ff0c617026894c8b769d6c74caf2a969ec15120 GIT binary patch literal 596 zcmV-a0;~N80ssI2Bme+XQ$aES1ONa50097VAn|0)P}v?TXg@LbV;ub$<#fkQ=iGa7@Rm>BK=PpQ^2C^g7CKs94# zb~FX*HN)p~pLFRXs~`uIiBc9GLIuLtWa}CHnm%1ybp4vc+N3WNh^lsc7z{0fwtwp1 zj3#UdvMAd$LXj4~fIk@u)$LvJ^+vss=Kn@9yb-Kv05k^F{?vwQ%qE<9>8%H_AptF| zsQsOoCBDz~+`P0%K*5L8>u+geW+17?-=jhGTHo{_&jB-WfYQlY8eNmucXv!3A4ywe z5L%m{-J#{QJ$W}eVqA*DEDbuwex>^AKmr~W^Q^ua4%&Jm)Uh$(b5n$)nAtBle*snC ztuy*~Av5Cn8_ma33smh{bci2^am|XHuc`UZ3};hQ@-W_Tv($SeQ-r6zN-Y&?{l`L$ z)C{Pd8CN`k$VxV%xWPWb)a`|s?sTN=kw@fs9ULTxxW|%G-g4Oz1GFPzpm;=&A94Yj zcy^7WSO5U~3=*kSY{LW-{sU>z3(6iPpBrbam&Ev77Q+*`YN0y)&=vjJi%Sz)lH=jj i!VVHs`rVG31Wu<*$`F|BaxCT`td#K-7Ah=O$;A=MsT%13 literal 0 HcmV?d00001 diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..8772453 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Project Author + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..30404ce --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +TODO \ No newline at end of file diff --git a/samples/BasicSample/BasicSample.csproj b/samples/BasicSample/BasicSample.csproj index 9d5df10..9ca6ff6 100644 --- a/samples/BasicSample/BasicSample.csproj +++ b/samples/BasicSample/BasicSample.csproj @@ -6,6 +6,7 @@ disable true $(BaseIntermediateOutputPath)Generated + false diff --git a/src/Directory.Build.props b/src/Directory.Build.props new file mode 100644 index 0000000..ead8a2e --- /dev/null +++ b/src/Directory.Build.props @@ -0,0 +1,30 @@ + + + + + + true + snupkg + README.md + + + + true + ../../Key.snk + + + + true + true + $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb + + + + + + + + + + + diff --git a/src/EntityFrameworkCore.Projections/Extensions/TypeExtensions.cs b/src/EntityFrameworkCore.Projections/Extensions/TypeExtensions.cs index 823785c..87f39bb 100644 --- a/src/EntityFrameworkCore.Projections/Extensions/TypeExtensions.cs +++ b/src/EntityFrameworkCore.Projections/Extensions/TypeExtensions.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; -using System.Runtime.Intrinsics.Arm; using System.Text; using System.Threading.Tasks; diff --git a/tests/EntityFrameworkCore.Projections.Tests/Services/ProjectableExpressionReplacerTests.cs b/tests/EntityFrameworkCore.Projections.Tests/Services/ProjectableExpressionReplacerTests.cs index d9d6a1e..490ac96 100644 --- a/tests/EntityFrameworkCore.Projections.Tests/Services/ProjectableExpressionReplacerTests.cs +++ b/tests/EntityFrameworkCore.Projections.Tests/Services/ProjectableExpressionReplacerTests.cs @@ -24,7 +24,7 @@ namespace EntityFrameworkCore.Projections.Tests.Services public LambdaExpression FindGeneratedExpression(MemberInfo projectableMemberInfo) => _implementation(projectableMemberInfo); } - public class Entity + class Entity { public int Id { get; set; }