From 7f2e461e9b6bf01f8e6030ac8ebdb3b7f8773b5e Mon Sep 17 00:00:00 2001 From: Ville Penttinen Date: Mon, 4 Dec 2023 04:33:39 +0200 Subject: [PATCH] Add Directory.Build.props and global.json --- Directory.Build.props | 78 +++++++++++++++++++ global.json | 6 ++ src/Visp.Cli/Visp.Cli.fsproj | 2 - src/Visp.Common/Visp.Common.csproj | 2 - src/Visp.Compiler/Visp.Compiler.fsproj | 2 - .../Visp.LanguageServer.fsproj | 1 - .../Visp.Runtime.Library.fsproj | 4 +- .../Visp.Compiler.UnitTests.fsproj | 3 +- 8 files changed, 87 insertions(+), 11 deletions(-) create mode 100644 Directory.Build.props create mode 100644 global.json diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..8a6a1d5 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,78 @@ + + + + net8.0 + strict + en + true + + + + + true + + true + + true + + + + + + false + false + + Ville Penttinen + Copyright © 2023 Ville Penttinen + https://github.com/vipentti/visp-fs + git + https://github.com/vipentti/visp-fs + + + true + + + true + + + + false + Visp.Runtime.Library + + + + + + + README.md + LICENSE.md + icon.png + + true + + + embedded + + + true + + True + + $(NoWarn);CS1591 + + + + + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + + + diff --git a/global.json b/global.json new file mode 100644 index 0000000..c19a2e0 --- /dev/null +++ b/global.json @@ -0,0 +1,6 @@ +{ + "sdk": { + "version": "8.0.100", + "rollForward": "latestMinor" + } +} diff --git a/src/Visp.Cli/Visp.Cli.fsproj b/src/Visp.Cli/Visp.Cli.fsproj index 7d89fc7..6f0af5e 100644 --- a/src/Visp.Cli/Visp.Cli.fsproj +++ b/src/Visp.Cli/Visp.Cli.fsproj @@ -2,8 +2,6 @@ Exe - net8.0 - true diff --git a/src/Visp.Common/Visp.Common.csproj b/src/Visp.Common/Visp.Common.csproj index e640d6a..48595ca 100644 --- a/src/Visp.Common/Visp.Common.csproj +++ b/src/Visp.Common/Visp.Common.csproj @@ -1,10 +1,8 @@  - net8.0 enable enable - true diff --git a/src/Visp.Compiler/Visp.Compiler.fsproj b/src/Visp.Compiler/Visp.Compiler.fsproj index e584e7a..c6524e0 100644 --- a/src/Visp.Compiler/Visp.Compiler.fsproj +++ b/src/Visp.Compiler/Visp.Compiler.fsproj @@ -1,8 +1,6 @@ - net8.0 true - true Syntax\\FsLexYaccOutput\\ Syntax\\FsLexYaccOutput\\ diff --git a/src/Visp.LanguageServer/Visp.LanguageServer.fsproj b/src/Visp.LanguageServer/Visp.LanguageServer.fsproj index 86ffbf1..438819b 100644 --- a/src/Visp.LanguageServer/Visp.LanguageServer.fsproj +++ b/src/Visp.LanguageServer/Visp.LanguageServer.fsproj @@ -2,7 +2,6 @@ Exe - net8.0 diff --git a/src/Visp.Runtime.Library/Visp.Runtime.Library.fsproj b/src/Visp.Runtime.Library/Visp.Runtime.Library.fsproj index cc2cdb2..c106d37 100644 --- a/src/Visp.Runtime.Library/Visp.Runtime.Library.fsproj +++ b/src/Visp.Runtime.Library/Visp.Runtime.Library.fsproj @@ -1,8 +1,8 @@ - net8.0 + true + true true - true diff --git a/tests/Visp.Compiler.UnitTests/Visp.Compiler.UnitTests.fsproj b/tests/Visp.Compiler.UnitTests/Visp.Compiler.UnitTests.fsproj index ec9545c..a034398 100644 --- a/tests/Visp.Compiler.UnitTests/Visp.Compiler.UnitTests.fsproj +++ b/tests/Visp.Compiler.UnitTests/Visp.Compiler.UnitTests.fsproj @@ -1,6 +1,5 @@ - net8.0 false false true @@ -18,7 +17,7 @@ all - + runtime; build; native; contentfiles; analyzers; buildtransitive