Skip to content

Commit 2b958ce

Browse files
authored
Add sourcelink (#216)
* Add sourcelink and fixed net35 * fix
1 parent b2ab0a8 commit 2b958ce

File tree

4 files changed

+23
-17
lines changed

4 files changed

+23
-17
lines changed

src/EntityFramework.DynamicLinq/EntityFramework.DynamicLinq.csproj

+4-2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
<DefaultLanguage>en-us</DefaultLanguage>
2828
<ProjectGuid>{D3804228-91F4-4502-9595-39584E510000}</ProjectGuid>
2929
<DebugType>full</DebugType>
30+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
31+
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
3032
</PropertyGroup>
3133

3234
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
@@ -53,8 +55,8 @@
5355
<PackageReference Include="EntityFramework" Version="6.1.3" />
5456
</ItemGroup>
5557

56-
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
58+
<!--<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
5759
<Reference Include="System" />
5860
<Reference Include="Microsoft.CSharp" />
59-
</ItemGroup>
61+
</ItemGroup>-->
6062
</Project>

src/Microsoft.EntityFrameworkCore.DynamicLinq/Microsoft.EntityFrameworkCore.DynamicLinq.csproj

+12-10
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
<DefaultLanguage>en-us</DefaultLanguage>
2929
<ProjectGuid>{D3804228-91F4-4502-9595-39584E510001}</ProjectGuid>
3030
<DebugType>full</DebugType>
31+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
32+
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
3133
</PropertyGroup>
3234

3335
<PropertyGroup Condition=" '$(buildType)' == 'azure-pipelines-ci' ">
@@ -73,32 +75,32 @@
7375
</ItemGroup>
7476

7577
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
76-
<Reference Include="System" />
77-
<Reference Include="Microsoft.CSharp" />
78+
<!--<Reference Include="System" />
79+
<Reference Include="Microsoft.CSharp" />-->
7880
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="1.1.0" />
7981
</ItemGroup>
8082

8183
<ItemGroup Condition=" '$(TargetFramework)' == 'net451' ">
82-
<Reference Include="System" />
83-
<Reference Include="Microsoft.CSharp" />
84+
<!--<Reference Include="System" />
85+
<Reference Include="Microsoft.CSharp" />-->
8486
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="1.1.0" />
8587
</ItemGroup>
8688

8789
<ItemGroup Condition=" '$(TargetFramework)' == 'net452' ">
88-
<Reference Include="System" />
89-
<Reference Include="Microsoft.CSharp" />
90+
<!--<Reference Include="System" />
91+
<Reference Include="Microsoft.CSharp" />-->
9092
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="1.1.0" />
9193
</ItemGroup>
9294

9395
<ItemGroup Condition=" '$(TargetFramework)' == 'net46' ">
94-
<Reference Include="System" />
95-
<Reference Include="Microsoft.CSharp" />
96+
<!--<Reference Include="System" />
97+
<Reference Include="Microsoft.CSharp" />-->
9698
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="1.1.0" />
9799
</ItemGroup>
98100

99101
<ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
100-
<Reference Include="System" />
101-
<Reference Include="Microsoft.CSharp" />
102+
<!--<Reference Include="System" />
103+
<Reference Include="Microsoft.CSharp" />-->
102104
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="1.1.0" />
103105
</ItemGroup>
104106

src/System.Linq.Dynamic.Core/Parser/ExpressionParser.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1276,7 +1276,7 @@ private Expression CreateNewExpression(List<DynamicProperty> properties, List<Ex
12761276
for (int i = 0; i < propertyTypes.Length; i++)
12771277
{
12781278
Type propertyType = propertyTypes[i];
1279-
Type expressionType = expressions[i].Type;
1279+
// Type expressionType = expressions[i].Type;
12801280

12811281
// Promote from Type to Nullable Type if needed
12821282
expressionsPromoted.Add(_parsingConfig.ExpressionPromoter.Promote(expressions[i], propertyType, true, true));
@@ -1290,7 +1290,7 @@ private Expression CreateNewExpression(List<DynamicProperty> properties, List<Ex
12901290
{
12911291
PropertyInfo property = type.GetProperty(properties[i].Name);
12921292
Type propertyType = property.PropertyType;
1293-
Type expressionType = expressions[i].Type;
1293+
// Type expressionType = expressions[i].Type;
12941294

12951295
// Promote from Type to Nullable Type if needed
12961296
bindings[i] = Expression.Bind(property, _parsingConfig.ExpressionPromoter.Promote(expressions[i], propertyType, true, true));

src/System.Linq.Dynamic.Core/System.Linq.Dynamic.Core.csproj

+5-3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
<DefaultLanguage>en-us</DefaultLanguage>
2020
<ProjectGuid>{D3804228-91F4-4502-9595-39584E510002}</ProjectGuid>
2121
<DebugType>full</DebugType>
22+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
23+
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
2224
</PropertyGroup>
2325

2426
<PropertyGroup Condition=" '$(buildType)' == 'azure-pipelines-ci' ">
@@ -56,10 +58,10 @@
5658
<PackageReference Include="NetLegacySupport.ConcurrentDictionary">
5759
<Version>1.1.1</Version>
5860
</PackageReference>
59-
<Reference Include="System" />
61+
<!--<Reference Include="System" />-->
6062
</ItemGroup>
6163

62-
<ItemGroup Condition=" '$(TargetFramework)' == 'net40' ">
64+
<!--<ItemGroup Condition=" '$(TargetFramework)' == 'net40' ">
6365
<Reference Include="System" />
6466
<Reference Include="Microsoft.CSharp" />
6567
</ItemGroup>
@@ -77,7 +79,7 @@
7779
<ItemGroup Condition=" '$(TargetFramework)' == 'net46' ">
7880
<Reference Include="System" />
7981
<Reference Include="Microsoft.CSharp" />
80-
</ItemGroup>
82+
</ItemGroup>-->
8183

8284
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
8385
<PackageReference Include="System.ComponentModel.TypeConverter" Version="4.3.0" />

0 commit comments

Comments
 (0)