Skip to content

Commit

Permalink
csproj updates
Browse files Browse the repository at this point in the history
Target .Net 8, include README.md in nupkg
  • Loading branch information
jas88 committed Mar 19, 2024
1 parent bd5a616 commit b602f42
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 47 deletions.
3 changes: 1 addition & 2 deletions BadDicom/BadDicom.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<ApplicationIcon />
<OutputType>Exe</OutputType>
Expand All @@ -11,7 +11,6 @@
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<DebugType>embedded</DebugType>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PublishSingleFile>true</PublishSingleFile>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion BadMedicine.Dicom.Tests/BadMedicine.Dicom.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<IsPublishable>false</IsPublishable>
</PropertyGroup>
Expand Down
92 changes: 48 additions & 44 deletions BadMedicine.Dicom/BadMedicine.Dicom.csproj
Original file line number Diff line number Diff line change
@@ -1,48 +1,52 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageId>HIC.BadMedicine.Dicom</PackageId>
<Authors>Health Informatics Centre - University of Dundee</Authors>
<PackageDescription>Generate large volumes of complex (in terms of tags) DICOM images for integration/stress testing ETL and image management tools. BadMedicine.Dicom generates DICOM images on demand based on an anonymous aggregate model of tag data found in Scottish medical imaging with a small memory footprint.</PackageDescription>
<PackageProjectUrl>https://github.com/SMI/BadMedicine.Dicom</PackageProjectUrl>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
<Copyright>Copyright 2019</Copyright>
<PackageTags>DICOM,Test Data,Random,Synthetic Data,Health</PackageTags>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="fo-dicom" Version="5.1.2" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>


<ItemGroup>
<None Remove="DicomDataGeneratorDescBodyPart.csv" />
<None Remove="DicomDataGeneratorModalities.csv" />
<None Remove="DicomDataGeneratorTags.csv" />
</ItemGroup>

<ItemGroup>
<Compile Include="..\SharedAssemblyInfo.cs" Link="SharedAssemblyInfo.cs" />
</ItemGroup>

<ItemGroup>
<EmbeddedResource Include="DicomDataGeneratorDescBodyPart.csv" />
<EmbeddedResource Include="DicomDataGeneratorModalities.csv" />
<EmbeddedResource Include="DicomDataGeneratorTags.csv" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="HIC.BadMedicine" Version="1.1.2" />
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.3" />
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="2.1.2" />
</ItemGroup>
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageId>HIC.BadMedicine.Dicom</PackageId>
<Authors>Health Informatics Centre - University of Dundee</Authors>
<PackageDescription>Generate large volumes of complex (in terms of tags) DICOM images for integration/stress testing ETL and image management tools. BadMedicine.Dicom generates DICOM images on demand based on an anonymous aggregate model of tag data found in Scottish medical imaging with a small memory footprint.</PackageDescription>
<PackageProjectUrl>https://github.com/SMI/BadMedicine.Dicom</PackageProjectUrl>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
<Copyright>Copyright 2019</Copyright>
<PackageTags>DICOM,Test Data,Random,Synthetic Data,Health</PackageTags>
<Nullable>enable</Nullable>
<IsAotCompatible>true</IsAotCompatible>
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="fo-dicom" Version="5.1.2" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>


<ItemGroup>
<None Include="..\README.md" Pack="true" PackagePath="\"/>
<None Remove="DicomDataGeneratorDescBodyPart.csv" />
<None Remove="DicomDataGeneratorModalities.csv" />
<None Remove="DicomDataGeneratorTags.csv" />
</ItemGroup>

<ItemGroup>
<Compile Include="..\SharedAssemblyInfo.cs" Link="SharedAssemblyInfo.cs" />
</ItemGroup>

<ItemGroup>
<EmbeddedResource Include="DicomDataGeneratorDescBodyPart.csv" />
<EmbeddedResource Include="DicomDataGeneratorModalities.csv" />
<EmbeddedResource Include="DicomDataGeneratorTags.csv" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="HIC.BadMedicine" Version="1.2.0" />
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.3" />
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="2.1.2" />
</ItemGroup>

</Project>

0 comments on commit b602f42

Please sign in to comment.