-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReferenceGate.fsproj
58 lines (51 loc) · 2.34 KB
/
ReferenceGate.fsproj
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Version>1.0.0</Version>
<TargetFrameworks>netstandard2.0;net46</TargetFrameworks>
<!-- Suppresses the warnings about the package not having assemblies in lib/*/.dll.-->
<NoPackageAnalysis>true</NoPackageAnalysis>
<!-- Change the default location where NuGet will put the build output -->
<BuildOutputTargetFolder>tasks</BuildOutputTargetFolder>
<!-- Copy all files to output so we can grab FSharp.Core.dll -->
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
<PropertyGroup>
<Authors>Espen Røvik Larsen</Authors>
<Description>Strict control over which references are allowed (assembly / package / project).</Description>
<PackageId>refGate</PackageId>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageProjectUrl>https://github.com/espenrl/ReferenceGate</PackageProjectUrl>
<PackageTags>ReferenceGate,MSBuild,CommonProjectSystem,CPS</PackageTags>
<PackageReleaseNotes></PackageReleaseNotes>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/espenrl/ReferenceGate.git</RepositoryUrl>
<Title>Reference Gate</Title>
</PropertyGroup>
<ItemGroup>
<Compile Include="ReferenceGateTask.fs" />
</ItemGroup>
<ItemGroup>
<Content Include="refGate.props" PackagePath="build\" />
<Content Include="refGate.targets" PackagePath="build\" />
<Content Include="LICENSE" Pack="true" PackagePath="" />
</ItemGroup>
<!-- ensure dependencies is included in package after build -->
<Target Name="AddFSharpCoreDllToPackage" AfterTargets="Build">
<ItemGroup>
<Content Include="bin\$(Configuration)\netstandard2.0\FSharp.Core.dll">
<PackagePath>tasks\netstandard2.0\</PackagePath>
<Pack>true</Pack>
</Content>
<Content Include="bin\$(Configuration)\net46\FSharp.Core.dll">
<PackagePath>tasks\net46\</PackagePath>
<Pack>true</Pack>
</Content>
</ItemGroup>
</Target>
<ItemGroup>
<PackageReference Include="Microsoft.Build.Framework" Version="15.8.166" />
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="15.8.166" />
<!-- marks all packages as 'local only' so they don't end up in the nuspec -->
<PackageReference Update="@(PackageReference)" PrivateAssets="All" />
</ItemGroup>
</Project>