blob: 3fa3453fc451c04658d815130fc4b6a644af6775 [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 Ziesche7b6d4792020-08-18 17:15:11 +020022 <ItemGroup>
23 <None Remove="BaSyx.API.Http.Controllers.xml" />
24 </ItemGroup>
25
26 <ItemGroup>
27 <EmbeddedResource Include="BaSyx.API.Http.Controllers.xml">
28 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
29 </EmbeddedResource>
30 </ItemGroup>
31
Constantin Ziesche857c7ab2020-02-25 11:24:51 +010032
33 <ItemGroup>
34 <None Include="basyxlogo.png" Pack="true" PackagePath="\" />
35 </ItemGroup>
36
Constantin Zieschefa612082020-04-03 09:54:56 +020037 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
38 <DebugType>Full</DebugType>
39 <DocumentationFile>BaSyx.API.Http.Controllers.xml</DocumentationFile>
Constantin Ziesche857c7ab2020-02-25 11:24:51 +010040 </PropertyGroup>
41
42 <ItemGroup>
Constantin Ziesche857c7ab2020-02-25 11:24:51 +010043 <PackageReference Include="NLog.Web.AspNetCore" Version="4.9.0" />
44 </ItemGroup>
45
Constantin Ziesche9ca87782020-04-03 12:06:02 +020046 <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
47 <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.2.0" />
48 </ItemGroup>
49
Constantin Ziesche857c7ab2020-02-25 11:24:51 +010050 <ItemGroup>
51 <ProjectReference Include="..\BaSyx.API\BaSyx.API.csproj" />
Constantin Ziesche857c7ab2020-02-25 11:24:51 +010052 </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>