better try a custom .nuspec?

This commit is contained in:
2020-08-04 15:49:54 +02:00
parent 868df49f85
commit 1525765d03
9 changed files with 1169 additions and 545 deletions
+26
View File
@@ -6,6 +6,12 @@
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
</PropertyGroup>
<PropertyGroup>
<PackageId>zero.Web</PackageId>
<Version>0.1.0</Version>
<Description>// TODO 2</Description>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Hosting" Version="2.2.7" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="5.0.0-preview.7.20365.19" />
@@ -19,4 +25,24 @@
<ProjectReference Include="..\zero.Core\zero.Core.csproj" />
</ItemGroup>
<!--<ItemGroup>
<BackofficeUI Include="..\zero.Web.UI\**\*" Exclude="..\zero.Web.UI\node_modules\**\*;..\zero.Web.UI\Assets\*.js;..\zero.Web.UI\package-lock.json" />
<Content Include="@(BackofficeUI)" Link="zero\web\%(RecursiveDir)%(Filename)%(Extension)" CopyToOutputDirectory="PreserveNewest">
<Pack>true</Pack>
<PackagePath>content\zero\web\</PackagePath>
</Content>
</ItemGroup>-->
<!--<Target Name="CopyBackofficeUI" BeforeTargets="BeforeBuild">
<Message Text="Copy Backoffice UI" />
<MakeDir Directories="$(OutDir)\zero\web" Condition="!Exists('$(OutDir)\zero\web')" />
<ItemGroup>
<BackofficeUI Include="..\zero.Web.UI\**\*" Exclude="..\zero.Web.UI\node_modules\**\*;..\zero.Web.UI\Assets\*.js;..\zero.Web.UI\package-lock.json" />
<Content Include="@(BackofficeUI)" Link="zero\web\%(RecursiveDir)%(Filename)%(Extension)" CopyToOutputDirectory="PreserveNewest">
<Pack>true</Pack>
<PackagePath>zero\web\</PackagePath>
</Content>
</ItemGroup>
</Target>-->
</Project>