blob: 8434732323dc6944c2a12ddd0876cd939edbd9cb [file] [log] [blame]
Constantin Zieschefa612082020-04-03 09:54:56 +02001<Project Sdk="Microsoft.NET.Sdk.Web">
2
3 <PropertyGroup>
Constantin Ziesche9ca87782020-04-03 12:06:02 +02004 <TargetFrameworks>netstandard2.0;netcoreapp3.1</TargetFrameworks>
Constantin Zieschefa612082020-04-03 09:54:56 +02005 <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 Ziesche9ca87782020-04-03 12:06:02 +020045 <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
46 <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.2.0" />
47 </ItemGroup>
48
Constantin Zieschefa612082020-04-03 09:54:56 +020049 <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 &quot;$(ProjectPath)&quot; --no-build --include-source --include-symbols --output &quot;%25BASYX_REPO%25&quot; ) ELSE ( ECHO BASYX_REPO Environment Variable not found)" />
56 </Target>
57
58</Project>