Constantin Ziesche | fa61208 | 2020-04-03 09:54:56 +0200 | [diff] [blame] | 1 | <Project Sdk="Microsoft.NET.Sdk.Web"> |
Constantin Ziesche | 857c7ab | 2020-02-25 11:24:51 +0100 | [diff] [blame] | 2 | <PropertyGroup> |
Constantin Ziesche | 9ca8778 | 2020-04-03 12:06:02 +0200 | [diff] [blame] | 3 | <TargetFrameworks>netstandard2.0;netcoreapp3.1</TargetFrameworks> |
Constantin Ziesche | fa61208 | 2020-04-03 09:54:56 +0200 | [diff] [blame] | 4 | <OutputType>Library</OutputType> |
Constantin Ziesche | 857c7ab | 2020-02-25 11:24:51 +0100 | [diff] [blame] | 5 | <Authors>Constantin Ziesche</Authors> |
Constantin Ziesche | fa61208 | 2020-04-03 09:54:56 +0200 | [diff] [blame] | 6 | <Copyright>Copyright 2020 - Robert Bosch GmbH</Copyright> |
Constantin Ziesche | 857c7ab | 2020-02-25 11:24:51 +0100 | [diff] [blame] | 7 | <PackageProjectUrl>https://wiki.eclipse.org/BaSyx</PackageProjectUrl> |
| 8 | <RepositoryUrl>https://git.eclipse.org/r/plugins/gitiles/basyx/basyx/+/master/sdks/csnet/</RepositoryUrl> |
| 9 | <PackageLicenseUrl></PackageLicenseUrl> |
| 10 | <Description>The official BaSyx HTTP Controller Collection</Description> |
| 11 | <Company>Robert Bosch GmbH</Company> |
| 12 | <PackageTags>BaSys BaSyx HTTP API Controllers</PackageTags> |
| 13 | <PackageLicenseExpression>EPL-2.0</PackageLicenseExpression> |
| 14 | <RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent> |
| 15 | <PackageIcon>basyxlogo.png</PackageIcon> |
| 16 | </PropertyGroup> |
Constantin Ziesche | fa61208 | 2020-04-03 09:54:56 +0200 | [diff] [blame] | 17 | |
| 18 | <PropertyGroup> |
| 19 | <IsPackable>true</IsPackable> |
| 20 | </PropertyGroup> |
| 21 | |
Constantin Ziesche | 857c7ab | 2020-02-25 11:24:51 +0100 | [diff] [blame] | 22 | |
| 23 | <ItemGroup> |
| 24 | <None Include="basyxlogo.png" Pack="true" PackagePath="\" /> |
| 25 | </ItemGroup> |
| 26 | |
Constantin Ziesche | fa61208 | 2020-04-03 09:54:56 +0200 | [diff] [blame] | 27 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
| 28 | <DebugType>Full</DebugType> |
| 29 | <DocumentationFile>BaSyx.API.Http.Controllers.xml</DocumentationFile> |
Constantin Ziesche | 857c7ab | 2020-02-25 11:24:51 +0100 | [diff] [blame] | 30 | </PropertyGroup> |
| 31 | |
| 32 | <ItemGroup> |
Constantin Ziesche | 857c7ab | 2020-02-25 11:24:51 +0100 | [diff] [blame] | 33 | <PackageReference Include="NLog.Web.AspNetCore" Version="4.9.0" /> |
| 34 | </ItemGroup> |
| 35 | |
Constantin Ziesche | 9ca8778 | 2020-04-03 12:06:02 +0200 | [diff] [blame] | 36 | <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' "> |
| 37 | <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.2.0" /> |
| 38 | </ItemGroup> |
| 39 | |
Constantin Ziesche | 857c7ab | 2020-02-25 11:24:51 +0100 | [diff] [blame] | 40 | <ItemGroup> |
| 41 | <ProjectReference Include="..\BaSyx.API\BaSyx.API.csproj" /> |
| 42 | <ProjectReference Include="..\BaSyx.Submodel.ServiceProvider.Distributed\BaSyx.Submodel.ServiceProvider.Distributed.csproj" /> |
| 43 | </ItemGroup> |
| 44 | |
| 45 | <Target Name="PostBuild" AfterTargets="PostBuildEvent"> |
| 46 | <Exec Command="IF EXIST %25BASYX_REPO%25 ( dotnet pack "$(ProjectPath)" --no-build --include-source --include-symbols --output "%25BASYX_REPO%25" ) ELSE ( ECHO BASYX_REPO Environment Variable not found)" /> |
| 47 | </Target> |
| 48 | |
| 49 | </Project> |