blob: ed7ebe0428eb809ebcc8249ec03ac66b10b2962c [file] [log] [blame]
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<OutputType>Library</OutputType>
<Configurations>Debug;Release</Configurations>
<Authors>Constantin Ziesche</Authors>
<Copyright>Copyright 2021 - Robert Bosch GmbH</Copyright>
<PackageProjectUrl>https://wiki.eclipse.org/BaSyx</PackageProjectUrl>
<RepositoryUrl>https://git.eclipse.org/r/plugins/gitiles/basyx/basyx/+/master/sdks/csnet/</RepositoryUrl>
<PackageLicenseUrl></PackageLicenseUrl>
<Description>The official BaSyx HTTP REST-API for Asset Administration Shells</Description>
<Company>Robert Bosch GmbH</Company>
<PackageTags>BaSys BaSyx Component HTTP REST-API AssetAdministrationShell</PackageTags>
<PackageLicenseExpression>EPL-2.0</PackageLicenseExpression>
<PackageIcon>basyxlogo.png</PackageIcon>
<IsPackable>true</IsPackable>
<RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\BaSyx.API.Http.Controllers\BaSyx.API.Http.Controllers.csproj" />
<ProjectReference Include="..\BaSyx.Components.Common\BaSyx.Components.Common.csproj" />
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<None Include="..\..\resources\basyxlogo.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
<Content Include="..\..\resources\Nlog.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<Pack>true</Pack>
<PackageCopyToOutput>true</PackageCopyToOutput>
<PackageFlatten>true</PackageFlatten>
<PackagePath>contentFiles\any\$(TargetFramework)\</PackagePath>
</Content>
<Content Include="..\..\resources\ServerSettings.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<Pack>true</Pack>
<PackageCopyToOutput>true</PackageCopyToOutput>
<PackageFlatten>true</PackageFlatten>
<PackagePath>contentFiles\any\$(TargetFramework)\</PackagePath>
</Content>
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<Exec Command="IF EXIST %25BASYX_REPO%25 ( dotnet pack &quot;$(ProjectPath)&quot; -c Release --no-build --include-source --include-symbols --output &quot;%25BASYX_REPO%25&quot; ) ELSE ( ECHO BASYX_REPO Environment Variable not found)" />
</Target>
</Project>