Skip to content

Commit

Permalink
Bump to .net8 and increase version number (#222)
Browse files Browse the repository at this point in the history
* bump dependancies
* Mark Windows-only builds as such (System.Runtime.Versioning.SupportedOSPlatformAttribute in SharedAssemblyInfo.cs).

---------

Co-authored-by: James A Sutherland <>
Co-authored-by: James A Sutherland <[email protected]>
  • Loading branch information
JFriel and jas88 authored Mar 19, 2024
1 parent d224ad5 commit 9673bac
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Repopulator/Repopulator.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<ProjectGuid>3b0e5ac1-5439-470c-832d-7de566b22cd8</ProjectGuid>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AssemblyTitle>Repopulator</AssemblyTitle>
<Product>Repopulator</Product>
<Copyright>Copyright © 2019</Copyright>
Expand Down
2 changes: 1 addition & 1 deletion RepopulatorCli/RepopulatorCli.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>RepopulatorCli</AssemblyName>
<DebugType>embedded</DebugType>
</PropertyGroup>
Expand Down
10 changes: 7 additions & 3 deletions SharedAssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
using System.Reflection;

#if WINDOWS
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
#endif

[assembly: AssemblyCompany("Health Informatics Centre, University of Dundee")]
[assembly: AssemblyProduct("Dicom Template Builder")]
[assembly: AssemblyCopyright("Copyright (c) 2018 - 2019")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// These should be replaced with correct values by the release process
[assembly: AssemblyVersion("2.2.2")]
[assembly: AssemblyFileVersion("2.2.2")]
[assembly: AssemblyInformationalVersion("2.2.2")]
[assembly: AssemblyVersion("2.2.3")]
[assembly: AssemblyFileVersion("2.2.3")]
[assembly: AssemblyInformationalVersion("2.2.3")]
4 changes: 2 additions & 2 deletions TemplateBuilder/TemplateBuilder.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0-windows</TargetFramework>
<TargetFramework>net8.0-windows</TargetFramework>
<OutputType>WinExe</OutputType>
<SelfContained>true</SelfContained>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
Expand Down Expand Up @@ -60,7 +60,7 @@
<PackageReference Include="fo-dicom" Version="5.1.2" />
<PackageReference Include="fo-dicom.Imaging.ImageSharp" Version="5.1.2" />
<PackageReference Include="HIC.BadMedicine.Dicom" Version="0.0.16" />
<PackageReference Include="HIC.DicomTypeTranslation" Version="4.0.3" />
<PackageReference Include="HIC.DicomTypeTranslation" Version="4.1.0" />
<PackageReference Include="ObjectListView.Repack.NET6Plus" Version="2.9.4" />
<PackageReference Include="fernandreu.ScintillaNET" Version="4.2.0" />
<ProjectReference Include="..\Repopulator\Repopulator.csproj" />
Expand Down
2 changes: 1 addition & 1 deletion Tests/Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<ProjectGuid>{66EED857-25C6-4FF9-967A-333CB151DF0B}</ProjectGuid>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
<ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath>
Expand Down

0 comments on commit 9673bac

Please sign in to comment.