Skip to content

Commit

Permalink
fix conflict .net8
Browse files Browse the repository at this point in the history
  • Loading branch information
chuongmep committed Dec 9, 2023
1 parent 321f9ca commit 3792d8c
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 14 deletions.
2 changes: 1 addition & 1 deletion OpenMEPCad/OpenMEPCad.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
<DynVersion>$(DynamoVersion)</DynVersion>
<BuildOutput>$(DynamoOutput)</BuildOutput>
<PublishSingleFile>true</PublishSingleFile>
<PublishTrimmed>true</PublishTrimmed>
<!-- <PublishTrimmed>true</PublishTrimmed>-->
<Copyright>MIT</Copyright>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>dynamo</PackageTags>
Expand Down
2 changes: 1 addition & 1 deletion OpenMEPCivil/OpenMEPCivil.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
<DynVersion>$(DynamoVersion)</DynVersion>
<BuildOutput>$(DynamoOutput)</BuildOutput>
<PublishSingleFile>true</PublishSingleFile>
<PublishTrimmed>true</PublishTrimmed>
<!-- <PublishTrimmed>true</PublishTrimmed>-->
<Copyright>MIT</Copyright>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>dynamo</PackageTags>
Expand Down
2 changes: 1 addition & 1 deletion OpenMEPRevit/OpenMEPRevit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
<DynVersion>$(DynamoVersion)</DynVersion>
<BuildOutput>$(DynamoOutput)</BuildOutput>
<PublishSingleFile>true</PublishSingleFile>
<PublishTrimmed>true</PublishTrimmed>
<!-- <PublishTrimmed>true</PublishTrimmed>-->
<Copyright>MIT</Copyright>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>dynamo</PackageTags>
Expand Down
2 changes: 1 addition & 1 deletion OpenMEPSandbox/OpenMEPSandbox.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
<DynVersion>$(DynamoVersion)</DynVersion>
<BuildOutput>$(DynamoOutput)</BuildOutput>
<PublishSingleFile>true</PublishSingleFile>
<PublishTrimmed>true</PublishTrimmed>
<!-- <PublishTrimmed>true</PublishTrimmed>-->
<Copyright>MIT</Copyright>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>dynamo</PackageTags>
Expand Down
2 changes: 1 addition & 1 deletion OpenMEPUI/OpenMEPUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
<DynVersion>$(DynamoVersion)</DynVersion>
<BuildOutput>$(DynamoOutput)</BuildOutput>
<PublishSingleFile>true</PublishSingleFile>
<PublishTrimmed>true</PublishTrimmed>
<!-- <PublishTrimmed>true</PublishTrimmed>-->
<Copyright>MIT</Copyright>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>dynamo</PackageTags>
Expand Down
2 changes: 1 addition & 1 deletion OpenMEPViewExtension/OpenMEPViewExtension.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
<DynVersion>$(DynamoVersion)</DynVersion>
<BuildOutput>$(DynamoOutput)</BuildOutput>
<PublishSingleFile>true</PublishSingleFile>
<PublishTrimmed>true</PublishTrimmed>
<!-- <PublishTrimmed>true</PublishTrimmed>-->
<Copyright>MIT</Copyright>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>dynamo</PackageTags>
Expand Down
20 changes: 13 additions & 7 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using Nuke.Common.IO;
using Nuke.Common.ProjectModel;
using Nuke.Common.Tooling;
using Nuke.Common.Tools.DotNet;
using Nuke.Common.Tools.Git;
using Nuke.Common.Tools.GitHub;
using Nuke.Common.Tools.GitVersion;
Expand All @@ -17,7 +18,7 @@
using Serilog;
using static Nuke.Common.IO.FileSystemTasks;
using static Nuke.Common.Tools.MSBuild.MSBuildTasks;

using static Nuke.Common.Tools.DotNet.DotNetTasks;
class Build : NukeBuild
{
/// Support plugins are available for:
Expand Down Expand Up @@ -93,13 +94,18 @@ class Build : NukeBuild
var configurations = Solution.GetConfigurations(BuildConfiguration);
configurations.ForEach(configuration =>
{
MSBuild(s => s
.SetTargets("Rebuild")
.SetProcessToolPath(MsBuildPath.Value)
DotNetTasks.DotNetBuild(s => s
.SetConfiguration(configuration)
.SetVerbosity(MSBuildVerbosity.Minimal)
.DisableNodeReuse()
.EnableRestore());
// .SetFramework("net6.0")
.SetVersion(GitVersion.NuGetVersionV2)
.SetVerbosity(DotNetVerbosity.Minimal));
// MSBuild(s => s
// .SetTargets("Rebuild")
// .SetProcessToolPath(MsBuildPath.Value)
// .SetConfiguration(configuration)
// .SetVerbosity(MSBuildVerbosity.Minimal)
// .DisableNodeReuse()
// .EnableRestore());
});
});

Expand Down
2 changes: 1 addition & 1 deletion build/_build.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<NukeTelemetryVersion>1</NukeTelemetryVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Nuke.Common" Version="7.0.2" />
<PackageReference Include="Nuke.Common" Version="7.0.6" />
<PackageReference Include="vswhere" Version="2.*" />
<PackageDownload Include="GitVersion.Tool" Version="[5.8.1]" />
</ItemGroup>
Expand Down

0 comments on commit 3792d8c

Please sign in to comment.