Skip to content

Commit a5afeaa

Browse files
committed
Fixed some paths for the build
1 parent fd8f2ff commit a5afeaa

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

update-conference-prague-2024/demo-code-feedback-system/build/build/ApplicationBuildConfigs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public record AppPaths(
1010
{
1111
public static AppPaths LoadFromContext(ICakeContext context, string buildConfiguration, string srcDirectory, string buildArtifactsPath)
1212
{
13-
var slnFile = $"{srcDirectory}/Feedback.sln";
13+
var slnFile = $"{srcDirectory}/FeedbackApp.sln";
1414
var unitTestsCsProj = $"{srcDirectory}/UnitTests/UnitTests.csproj";
1515

1616
var azFunctionsProject = new DotNetProject(

update-conference-prague-2024/demo-code-feedback-system/build/build/Program.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ public override void Run(BuildContext context)
7676
{
7777
var buildFuncs = new[]
7878
{
79-
() => BuildDotnetApp(context, context.AppPaths.AzFunctionsProject.CsprojFile),
80-
() => BuildDotnetApp(context, context.AppPaths.WebClientProject.CsprojFile),
79+
() => BuildDotnetApp(context, context.AppPaths.SlnFile),
8180
};
8281

8382
var runner = Parallel.ForEach(buildFuncs, func => func());
@@ -93,7 +92,7 @@ private void BuildDotnetApp(BuildContext context, string pathToProj)
9392

9493
context.DotNetBuild(pathToProj, new DotNetBuildSettings
9594
{
96-
NoRestore = true,
95+
NoRestore = false,
9796
Configuration = context.BuildConfiguration
9897
});
9998
}

0 commit comments

Comments
 (0)