-
Notifications
You must be signed in to change notification settings - Fork 0
/
Fody.props
72 lines (56 loc) · 2.69 KB
/
Fody.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<Project>
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>0.1.0</Version>
<FileVersion>$(Version).0</FileVersion>
<AssemblyVersion>$(Version)</AssemblyVersion>
<GenerateDocumentationFile Condition=" '$(Configuration)' == 'Release' ">True</GenerateDocumentationFile>
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">True</GeneratePackageOnBuild>
<CopyLocalLockFileAssemblies>True</CopyLocalLockFileAssemblies>
<DisableFody>True</DisableFody>
<SignAssembly>True</SignAssembly>
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">True</PublicSign>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)Fast.Fody.snk</AssemblyOriginatorKeyFile>
<!-- NuGet properties -->
<Copyright>Copyright 2018 (c) Grégoire Geis</Copyright>
<Authors>Grégoire Geis</Authors>
<Title>$(BaseProjectName).Fody</Title>
<PackageId>$(BaseProjectName).Fody</PackageId>
<PackageVersion>$(Version)</PackageVersion>
<PackageRequireLicenseAcceptance>False</PackageRequireLicenseAcceptance>
<PackageReleaseNotes>- Initial release.</PackageReleaseNotes>
<PackageTags>fody, weaver</PackageTags>
<PackageProjectUrl>https://github.com/6A/Fast.Fody</PackageProjectUrl>
<PackageLicenseUrl>$(PackageProjectUrl)/blob/master/LICENSE.md</PackageLicenseUrl>
<RepositoryUrl>$(PackageProjectUrl).git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<!-- Play nice with Fody -->
<ItemGroup>
<OutputDllFiles Include="$(TargetDir)*.dll" />
</ItemGroup>
<Copy SourceFiles="@(OutputDllFiles)" DestinationFolder="$(ProjectDir)..\Weavers\bin" />
<Copy SourceFiles="$(TargetPath)" DestinationFiles="$(ProjectDir)..\Weavers\bin\Weavers.dll" />
</Target>
<Target Name="CollectRuntimeOutputs" BeforeTargets="_GetPackageFiles">
<!-- Collect these items inside a target that runs after build but before packaging. -->
<ItemGroup>
<Content Include="$(OutputPath)*.dll;$(OutputPath)*.xml;$(OutputPath)$(BaseProjectName).Fody.pdb">
<Pack>true</Pack>
<PackagePath />
</Content>
</ItemGroup>
</Target>
<PropertyGroup Condition=" '$(DebuggingWeaver)' == 'True' ">
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>
<ItemGroup Condition=" '$(DebuggingWeaver)' == 'True' ">
<Compile Include="$(MSBuildThisFileDirectory)FodyDebugProgram.fs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Fody" Version="3.1.2" PrivateAssets="None" />
<PackageReference Include="FodyHelpers" Version="3.1.2" />
</ItemGroup>
</Project>