blob: a3205e9bc2201bd834b26100613b0fdb19d929e9 [file] [log] [blame]
Constantin Zieschefa612082020-04-03 09:54:56 +02001<Project Sdk="Microsoft.NET.Sdk.Web">
Constantin Ziesche857c7ab2020-02-25 11:24:51 +01002 <PropertyGroup>
Constantin Ziesche9ca87782020-04-03 12:06:02 +02003 <TargetFrameworks>netstandard2.0;netcoreapp3.1</TargetFrameworks>
Constantin Zieschefa612082020-04-03 09:54:56 +02004 <OutputType>Library</OutputType>
Constantin Ziesche857c7ab2020-02-25 11:24:51 +01005 <Authors>Constantin Ziesche</Authors>
Constantin Zieschefa612082020-04-03 09:54:56 +02006 <Copyright>Copyright 2020 - Robert Bosch GmbH</Copyright>
Constantin Ziesche857c7ab2020-02-25 11:24:51 +01007 <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 Zieschefa612082020-04-03 09:54:56 +020017
18 <PropertyGroup>
19 <IsPackable>true</IsPackable>
20 </PropertyGroup>
21
Constantin Ziesche857c7ab2020-02-25 11:24:51 +010022
23 <ItemGroup>
24 <None Include="basyxlogo.png" Pack="true" PackagePath="\" />
25 </ItemGroup>
26
Constantin Zieschefa612082020-04-03 09:54:56 +020027 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
28 <DebugType>Full</DebugType>
29 <DocumentationFile>BaSyx.API.Http.Controllers.xml</DocumentationFile>
Constantin Ziesche857c7ab2020-02-25 11:24:51 +010030 </PropertyGroup>
31
32 <ItemGroup>
Constantin Ziesche857c7ab2020-02-25 11:24:51 +010033 <PackageReference Include="NLog.Web.AspNetCore" Version="4.9.0" />
34 </ItemGroup>
35
Constantin Ziesche9ca87782020-04-03 12:06:02 +020036 <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
37 <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.2.0" />
38 </ItemGroup>
39
Constantin Ziesche857c7ab2020-02-25 11:24:51 +010040 <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 &quot;$(ProjectPath)&quot; --no-build --include-source --include-symbols --output &quot;%25BASYX_REPO%25&quot; ) ELSE ( ECHO BASYX_REPO Environment Variable not found)" />
47 </Target>
48
49</Project>