declare dependencies in nuspec files and optimize application template
This commit is contained in:
@ -7,25 +7,20 @@
|
||||
<AssemblyName>Oqtane.Application.Server.Oqtane</AssemblyName>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Remove="wwwroot\_content\**\*.*" />
|
||||
<None Include="wwwroot\_content\**\*.*" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="9.0.8" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="9.0.8" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.8" />
|
||||
<PackageReference Include="Microsoft.Extensions.Localization" Version="9.0.8" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Client\Oqtane.Application.Client.csproj" />
|
||||
<ProjectReference Include="..\Shared\Oqtane.Application.Shared.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Oqtane.Server" Version="6.1.5" />
|
||||
<PackageReference Include="Oqtane.Shared" Version="6.1.5" />
|
||||
<PackageReference Include="Oqtane.Server" Version="6.1.6" />
|
||||
<PackageReference Include="Oqtane.Shared" Version="6.1.6" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="CopyStaticAssets" AfterTargets="Build">
|
||||
<ItemGroup>
|
||||
<StaticAssets Include="$(ProjectDir)wwwroot\**\*.*" />
|
||||
</ItemGroup>
|
||||
<Copy SourceFiles="@(StaticAssets)" DestinationFolder="$(ProjectDir)..\AppHost\wwwroot\%(RecursiveDir)" SkipUnchangedFiles="true" />
|
||||
</Target>
|
||||
</Project>
|
||||
|
Reference in New Issue
Block a user