Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

Commit

Permalink
Fix build.props files
Browse files Browse the repository at this point in the history
  • Loading branch information
PolinaSavelyeva committed Sep 10, 2023
1 parent 95618b7 commit c3b7308
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 12 deletions.
25 changes: 14 additions & 11 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
<Project>
<PropertyGroup>
<!-- summary is not migrated from project.json, but you can use the <Description> property for that if needed. -->
<PackageTags>f#, fsharp</PackageTags>
<PackageProjectUrl>https://github.com/PolinaSavelyeva/ImageProcessing</PackageProjectUrl>
<PackageLicenseUrl>https://github.com/PolinaSavelyeva/ImageProcessing/blob/main/LICENSE.md</PackageLicenseUrl>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<RepositoryType>git</RepositoryType>
<Authors>PolinaSavelyeva</Authors>
<RepositoryUrl>https://github.com/PolinaSavelyeva/ImageProcessing</RepositoryUrl>
<!-- owners is not supported in MSBuild -->
</PropertyGroup>
<PropertyGroup>
<PackageTags>f#, fsharp</PackageTags>
<PackageProjectUrl>https://github.com/PolinaSavelyeva/ImageProcessing</PackageProjectUrl>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile> <!--https://docs.microsoft.com/en-gb/nuget/reference/msbuild-targets#packagereadmefile -->
<RepositoryType>git</RepositoryType>
<Authors>PolinaSavelyeva</Authors>
<RepositoryUrl>https://github.com/PolinaSavelyeva/ImageProcessing</RepositoryUrl>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="/"/>
<None Include="$(MSBuildThisFileDirectory)LICENSE.md" Pack="true" PackagePath="/"/>
</ItemGroup>
</Project>
9 changes: 8 additions & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
<Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
<PropertyGroup>
<IsTestProject>false</IsTestProject>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<IsPackable>true</IsPackable>
<IsTestProject>false</IsTestProject>

<!-- Sourcelink -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>

</Project>
1 change: 1 addition & 0 deletions tests/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
<PropertyGroup>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>
</Project>

0 comments on commit c3b7308

Please sign in to comment.