Skip to content

Commit ad72d25

Browse files
IX-BOTPTKu
andauthored
[NEW-FEATURE] Update to apax 2.0.0 (#246)
* Create draft PR for #245 * fix after update to apax 2.0.0 --------- Co-authored-by: PTKu <[email protected]> Co-authored-by: Peter <[email protected]>
1 parent 2df3b77 commit ad72d25

File tree

22 files changed

+28
-18
lines changed

22 files changed

+28
-18
lines changed

cake/BuildContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public void UploadTestPlc(string workingDirectory, string targetIp,
100100

101101
this.ProcessRunner.Start(Helpers.GetApaxCommand(), new ProcessSettings()
102102
{
103-
Arguments = " install -L",
103+
Arguments = " install",
104104
WorkingDirectory = workingDirectory,
105105
RedirectStandardOutput = false,
106106
RedirectStandardError = false,

cake/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ private static void ProvisionProjectWideTools(BuildContext context)
9696

9797
context.ProcessRunner.Start(Helpers.GetApaxCommand(), new Cake.Core.IO.ProcessSettings()
9898
{
99-
Arguments = $" install -L -c",
99+
Arguments = $" install -c",
100100
WorkingDirectory = Path.Combine(context.ScrDir, "apax"),
101101
RedirectStandardOutput = false,
102102
RedirectStandardError = false,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"OutputProjectFolder":"ix","UseBase":false}
1+
{"OutputProjectFolder":"ix","UseBase":false,"NoDependencyUpdate":false,"ProjectFile":"ax_blazor_example.csproj"}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"Id":"ax_blazor_example","Version":"0.0.0"}

src/AXSharp.compiler/src/AXSharp.Cs.Compiler/CsProject.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ private void EnsureCsProjFile()
112112
var defaultCsProjectWhenNotProvidedByTemplate =
113113
$@"<Project Sdk=""Microsoft.NET.Sdk"">
114114
<PropertyGroup>
115-
<TargetFramework>net7.0</TargetFramework>
115+
<TargetFrameworks>net7.0</TargetFrameworks>
116116
<ImplicitUsings>enable</ImplicitUsings>
117117
<Nullable>enable</Nullable>
118118
</PropertyGroup>
@@ -123,7 +123,12 @@ private void EnsureCsProjFile()
123123
</ItemGroup>
124124
125125
<ItemGroup>
126-
<Compile Include="".g\**"" />
126+
<Compile Include="".g\**"" />
127+
</ItemGroup>
128+
129+
<ItemGroup>
130+
<Folder Include="".meta\"" />
131+
<Content Include="".meta\**"" />
127132
</ItemGroup>
128133
</Project>";
129134

src/AXSharp.compiler/src/ixd/tests/samples/ax/apax.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ scripts:
2929
echo "Environment variable AXTARGET not defined!!!"
3030
fi
3131
do-it-all:
32-
- apax install -L
32+
- apax install
3333
- apax build
3434
- apax check+download
3535

src/AXSharp.compiler/src/ixr/tests/samples/ax/apax.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ scripts:
2929
echo "Environment variable AXTARGET not defined!!!"
3030
fi
3131
do-it-all:
32-
- apax install -L
32+
- apax install
3333
- apax build
3434
- apax check+download
3535

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"OutputProjectFolder":"ix","UseBase":false}
1+
{"OutputProjectFolder":"ix","UseBase":false,"NoDependencyUpdate":false,"ProjectFile":"ax_test_project.csproj"}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"Id":"ax_test_project","Version":"0.0.0"}

src/AXSharp.connectors/tests/ax-test-project/go.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ $targetIP = [Environment]::GetEnvironmentVariable('AX_WEBAPI_TARGET')
22
$targetInput = [Environment]::GetEnvironmentVariable('AXTARGETPLATFORMINPUT')
33
$targetIP
44
$targetInput
5-
apax install -L
5+
apax install
66
apax build
77
apax sld --accept-security-disclaimer -t $targetIP -i $targetInput -r --default-server-interface

0 commit comments

Comments
 (0)