Constantin Ziesche | fa61208 | 2020-04-03 09:54:56 +0200 | [diff] [blame] | 1 | <Project Sdk="Microsoft.NET.Sdk.Web"> |
| 2 | |
| 3 | <PropertyGroup> |
Constantin Ziesche | 9ca8778 | 2020-04-03 12:06:02 +0200 | [diff] [blame] | 4 | <TargetFrameworks>netstandard2.0;netcoreapp3.1</TargetFrameworks> |
Constantin Ziesche | fa61208 | 2020-04-03 09:54:56 +0200 | [diff] [blame] | 5 | <OutputType>Library</OutputType> |
| 6 | <Authors>Constantin Ziesche</Authors> |
| 7 | <Copyright>Copyright 2020 - Robert Bosch GmbH</Copyright> |
| 8 | <PackageProjectUrl>https://wiki.eclipse.org/BaSyx</PackageProjectUrl> |
| 9 | <RepositoryUrl>https://git.eclipse.org/r/plugins/gitiles/basyx/basyx/+/master/sdks/csnet/</RepositoryUrl> |
| 10 | <PackageLicenseUrl></PackageLicenseUrl> |
| 11 | <Description>The official BaSyx HTTP Controller AASX Package Service</Description> |
| 12 | <Company>Robert Bosch GmbH</Company> |
| 13 | <PackageTags>BaSys BaSyx HTTP API Controllers AASX Package</PackageTags> |
| 14 | <PackageLicenseExpression>EPL-2.0</PackageLicenseExpression> |
| 15 | <RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent> |
| 16 | <PackageIcon>basyxlogo.png</PackageIcon> |
| 17 | <PackageIconUrl /> |
| 18 | </PropertyGroup> |
| 19 | |
| 20 | <PropertyGroup> |
| 21 | <IsPackable>true</IsPackable> |
| 22 | </PropertyGroup> |
| 23 | |
| 24 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> |
| 25 | <DocumentationFile>BaSyx.API.Http.Controllers.AASX.xml</DocumentationFile> |
| 26 | </PropertyGroup> |
| 27 | |
| 28 | <ItemGroup> |
| 29 | <None Remove="BaSyx.API.Http.Controllers.AASX.xml" /> |
| 30 | </ItemGroup> |
| 31 | |
| 32 | <ItemGroup> |
| 33 | <EmbeddedResource Include="BaSyx.API.Http.Controllers.AASX.xml"> |
| 34 | <CopyToOutputDirectory>Never</CopyToOutputDirectory> |
| 35 | </EmbeddedResource> |
| 36 | </ItemGroup> |
| 37 | |
| 38 | <ItemGroup> |
| 39 | <None Include="basyxlogo.png"> |
| 40 | <Pack>True</Pack> |
| 41 | <PackagePath></PackagePath> |
| 42 | </None> |
| 43 | </ItemGroup> |
| 44 | |
Constantin Ziesche | 9ca8778 | 2020-04-03 12:06:02 +0200 | [diff] [blame] | 45 | <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' "> |
| 46 | <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.2.0" /> |
| 47 | </ItemGroup> |
| 48 | |
Constantin Ziesche | fa61208 | 2020-04-03 09:54:56 +0200 | [diff] [blame] | 49 | <ItemGroup> |
| 50 | <ProjectReference Include="..\BaSyx.API\BaSyx.API.csproj" /> |
| 51 | <ProjectReference Include="..\BaSyx.Models.Export\BaSyx.Models.Export.csproj" /> |
| 52 | </ItemGroup> |
| 53 | |
| 54 | <Target Name="PostBuild" AfterTargets="PostBuildEvent"> |
| 55 | <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)" /> |
| 56 | </Target> |
| 57 | |
| 58 | </Project> |