Skip to content

Commit a2360d6

Browse files
committed
Fix global solution generation
1 parent 15c3f7e commit a2360d6

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Directory.Build.targets

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<!-- Thanks to Thomas Frenzel (https://github.com/dotnet/sdk/issues/1151#issuecomment-385133284) -->
55
<PropertyGroup>
66
<ReplacePackageReferences Condition="$(ReplacePackageReferences) == ''">true</ReplacePackageReferences>
7-
<SolutionPath>$(MSBuildThisFileDirectory)\nuke-common.sln</SolutionPath>
7+
<SolutionPath>$(MSBuildThisFileDirectory)\nuke-global.sln</SolutionPath>
88
</PropertyGroup>
99

1010
<Choose>

build/Build.GlobalSolution.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ partial class Build
2222
{
2323
[Parameter] readonly bool UseHttps;
2424

25-
Nuke.Common.ProjectModel.Solution GlobalSolution = (RootDirectory / "nuke-global.sln").ExistingFile()?.ReadSolution();
26-
25+
AbsolutePath GlobalSolution => RootDirectory / "nuke-global.sln";
2726
AbsolutePath ExternalRepositoriesDirectory => RootDirectory / "external";
2827
AbsolutePath ExternalRepositoriesFile => ExternalRepositoriesDirectory / "repositories.yml";
2928

external/repositories.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
- https://github.com/nuke-build/tweets.git
1010
- https://github.com/nuke-build/visualstudio.git
1111
- https://github.com/nuke-build/vscode.git
12-
- https://github.com/nuke-build/web.git
12+
- https://github.com/nuke-build/website.git

0 commit comments

Comments
 (0)