From 3462a3badf754b2a8fb55fde0d488b32ec1f5e2b Mon Sep 17 00:00:00 2001 From: ChsBuffer <33744752+chsbuffer@users.noreply.github.com> Date: Fri, 16 Jul 2021 02:20:10 +0800 Subject: [PATCH] add global.json sdk.allowPrerelease=false --- Netch.sln | 1 + Netch/Netch.csproj | 4 ++++ global.json | 5 +++++ 3 files changed, 10 insertions(+) create mode 100644 global.json diff --git a/Netch.sln b/Netch.sln index 24c325c0..0f59ecc8 100644 --- a/Netch.sln +++ b/Netch.sln @@ -13,6 +13,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "AdditionalFiles", "Addition .gitignore = .gitignore LICENSE = LICENSE README.md = README.md + global.json = global.json EndProjectSection EndProject Global diff --git a/Netch/Netch.csproj b/Netch/Netch.csproj index a901b9eb..948c9ae0 100644 --- a/Netch/Netch.csproj +++ b/Netch/Netch.csproj @@ -95,6 +95,10 @@ <_FilesToBundle Remove="$(PkgMicrosoft_Diagnostics_Tracing_TraceEvent)\build\native\x86\**" /> + <_FilesToBundle Remove="$(PkgMicrosoft_Diagnostics_Tracing_TraceEvent)\lib\netstandard1.6\Dia2Lib.dll" /> <_FilesToBundle Remove="$(PkgMicrosoft_Diagnostics_Tracing_TraceEvent)\lib\netstandard1.6\OSExtensions.dll" /> <_FilesToBundle Remove="$(PkgMicrosoft_Diagnostics_Tracing_TraceEvent)\lib\netstandard1.6\TraceReloggerLib.dll" /> diff --git a/global.json b/global.json new file mode 100644 index 00000000..a8ab760d --- /dev/null +++ b/global.json @@ -0,0 +1,5 @@ +{ + "sdk": { + "allowPrerelease": false + } +} \ No newline at end of file