-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathTestWebsite.csproj
49 lines (40 loc) · 1.74 KB
/
TestWebsite.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<UserSecretsId>1eebc780-ddb5-4ad2-8b94-3b8a1089619c</UserSecretsId>
<NoWarn>CS1998</NoWarn>
</PropertyGroup>
<!-- Can be used for publishing on local and run on IIS -->
<!--<PropertyGroup>
<SpaRoot>..\Cloudy.NET.UI\wwwroot-src\</SpaRoot>
</PropertyGroup>
<Target Name="PublishRunWebpack" AfterTargets="ComputeFilesToPublish">
<Exec WorkingDirectory="$(SpaRoot)" Command="npm install" />
<Exec WorkingDirectory="$(SpaRoot)" Command="npm run build" />
<ItemGroup>
<DistFiles Include="$(SpaRoot)dist\**"/>
<DistFiles>
<PublishPath>$([System.String]::Copy('%(RelativeDir)').Replace($(SpaRoot)dist, 'wwwroot'))</PublishPath>
</DistFiles>
<ResolvedFileToPublish Include="@(DistFiles->'%(FullPath)')" Exclude="@(ResolvedFileToPublish)">
<RelativePath>%(DistFiles.PublishPath)%(DistFiles.FileName)%(DistFiles.Extension)</RelativePath>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
<ExcludeFromSingleFile>True</ExcludeFromSingleFile>
</ResolvedFileToPublish>
</ItemGroup>
</Target>-->
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="7.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Cloudy.NET.UI.AzureMediaPicker\Cloudy.NET.UI.AzureMediaPicker.csproj" />
<ProjectReference Include="..\Cloudy.NET.UI\Cloudy.NET.UI.csproj" />
<ProjectReference Include="..\Cloudy.NET\Cloudy.NET.csproj" />
</ItemGroup>
<ItemGroup>
<Content Update="wwwroot\components\my-awesome-component.js">
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
</ItemGroup>
</Project>