forked from tom-englert/AutoProperties.Fody
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCommon.props
53 lines (44 loc) · 2.17 KB
/
Common.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<Authors>tom-englert</Authors>
<Company>tom-englert.de</Company>
<Title Condition="'$(Title)' == ''">$(Product)</Title>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<GitHubOrganization>tom-englert</GitHubOrganization>
<PackageId>$(MSBuildProjectName).Fody</PackageId>
<PackageOutputPath>$(SolutionDir)nugets</PackageOutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net40-client'">
<TargetFrameworkIdentifier>.NETFramework</TargetFrameworkIdentifier>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>client</TargetFrameworkProfile>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'portable40-net40+sl5+win8+wp8+wpa81'">
<TargetFrameworkIdentifier>.NETPortable</TargetFrameworkIdentifier>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Profile328</TargetFrameworkProfile>
<DefineConstants>$(DefineConstants);PORTABLE</DefineConstants>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'portable40-net40+sl5+win8+wp8+wpa81'">
<Reference Include="System" />
<Reference Include="System.Core" />
</ItemGroup>
<ItemGroup>
<WeaverFiles Include="$(SolutionDir)$(SolutionName)\bin\$(Configuration)\Net46\$(SolutionName).dll" />
</ItemGroup>
<ItemGroup>
<TfmSpecificPackageFile Include="build\*.targets" PackagePath="build" />
</ItemGroup>
<ItemGroup>
<PackageIconFile Include="$(SolutionDir)*icon*.png" />
<PackageLicenseFile Include="$(SolutionDir)*license*" />
</ItemGroup>
<PropertyGroup>
<PackageIconFileName>@(PackageIconFile->'%(Filename)%(Extension)')</PackageIconFileName>
<PackageLicenseFileName>@(PackageLicenseFile->'%(Filename)%(Extension)')</PackageLicenseFileName>
<PackageProjectUrl>http://github.com/$(GitHubOrganization)/$(PackageId)</PackageProjectUrl>
<PackageIconUrl>https://raw.githubusercontent.com/$(GitHubOrganization)/$(PackageId)/master/$(PackageIconFileName)</PackageIconUrl>
<PackageLicenseFile>$(PackageLicenseFileName)</PackageLicenseFile>
</PropertyGroup>
</Project>