Skip to content

Commit

Permalink
Update target framework in csprojs to net5.0
Browse files Browse the repository at this point in the history
Also moved target framework to central msbuild props file to make later updates easier
  • Loading branch information
atruskie committed Dec 1, 2020
1 parent 4a657be commit 7c07092
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 20 deletions.
18 changes: 18 additions & 0 deletions AudioAnalysis.sln
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,24 @@ EndProject
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "AED.Test", "tests\AED.Test\AED.Test.fsproj", "{007BCD6A-6381-42D7-B5BB-61D07D54A311}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{B3123A8D-7CA1-464F-8E3F-1736B570351E}"
ProjectSection(SolutionItems) = preProject
build\azure-pipelines-build.yml = build\azure-pipelines-build.yml
build\azure-pipelines-dependencies-linux.yml = build\azure-pipelines-dependencies-linux.yml
build\azure-pipelines-release.yml = build\azure-pipelines-release.yml
build\build_docker.ps1 = build\build_docker.ps1
build\Dockerfile = build\Dockerfile
build\dotnet-install.ps1 = build\dotnet-install.ps1
build\dotnet-install.sh = build\dotnet-install.sh
build\download_ap.ps1 = build\download_ap.ps1
build\download_ap.Tests.ps1 = build\download_ap.Tests.ps1
build\generate_docs.ps1 = build\generate_docs.ps1
build\package.ps1 = build\package.ps1
build\publish_docs.ps1 = build\publish_docs.ps1
build\README.md = build\README.md
build\release_notes.ps1 = build\release_notes.ps1
build\set_permissions.ps1 = build\set_permissions.ps1
build\update_audio_utils.ps1 = build\update_audio_utils.ps1
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
3 changes: 2 additions & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
<!--<DotnetFscCompilerPath></DotnetFscCompilerPath>-->
<!-- all of these are 64 bit except for linux-arm -->
<RuntimeIdentifiers>win-x64;win-arm64;linux-x64;linux-musl-x64;linux-arm;linux-arm64;osx-x64</RuntimeIdentifiers>
<Deterministic>true</Deterministic>
<!--<DocumentationMode>Diagnose</DocumentationMode>-->
<!--Enable xml documentation output for everything -->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TargetFramework>net5.0</TargetFramework>
<!--<LangVersion></LangVersion>-->
</PropertyGroup>
<PropertyGroup
Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'">
Expand Down
1 change: 0 additions & 1 deletion src/AED/AED.fsproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>Acoustics.AED</RootNamespace>
<AssemblyName>Acoustics.AED</AssemblyName>
<Name>AED</Name>
Expand Down
2 changes: 0 additions & 2 deletions src/AcousticWorkbench/AcousticWorkbench.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<ProductVersion>8.0.30703</ProductVersion>
<TargetFramework>netcoreapp3.1</TargetFramework>
<OutputPath>bin\$(Configuration)\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
1 change: 0 additions & 1 deletion src/Acoustics.Shared.FSharp/Acoustics.Shared.FSharp.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<PropertyGroup>
<RootNamespace>Acoustics.Shared.FSharp</RootNamespace>
<AssemblyName>Acoustics.Shared.FSharp</AssemblyName>
<TargetFramework>netcoreapp3.1</TargetFramework>
<Name>Acoustics.Shared.FSharp</Name>
<Deterministic>true</Deterministic>
</PropertyGroup>
Expand Down
2 changes: 0 additions & 2 deletions src/Acoustics.Shared/Acoustics.Shared.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AssemblyTitle>Acoustics.Shared</AssemblyTitle>
<LangVersion>8</LangVersion>
<!-- TODO CORE: For log4net -->
<NoWarn>$(NoWarn);NU1605</NoWarn>
</PropertyGroup>
Expand Down
1 change: 0 additions & 1 deletion src/Acoustics.Tools/Acoustics.Tools.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AssemblyTitle>Acoustics.Tools</AssemblyTitle>
<OutputPath>bin\$(Configuration)\</OutputPath>
</PropertyGroup>
Expand Down
1 change: 0 additions & 1 deletion src/AnalysisBase/AnalysisBase.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AssemblyTitle>AnalysisBase</AssemblyTitle>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
5 changes: 1 addition & 4 deletions src/AnalysisPrograms/AnalysisPrograms.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<ProductVersion>9.0.30729</ProductVersion>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<StartupObject>AnalysisPrograms.MainEntry</StartupObject>
<GenerateManifests>false</GenerateManifests>
<LangVersion>8</LangVersion>
<OutputPath>bin\$(Configuration)\</OutputPath>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>

Expand Down
3 changes: 1 addition & 2 deletions src/AudioAnalysisTools/AudioAnalysisTools.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AssemblyTitle>AudioAnalysisTools</AssemblyTitle>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
1 change: 0 additions & 1 deletion src/TowseyLibrary/TowseyLibrary.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AssemblyTitle>TowseyLib</AssemblyTitle>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
2 changes: 1 addition & 1 deletion tests/AED.Test/AED.Test.fsproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<UseStandardResourceNames>true</UseStandardResourceNames>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
<Name>AED.Test</Name>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
6 changes: 3 additions & 3 deletions tests/Acoustics.Test/Acoustics.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<AssemblyTitle>Acoustics.Test</AssemblyTitle>
<Product>Acoustics.Test</Product>
<LangVersion>8</LangVersion>

<OutputPath>bin\$(Configuration)\</OutputPath>
<RunSettingsFilePath>$(MSBuildThisFileDirectory).runsettings</RunSettingsFilePath>
<!-- No consumers for our test docs, so don't generate them. -->
Expand Down

0 comments on commit 7c07092

Please sign in to comment.