Skip to content

Conversation

@pepone
Copy link
Member

@pepone pepone commented Feb 3, 2025

Companion to #3479 to use the new Publish target.

timeout-minutes: 5
working-directory: ice/csharp/msbuild
run: ${{ runner.os == 'Windows' && 'msbuild' || 'dotnet msbuild' }} ice.proj /t:Publish
run: dotnet msbuild ice.proj /t:Publish
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use dotnet msbuild in all platforms for C# builds.


<!-- Download nuget.exe if not present -->
<Target Name="GetNuget" Condition="!Exists('$(NugetExe)')">
<Exec Command="powershell -ExecutionPolicy ByPass -Command &quot;[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12;(New-Object Net.WebClient).DownloadFile('$(NugetURL)', '$(NugetExe)')&quot;"/>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove this file if we switch to CMake. is a helper project to build all the demos.

@pepone pepone merged commit ecf8008 into zeroc-ice:main Feb 3, 2025
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants