Constantin Ziesche | fa61208 | 2020-04-03 09:54:56 +0200 | [diff] [blame] | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
| 2 | <PropertyGroup> |
| 3 | <TargetFramework>netcoreapp3.1</TargetFramework> |
| 4 | <OutputType>Library</OutputType> |
| 5 | <Configurations>Debug;Release</Configurations> |
| 6 | <Authors>Constantin Ziesche</Authors> |
Constantin Ziesche | 8ef04aa | 2021-05-03 15:31:29 +0200 | [diff] [blame] | 7 | <Copyright>Copyright 2021 - Robert Bosch GmbH</Copyright> |
Constantin Ziesche | fa61208 | 2020-04-03 09:54:56 +0200 | [diff] [blame] | 8 | <PackageProjectUrl>https://wiki.eclipse.org/BaSyx</PackageProjectUrl> |
| 9 | <RepositoryUrl>https://git.eclipse.org/r/plugins/gitiles/basyx/basyx/+/master/sdks/csnet/</RepositoryUrl> |
| 10 | <Description>The official BaSyx Components Common Library</Description> |
| 11 | <Company>Robert Bosch GmbH</Company> |
| 12 | <PackageTags>BaSys BaSyx Components Common</PackageTags> |
| 13 | <PackageLicenseExpression>EPL-2.0</PackageLicenseExpression> |
| 14 | <PackageIcon>basyxlogo.png</PackageIcon> |
| 15 | <RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent> |
Constantin Ziesche | 0399d41 | 2020-09-24 14:31:15 +0200 | [diff] [blame] | 16 | <GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest> |
Constantin Ziesche | fa61208 | 2020-04-03 09:54:56 +0200 | [diff] [blame] | 17 | </PropertyGroup> |
Constantin Ziesche | 8ef04aa | 2021-05-03 15:31:29 +0200 | [diff] [blame] | 18 | |
Constantin Ziesche | 0399d41 | 2020-09-24 14:31:15 +0200 | [diff] [blame] | 19 | <ItemGroup> |
Constantin Ziesche | 8ef04aa | 2021-05-03 15:31:29 +0200 | [diff] [blame] | 20 | <PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.5" /> |
| 21 | <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.14" /> |
| 22 | <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="5.0.0" /> |
| 23 | <PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="5.0.5" /> |
| 24 | <PackageReference Include="NLog" Version="4.7.9" /> |
| 25 | <PackageReference Include="NLog.Web.AspNetCore" Version="4.12.0" /> |
Constantin Ziesche | 0399d41 | 2020-09-24 14:31:15 +0200 | [diff] [blame] | 26 | </ItemGroup> |
Constantin Ziesche | 8ef04aa | 2021-05-03 15:31:29 +0200 | [diff] [blame] | 27 | |
Constantin Ziesche | 0399d41 | 2020-09-24 14:31:15 +0200 | [diff] [blame] | 28 | <ItemGroup> |
Constantin Ziesche | 8cb6a29 | 2021-06-23 00:48:17 +0200 | [diff] [blame^] | 29 | <ProjectReference Include="..\..\basyx-core\BaSyx.API\BaSyx.API.csproj" /> |
| 30 | <ProjectReference Include="..\..\basyx-core\BaSyx.Utils.DependencyInjection\BaSyx.Utils.DependencyInjection.csproj" /> |
| 31 | <ProjectReference Include="..\..\basyx-core\BaSyx.Utils\BaSyx.Utils.csproj" /> |
Constantin Ziesche | 8ef04aa | 2021-05-03 15:31:29 +0200 | [diff] [blame] | 32 | <ProjectReference Include="..\BaSyx.Components.Common.Abstractions\BaSyx.Components.Common.Abstractions.csproj" /> |
Constantin Ziesche | 0399d41 | 2020-09-24 14:31:15 +0200 | [diff] [blame] | 33 | </ItemGroup> |
Constantin Ziesche | 8ef04aa | 2021-05-03 15:31:29 +0200 | [diff] [blame] | 34 | |
Constantin Ziesche | 8cb6a29 | 2021-06-23 00:48:17 +0200 | [diff] [blame^] | 35 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> |
| 36 | <DebugType>full</DebugType> |
| 37 | <DebugSymbols>true</DebugSymbols> |
Constantin Ziesche | 8ef04aa | 2021-05-03 15:31:29 +0200 | [diff] [blame] | 38 | </PropertyGroup> |
| 39 | |
Constantin Ziesche | 0399d41 | 2020-09-24 14:31:15 +0200 | [diff] [blame] | 40 | <ItemGroup> |
Constantin Ziesche | 8ef04aa | 2021-05-03 15:31:29 +0200 | [diff] [blame] | 41 | <None Include="..\..\resources\basyxlogo.png"> |
| 42 | <Pack>True</Pack> |
| 43 | <PackagePath></PackagePath> |
| 44 | </None> |
| 45 | <EmbeddedResource Include="..\..\resources\Nlog.config"> |
Constantin Ziesche | 0399d41 | 2020-09-24 14:31:15 +0200 | [diff] [blame] | 46 | <PackagePath>contentFiles\any\$(TargetFramework)\</PackagePath> |
| 47 | <CopyToOutputDirectory>Never</CopyToOutputDirectory> |
| 48 | <ExcludeFromSingleFile>true</ExcludeFromSingleFile> |
| 49 | <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> |
| 50 | <PackageFlatten>true</PackageFlatten> |
| 51 | <PackageCopyToOutput>true</PackageCopyToOutput> |
| 52 | <Pack>true</Pack> |
| 53 | </EmbeddedResource> |
Constantin Ziesche | 8ef04aa | 2021-05-03 15:31:29 +0200 | [diff] [blame] | 54 | <EmbeddedResource Include="..\..\resources\ServerSettings.xml"> |
| 55 | <PackagePath>contentFiles\any\$(TargetFramework)\</PackagePath> |
| 56 | <CopyToOutputDirectory>Never</CopyToOutputDirectory> |
| 57 | <ExcludeFromSingleFile>true</ExcludeFromSingleFile> |
| 58 | <PackageFlatten>true</PackageFlatten> |
| 59 | <PackageCopyToOutput>true</PackageCopyToOutput> |
| 60 | <Pack>true</Pack> |
| 61 | </EmbeddedResource> |
Constantin Ziesche | 0399d41 | 2020-09-24 14:31:15 +0200 | [diff] [blame] | 62 | </ItemGroup> |
Constantin Ziesche | fa61208 | 2020-04-03 09:54:56 +0200 | [diff] [blame] | 63 | |
Constantin Ziesche | 8ef04aa | 2021-05-03 15:31:29 +0200 | [diff] [blame] | 64 | <Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
| 65 | <Exec Command="IF EXIST %25BASYX_REPO%25 ( dotnet pack "$(ProjectPath)" -c Release --no-build --include-source --include-symbols --output "%25BASYX_REPO%25" ) ELSE ( ECHO BASYX_REPO Environment Variable not found)" /> |
Constantin Ziesche | fa61208 | 2020-04-03 09:54:56 +0200 | [diff] [blame] | 66 | </Target> |
| 67 | |
| 68 | </Project> |