-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
30 lines (26 loc) · 1.36 KB
/
Directory.Build.props
File metadata and controls
30 lines (26 loc) · 1.36 KB
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
<Project>
<!-- Copying the Lombiq logo as an icon to all NuGet-published projects. -->
<Target Name="Copy NuGet icon"
AfterTargets="AfterResolveReferences"
Condition="'$(PackageLicenseFile)' != ''">
<Copy SourceFiles="$(MSBuildThisFileDirectory)LombiqSymbolLogoColorWhiteFlaskSquareForNuGetPackages.png"
DestinationFiles="$(ProjectDir)NuGetIcon.png"
SkipUnchangedFiles="true" />
</Target>
<!-- Uncomment this to switch to how NuGet-publishing GitHub Actions builds work, including referencing Lombiq NuGet
package dependencies instead of submodules. -->
<!--<PropertyGroup>
<NuGetBuild>true</NuGetBuild>
</PropertyGroup>-->
<!-- Uncomment this to run .NET static code analyzers during rebuilds. -->
<!--<PropertyGroup>
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
</PropertyGroup>-->
<Import Project="tools/Lombiq.Analyzers/Lombiq.Analyzers.OrchardCore/Build.props" />
<!-- This option hasn't improved the build time in this solution, but we'll keep it turned on regardless because it
might be the default one day, it can perhaps help in some cases, and it's not causing any issues.
See https://github.com/Lombiq/Open-Source-Orchard-Core-Extensions/issues/423. -->
<PropertyGroup>
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
</PropertyGroup>
</Project>