-
-
Notifications
You must be signed in to change notification settings - Fork 452
/
Fody.csproj
42 lines (38 loc) · 2.26 KB
/
Fody.csproj
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net472</TargetFrameworks>
<GeneratePackageOnBuild Condition="'$(Configuration)' == 'Release'">true</GeneratePackageOnBuild>
<Description>Extensible tool for weaving .net assemblies.</Description>
<DevelopmentDependency>true</DevelopmentDependency>
<NuSpecFile>Fody.nuspec</NuSpecFile>
<DebugType>embedded</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\FodyCommon\FodyCommon.csproj" PrivateAssets="All" />
<PackageReference Include="Nullable" Version="1.3.1" PrivateAssets="All" />
<PackageReference Include="Microsoft.Build.Tasks.Core" Version="17.9.5" PrivateAssets="All" />
<Compile Include="..\FodyHelpers\Guard.cs" Link="Guard.cs" />
<Compile Include="..\FodyHelpers\MessageImportance.cs" Link="MessageImportance.cs" />
<Compile Include="..\FodyHelpers\MessageImportanceDefaults.cs" Link="MessageImportanceDefaults.cs" />
<Compile Include="..\FodyHelpers\Testing\PeVerifier.cs" Link="Verify\PeVerifier.cs" />
<Compile Include="..\FodyHelpers\Testing\SdkToolFinder.cs" Link="Verify\SdkToolFinder.cs" />
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<Target Name="SetPackageDependencies" BeforeTargets="GenerateNuspec">
<PropertyGroup>
<NuspecProperties>configuration=$(Configuration);version=$(PackageVersion);authors=$(Authors);iconUrl=$(PackageIconUrl);projectUrl=$(PackageProjectUrl);description=$(Description);tags=$(PackageTags)</NuspecProperties>
</PropertyGroup>
</Target>
<Target Name="PreparePackagesForIntegrationSolution" BeforeTargets="GenerateNuspec">
<WriteLinesToFile Lines="<Project><PropertyGroup><IntegrationVersion>$(PackageVersion)</IntegrationVersion></PropertyGroup></Project>" File="..\Integration\Directory.Build.props" Overwrite="true" />
</Target>
</Project>