From 408d2aec8f2752ee29edc8f41a6727e65065cfc6 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Wed, 9 Oct 2019 15:18:30 +0200 Subject: [PATCH] conf x nuget... --- MConnectSDK/MConnectSDK.csproj | 11 ++++++++++ MConnectSDK/MConnectSDK.nuspec | 10 ++++++---- MConnectSDK/NLog.config | 31 +++++++++++++++++++++++++++++ MConnectSDK/README.txt | 31 +++++++++++++++++++++++++++++ MConnectSDK/mconnect.conf.yaml | 14 +++++++++++++ MConnectSDK/resources/NugetNote.txt | 14 +++++++++++++ 6 files changed, 107 insertions(+), 4 deletions(-) create mode 100644 MConnectSDK/NLog.config create mode 100644 MConnectSDK/README.txt create mode 100644 MConnectSDK/mconnect.conf.yaml create mode 100644 MConnectSDK/resources/NugetNote.txt diff --git a/MConnectSDK/MConnectSDK.csproj b/MConnectSDK/MConnectSDK.csproj index 962607b..8461dda 100644 --- a/MConnectSDK/MConnectSDK.csproj +++ b/MConnectSDK/MConnectSDK.csproj @@ -78,7 +78,18 @@ + + Always + + + + Always + + + + + \ No newline at end of file diff --git a/MConnectSDK/MConnectSDK.nuspec b/MConnectSDK/MConnectSDK.nuspec index 4795bc2..8e4a9c3 100644 --- a/MConnectSDK/MConnectSDK.nuspec +++ b/MConnectSDK/MConnectSDK.nuspec @@ -29,9 +29,11 @@ - - + + + + + + \ No newline at end of file diff --git a/MConnectSDK/NLog.config b/MConnectSDK/NLog.config new file mode 100644 index 0000000..d346a6e --- /dev/null +++ b/MConnectSDK/NLog.config @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/MConnectSDK/README.txt b/MConnectSDK/README.txt new file mode 100644 index 0000000..dfac6bb --- /dev/null +++ b/MConnectSDK/README.txt @@ -0,0 +1,31 @@ +--------------------------------------------------------------- +------- MConnect Client SDK ------- +--------------------------------------------------------------- + +Libreria di utility per connessione con il cloud di Maestro COnnect. + +Le dipendenze sono necessarie al funzionamento dell'applicazione + +Attenzione a configurare correttamente il file NLog.xml includendo il rule per la classe, ad esempio un NLog (unico) presente potrebbe essere + + + + + + + + + + + + + \ No newline at end of file diff --git a/MConnectSDK/mconnect.conf.yaml b/MConnectSDK/mconnect.conf.yaml new file mode 100644 index 0000000..2916f49 --- /dev/null +++ b/MConnectSDK/mconnect.conf.yaml @@ -0,0 +1,14 @@ +#File di conf per MConnectClientSDK +conf: + Client_ID: "test" + MachineID: "cjpjwuas400cb0slxs5zfj4yh" + PingTarget: "stg.api.maestroconnect.scmgroup.com" + AliveTarget: "https://stg.api.maestroconnect.scmgroup.com/health" + BaseUrl: "https://stg.api.maestroconnect.scmgroup.com/api" + UploadUrl: "https://stg.api.maestroconnect.scmgroup.com/storage-api/backups" + WebAppUrl: "https://stg.maestroconnect.scmgroup.com/settings/machine-activation?user_code={0}&machine_id={1}" + MemoryLayer: + Redis: + ConnectionString: "127.0.0.1,abortConnect=false,ssl=false" + DbIndex: 1 + Module: "MCC" \ No newline at end of file diff --git a/MConnectSDK/resources/NugetNote.txt b/MConnectSDK/resources/NugetNote.txt new file mode 100644 index 0000000..768268c --- /dev/null +++ b/MConnectSDK/resources/NugetNote.txt @@ -0,0 +1,14 @@ +--------------------------------------------------------------- +------- MConnect Client SDK ------- +--------------------------------------------------------------- + +Di seguito esempi comandi x creare pacchetti NuGet (in questo caso in una folder ad hoc) + +1) spostarti su folder x output (Rilasci, che è allo stesso livello della folder del proj) +cd Rilasci + +2) Comando per la creazione di pacchetti nuget di RELEASE: +nuget pack ..\MConnectSDK\MConnectSDK.csproj -properties Configuration=Release + +3) Comando per la creazione di pacchetti nuget di DEBUG: +nuget pack ..\MConnectSDK\MConnectSDK.csproj -properties Configuration=Debug -symbols -SymbolPackageFormat snupkg