-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathMoryx.ControlSystem.ProcessEngine.Web.csproj
More file actions
39 lines (32 loc) · 1.28 KB
/
Moryx.ControlSystem.ProcessEngine.Web.csproj
File metadata and controls
39 lines (32 loc) · 1.28 KB
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
<Project Sdk="Microsoft.NET.Sdk.Razor" InitialTargets="BuildUI">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
<IsPackable>true</IsPackable>
</PropertyGroup>
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Moryx.ControlSystem.Processes.Endpoints\Moryx.ControlSystem.Processes.Endpoints.csproj" />
<ProjectReference Include="..\Moryx\Moryx.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Update="Properties\Strings.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Strings.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Properties\Strings.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Strings.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<Import Project="..\..\.build\WebProjects.props"/>
<Target Name="BuildUI" Condition="('$(Configuration)'!='Debug' Or !Exists('wwwroot\main.js')) And ('$(NoBuild)' != 'true') ">
<Exec WorkingDirectory=".\app\" Command="npm ci" />
<Exec WorkingDirectory=".\app\" Command="npm run build:prod" />
</Target>
</Project>