diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props new file mode 100644 index 000000000..bf3963a60 --- /dev/null +++ b/src/Directory.Packages.props @@ -0,0 +1,114 @@ + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Promitor.Agents.Core/Promitor.Agents.Core.csproj b/src/Promitor.Agents.Core/Promitor.Agents.Core.csproj index 35444abb1..5fc60e3f2 100644 --- a/src/Promitor.Agents.Core/Promitor.Agents.Core.csproj +++ b/src/Promitor.Agents.Core/Promitor.Agents.Core.csproj @@ -14,25 +14,25 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + diff --git a/src/Promitor.Agents.ResourceDiscovery/Dockerfile.linux b/src/Promitor.Agents.ResourceDiscovery/Dockerfile.linux index 9625fb0ee..e2ad838bc 100644 --- a/src/Promitor.Agents.ResourceDiscovery/Dockerfile.linux +++ b/src/Promitor.Agents.ResourceDiscovery/Dockerfile.linux @@ -1,6 +1,7 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0-azurelinux3.0 AS build WORKDIR /src ARG VERSION="UNSET-VERSION" +COPY Directory.Packages.props . COPY Promitor.Agents.ResourceDiscovery/* Promitor.Agents.ResourceDiscovery/ COPY Promitor.Core.Contracts/* Promitor.Core.Contracts/ COPY Promitor.Agents.Core/* Promitor.Agents.Core/ diff --git a/src/Promitor.Agents.ResourceDiscovery/Dockerfile.windows b/src/Promitor.Agents.ResourceDiscovery/Dockerfile.windows index 63a6430e0..f34e03210 100644 --- a/src/Promitor.Agents.ResourceDiscovery/Dockerfile.windows +++ b/src/Promitor.Agents.ResourceDiscovery/Dockerfile.windows @@ -1,6 +1,7 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0-nanoserver-ltsc2022 AS build WORKDIR /src ARG VERSION="UNSET-VERSION" +COPY Directory.Packages.props . COPY Promitor.Agents.ResourceDiscovery/* Promitor.Agents.ResourceDiscovery/ COPY Promitor.Core.Contracts/* Promitor.Core.Contracts/ COPY Promitor.Agents.Core/* Promitor.Agents.Core/ diff --git a/src/Promitor.Agents.ResourceDiscovery/Promitor.Agents.ResourceDiscovery.csproj b/src/Promitor.Agents.ResourceDiscovery/Promitor.Agents.ResourceDiscovery.csproj index 3d0a0ee96..16c808461 100644 --- a/src/Promitor.Agents.ResourceDiscovery/Promitor.Agents.ResourceDiscovery.csproj +++ b/src/Promitor.Agents.ResourceDiscovery/Promitor.Agents.ResourceDiscovery.csproj @@ -32,20 +32,20 @@ - - - - - - - - + + + + + + + + - - - - + + + + diff --git a/src/Promitor.Agents.Scraper/Dockerfile.linux b/src/Promitor.Agents.Scraper/Dockerfile.linux index 5a632e747..732464de3 100644 --- a/src/Promitor.Agents.Scraper/Dockerfile.linux +++ b/src/Promitor.Agents.Scraper/Dockerfile.linux @@ -1,6 +1,7 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0-azurelinux3.0 AS build WORKDIR /src ARG VERSION="UNSET-VERSION" +COPY Directory.Packages.props . COPY Promitor.Core/* Promitor.Core/ COPY Promitor.Agents.Core/* Promitor.Agents.Core/ COPY Promitor.Core.Scraping/* Promitor.Core.Scraping/ diff --git a/src/Promitor.Agents.Scraper/Dockerfile.windows b/src/Promitor.Agents.Scraper/Dockerfile.windows index 4b0597b02..ad39ab11d 100644 --- a/src/Promitor.Agents.Scraper/Dockerfile.windows +++ b/src/Promitor.Agents.Scraper/Dockerfile.windows @@ -1,6 +1,7 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0-nanoserver-ltsc2022 AS build WORKDIR /src ARG VERSION="UNSET-VERSION" +COPY Directory.Packages.props . COPY Promitor.Core/* Promitor.Core/ COPY Promitor.Agents.Core/* Promitor.Agents.Core/ COPY Promitor.Core.Scraping/* Promitor.Core.Scraping/ diff --git a/src/Promitor.Agents.Scraper/Promitor.Agents.Scraper.csproj b/src/Promitor.Agents.Scraper/Promitor.Agents.Scraper.csproj index 0e3d39e03..7aa9d1119 100644 --- a/src/Promitor.Agents.Scraper/Promitor.Agents.Scraper.csproj +++ b/src/Promitor.Agents.Scraper/Promitor.Agents.Scraper.csproj @@ -35,18 +35,18 @@ - - - - - - - + + + + + + + - - - + + + diff --git a/src/Promitor.Core.Contracts/Promitor.Core.Contracts.csproj b/src/Promitor.Core.Contracts/Promitor.Core.Contracts.csproj index e9864868b..44857e100 100644 --- a/src/Promitor.Core.Contracts/Promitor.Core.Contracts.csproj +++ b/src/Promitor.Core.Contracts/Promitor.Core.Contracts.csproj @@ -14,7 +14,7 @@ - + diff --git a/src/Promitor.Core.Scraping/Promitor.Core.Scraping.csproj b/src/Promitor.Core.Scraping/Promitor.Core.Scraping.csproj index 821454cfd..cf981a0d1 100644 --- a/src/Promitor.Core.Scraping/Promitor.Core.Scraping.csproj +++ b/src/Promitor.Core.Scraping/Promitor.Core.Scraping.csproj @@ -15,13 +15,13 @@ - - - - - - - + + + + + + + diff --git a/src/Promitor.Core.Telemetry/Promitor.Core.Telemetry.csproj b/src/Promitor.Core.Telemetry/Promitor.Core.Telemetry.csproj index 502440dfb..57cbcd29d 100644 --- a/src/Promitor.Core.Telemetry/Promitor.Core.Telemetry.csproj +++ b/src/Promitor.Core.Telemetry/Promitor.Core.Telemetry.csproj @@ -14,9 +14,9 @@ - - - + + + diff --git a/src/Promitor.Core/Promitor.Core.csproj b/src/Promitor.Core/Promitor.Core.csproj index d578e4da5..b7835010d 100644 --- a/src/Promitor.Core/Promitor.Core.csproj +++ b/src/Promitor.Core/Promitor.Core.csproj @@ -14,15 +14,15 @@ - - - - - - - - - + + + + + + + + + diff --git a/src/Promitor.Integrations.Azure/Promitor.Integrations.Azure.csproj b/src/Promitor.Integrations.Azure/Promitor.Integrations.Azure.csproj index fcd7a92d5..421fb4206 100644 --- a/src/Promitor.Integrations.Azure/Promitor.Integrations.Azure.csproj +++ b/src/Promitor.Integrations.Azure/Promitor.Integrations.Azure.csproj @@ -14,11 +14,11 @@ - - - - - + + + + + diff --git a/src/Promitor.Integrations.AzureMonitor/Promitor.Integrations.AzureMonitor.csproj b/src/Promitor.Integrations.AzureMonitor/Promitor.Integrations.AzureMonitor.csproj index 2fe501311..876d93226 100644 --- a/src/Promitor.Integrations.AzureMonitor/Promitor.Integrations.AzureMonitor.csproj +++ b/src/Promitor.Integrations.AzureMonitor/Promitor.Integrations.AzureMonitor.csproj @@ -14,12 +14,12 @@ - - - - - - + + + + + + diff --git a/src/Promitor.Integrations.AzureStorage/Promitor.Integrations.AzureStorage.csproj b/src/Promitor.Integrations.AzureStorage/Promitor.Integrations.AzureStorage.csproj index 29dc98e8a..458bd19c9 100644 --- a/src/Promitor.Integrations.AzureStorage/Promitor.Integrations.AzureStorage.csproj +++ b/src/Promitor.Integrations.AzureStorage/Promitor.Integrations.AzureStorage.csproj @@ -6,9 +6,9 @@ - - - + + + diff --git a/src/Promitor.Integrations.LogAnalytics/Promitor.Integrations.LogAnalytics.csproj b/src/Promitor.Integrations.LogAnalytics/Promitor.Integrations.LogAnalytics.csproj index 83d4460d2..8decd0c6d 100644 --- a/src/Promitor.Integrations.LogAnalytics/Promitor.Integrations.LogAnalytics.csproj +++ b/src/Promitor.Integrations.LogAnalytics/Promitor.Integrations.LogAnalytics.csproj @@ -6,12 +6,12 @@ - - - - - - + + + + + + diff --git a/src/Promitor.Integrations.Sinks.Atlassian.Statuspage/Promitor.Integrations.Sinks.Atlassian.Statuspage.csproj b/src/Promitor.Integrations.Sinks.Atlassian.Statuspage/Promitor.Integrations.Sinks.Atlassian.Statuspage.csproj index b201897a9..432dfd1f5 100644 --- a/src/Promitor.Integrations.Sinks.Atlassian.Statuspage/Promitor.Integrations.Sinks.Atlassian.Statuspage.csproj +++ b/src/Promitor.Integrations.Sinks.Atlassian.Statuspage/Promitor.Integrations.Sinks.Atlassian.Statuspage.csproj @@ -14,8 +14,8 @@ - - + + diff --git a/src/Promitor.Integrations.Sinks.OpenTelemetry/Promitor.Integrations.Sinks.OpenTelemetry.csproj b/src/Promitor.Integrations.Sinks.OpenTelemetry/Promitor.Integrations.Sinks.OpenTelemetry.csproj index 4a0bbf1c8..1137b6098 100644 --- a/src/Promitor.Integrations.Sinks.OpenTelemetry/Promitor.Integrations.Sinks.OpenTelemetry.csproj +++ b/src/Promitor.Integrations.Sinks.OpenTelemetry/Promitor.Integrations.Sinks.OpenTelemetry.csproj @@ -14,8 +14,8 @@ - - + + diff --git a/src/Promitor.Integrations.Sinks.Prometheus/Promitor.Integrations.Sinks.Prometheus.csproj b/src/Promitor.Integrations.Sinks.Prometheus/Promitor.Integrations.Sinks.Prometheus.csproj index 5313ff74c..c1cdf0d0b 100644 --- a/src/Promitor.Integrations.Sinks.Prometheus/Promitor.Integrations.Sinks.Prometheus.csproj +++ b/src/Promitor.Integrations.Sinks.Prometheus/Promitor.Integrations.Sinks.Prometheus.csproj @@ -14,7 +14,7 @@ - + diff --git a/src/Promitor.Integrations.Sinks.Statsd/Promitor.Integrations.Sinks.Statsd.csproj b/src/Promitor.Integrations.Sinks.Statsd/Promitor.Integrations.Sinks.Statsd.csproj index f43e8a330..23a302f77 100644 --- a/src/Promitor.Integrations.Sinks.Statsd/Promitor.Integrations.Sinks.Statsd.csproj +++ b/src/Promitor.Integrations.Sinks.Statsd/Promitor.Integrations.Sinks.Statsd.csproj @@ -14,7 +14,7 @@ - + diff --git a/src/Promitor.Tests.Integration/Promitor.Tests.Integration.csproj b/src/Promitor.Tests.Integration/Promitor.Tests.Integration.csproj index ba151c02e..1e3627aa7 100644 --- a/src/Promitor.Tests.Integration/Promitor.Tests.Integration.csproj +++ b/src/Promitor.Tests.Integration/Promitor.Tests.Integration.csproj @@ -15,19 +15,19 @@ - - - - - - - - - + + + + + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/src/Promitor.Tests.Unit/Promitor.Tests.Unit.csproj b/src/Promitor.Tests.Unit/Promitor.Tests.Unit.csproj index 2280f14d4..d15ff81a4 100644 --- a/src/Promitor.Tests.Unit/Promitor.Tests.Unit.csproj +++ b/src/Promitor.Tests.Unit/Promitor.Tests.Unit.csproj @@ -34,14 +34,14 @@ - - - - - - - - + + + + + + + +