Skip to content

Commit

Permalink
msbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoch committed Nov 20, 2024
1 parent 57f757f commit 77d1dcb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .run/Publish MSBuildTasks.run.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Publish MSBuildTasks" type="RunNativeExe" factoryName="Native Executable">
<option name="EXE_PATH" value="/usr/local/share/dotnet/dotnet" />
<option name="PROGRAM_PARAMETERS" value="publish --framework netcoreapp2.1" />
<option name="PROGRAM_PARAMETERS" value="publish --framework net9.0" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/source/Nuke.MSBuildTasks" />
<option name="PASS_PARENT_ENVS" value="1" />
<option name="USE_EXTERNAL_CONSOLE" value="0" />
Expand Down
2 changes: 1 addition & 1 deletion .run/Run MSBuildTasks.run.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Run MSBuildTasks" type="RunExe" factoryName=".NET Executable">
<option name="EXE_PATH" value="/usr/local/share/dotnet/sdk/7.0.100/MSBuild.dll" />
<option name="EXE_PATH" value="/usr/local/share/dotnet/sdk/9.0.100/MSBuild.dll" />
<option name="PROGRAM_PARAMETERS" value="/t:Clean;Restore;Publish;Pack /p:NukeTasksEnabled=True /bl" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/build" />
<option name="PASS_PARENT_ENVS" value="1" />
Expand Down
2 changes: 1 addition & 1 deletion build/_build.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<!-- Test properties for MSBuild integration -->
<PropertyGroup>
<NukeTasksEnabled Condition="'$(NukeTasksEnabled)' == ''">False</NukeTasksEnabled>
<NukeTasksDirectory>$(MSBuildThisFileDirectory)\..\source\Nuke.MSBuildTasks\bin\Debug\netcoreapp2.1\publish</NukeTasksDirectory>
<NukeTasksDirectory>$(MSBuildThisFileDirectory)\..\source\Nuke.MSBuildTasks\bin\Debug\net9.0\publish</NukeTasksDirectory>

<!-- <PackAsTool>True</PackAsTool>-->
<!-- <ToolCommandName>build</ToolCommandName>-->
Expand Down
2 changes: 1 addition & 1 deletion source/Nuke.Common/Nuke.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<None Include="$(MSBuildProjectName).targets" PackagePath="build" Pack="true" />
<None Include="..\Nuke.MSBuildTasks\Nuke.MSBuildTasks.targets" PackagePath="build\netcore" Pack="true" />
<None Include="..\Nuke.MSBuildTasks\Nuke.MSBuildTasks.targets" PackagePath="build\netfx" Pack="true" />
<None Include="..\Nuke.MSBuildTasks\bin\$(Configuration)\netcoreapp2.1\publish\**\*.*" PackagePath="build\netcore" Pack="true" />
<None Include="..\Nuke.MSBuildTasks\bin\$(Configuration)\net9.0\publish\**\*.*" PackagePath="build\netcore" Pack="true" />
<None Include="..\Nuke.MSBuildTasks\bin\$(Configuration)\net472\publish\**\*.*" PackagePath="build\netfx" Pack="true" />
<None Include="..\Nuke.SourceGenerators\bin\$(Configuration)\netstandard2.0\*.dll" PackagePath="analyzers\dotnet\cs" Pack="true" />
</ItemGroup>
Expand Down

0 comments on commit 77d1dcb

Please sign in to comment.