1
- <? xml version = " 1.0 " encoding = " utf-8 " ? >
2
- < Project Sdk = " Microsoft.NET.Sdk.WindowsDesktop " ToolsVersion = " 15.0 " >
1
+ <Project Sdk = " Microsoft.NET.Sdk.WindowsDesktop " >
2
+
3
3
<PropertyGroup >
4
- <ProjectGuid >{8DE93D00-4B56-424B-AA7D-02C4A4A41F0D}</ProjectGuid >
5
- <RootNamespace >LambdaConverters</RootNamespace >
6
4
<TargetFrameworks >netcoreapp3.0;net46;net45</TargetFrameworks >
7
- </PropertyGroup >
8
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
9
- <DocumentationFile >bin\Debug\LambdaConverters.Wpf.xml</DocumentationFile >
10
- <Prefer32Bit >false</Prefer32Bit >
11
- </PropertyGroup >
12
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
13
- <DebugType >pdbonly</DebugType >
14
- <Optimize >true</Optimize >
15
- <OutputPath >bin\Release\</OutputPath >
16
- <DefineConstants >TRACE</DefineConstants >
17
- <TreatWarningsAsErrors >true</TreatWarningsAsErrors >
18
- <DocumentationFile >bin\Release\LambdaConverters.Wpf.xml</DocumentationFile >
19
- <Prefer32Bit >false</Prefer32Bit >
20
- </PropertyGroup >
21
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
22
- <SignAssembly >true</SignAssembly >
23
- </PropertyGroup >
24
- <PropertyGroup Condition =" '$(TargetFramework)' == 'netcoreapp3.0' " >
5
+ <!-- <UseWPF Condition=" '$(TargetFramework)' == 'netcoreapp3.0' ">true</UseWPF>-->
25
6
<UseWPF >true</UseWPF >
26
- </PropertyGroup >
27
- <PropertyGroup >
7
+ <GenerateDocumentationFile >true</GenerateDocumentationFile >
28
8
<AssemblyOriginatorKeyFile >Properties\LambdaConverters.public.snk</AssemblyOriginatorKeyFile >
29
- </PropertyGroup >
30
- <PropertyGroup >
31
9
<DelaySign >true</DelaySign >
32
10
<PackageId >LambdaConverters</PackageId >
33
11
<Version >3.0.0</Version >
34
12
<Authors >Michael Damatov, Dimitri Enns, Alex Helms</Authors >
35
- <Company />
36
- <Product />
37
13
<Description >The library allows to create IValueConverter, IMultiValueConverter, DataTemplateSelector, and ValidationRule objects with the most convenient syntax available, ideally, using the lambda expressions.</Description >
38
14
<PackageLicenseUrl >https://github.com/michael-damatov/lambda-converters/blob/master/LICENSE</PackageLicenseUrl >
39
15
<PackageProjectUrl >https://github.com/michael-damatov/lambda-converters</PackageProjectUrl >
42
18
<PackageTags >lambda expression converter wpf strongly typed value multi data template selector validation rule</PackageTags >
43
19
<GeneratePackageOnBuild >true</GeneratePackageOnBuild >
44
20
</PropertyGroup >
45
- <ItemGroup >
21
+
22
+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
23
+ <CheckForOverflowUnderflow >true</CheckForOverflowUnderflow >
24
+ <DefineConstants >DEBUG;TRACE</DefineConstants >
25
+ </PropertyGroup >
26
+
27
+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
28
+ <DebugType >pdbonly</DebugType >
29
+ <SignAssembly >true</SignAssembly >
30
+ </PropertyGroup >
31
+
32
+ <ItemGroup Condition =" '$(TargetFramework)' != 'netcoreapp3.0'" >
46
33
<Reference Include =" PresentationFramework" />
47
34
<Reference Include =" WindowsBase" />
48
35
</ItemGroup >
36
+
49
37
<ItemGroup >
50
38
<None Include =" Properties\LambdaConverters.public.snk" />
51
39
</ItemGroup >
40
+
52
41
<ItemGroup >
53
- <PackageReference Include =" JetBrains.Annotations" Version =" 11.0.0" >
54
- <PrivateAssets >All</PrivateAssets >
55
- </PackageReference >
42
+ <PackageReference Include =" JetBrains.Annotations" Version =" 11.0.0" PrivateAssets =" All" />
56
43
</ItemGroup >
44
+
57
45
<ItemGroup >
58
- <None Update =" Annotations\LambdaConverters.Annotations.nuspec" >
59
- <CopyToOutputDirectory >Never</CopyToOutputDirectory >
60
- </None >
61
- <None Update =" Annotations\LambdaConverters.Wpf\1.0.0.0.xml" >
62
- <CopyToOutputDirectory >Never</CopyToOutputDirectory >
63
- </None >
46
+ <None Update =" Annotations\**" CopyToOutputDirectory =" Never" />
64
47
</ItemGroup >
65
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
66
- Other similar extension points exist, see Microsoft.Common.targets.
67
- <Target Name="BeforeBuild">
68
- </Target>
69
- <Target Name="AfterBuild">
70
- </Target>
71
- -->
48
+
72
49
<Target Name =" ResignAssemblies" AfterTargets =" CopyFilesToOutputDirectory" Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
73
50
<GetFrameworkSdkPath >
74
51
<Output TaskParameter =" Path" PropertyName =" FrameworkSdkPath" />
79
56
</PropertyGroup >
80
57
<Exec Command =" " $(SnPath)" -R " $(TargetPath)" " $(SnkPath)" " />
81
58
</Target >
59
+
82
60
<Target Name =" GenegateAnnotationsPackage" AfterTargets =" GenerateNuspec" >
83
61
<Exec Command =" " $(SolutionDir)NuGet.exe" pack " $(MSBuildProjectDirectory)\Annotations\LambdaConverters.Annotations.nuspec" -OutputDirectory " $(MSBuildProjectDirectory)\bin\$(Configuration)" -NoPackageAnalysis" />
84
62
</Target >
63
+
85
64
</Project >
0 commit comments