Skip to content

Commit

Permalink
Update MonoMod and other various dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Wartori54 committed Oct 6, 2024
1 parent a15146c commit 88bd27e
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 15 deletions.
23 changes: 14 additions & 9 deletions .azure-pipelines/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,24 @@ variables:
solution: '**/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
runtimeVersion: 'net7.0' # Must match TargetFramework in the csprojs
VANILLA_CACHE: $(Pipeline.Workspace)/vanilla

name: '$(Build.BuildId)+$(Build.BuildIdOffset)'

steps:
# Pre-build steps.
- task: NuGetToolInstaller@1
# Pre-build steps.

- task: NuGetCommand@2
- task: UseDotNet@2
displayName: 'Set up .NET'
inputs: # packageType defaults to sdk
version: 8.x

- task: DotNetCoreCLI@2
displayName: 'Restore NuGet packages'
retryCountOnTaskFailure: 2
inputs:
restoreSolution: '$(solution)'
command: 'restore'
projects: '$(solution)'

- task: PowerShell@2
displayName: 'Run .azure-pipelines/prebuild.ps1'
Expand All @@ -37,14 +42,14 @@ steps:
publishWebProjects: false
zipAfterPublish: false
projects: '*/*.csproj'
arguments: '--configuration $(buildConfiguration) "/p:Configuration=$(buildConfiguration)"'
arguments: '--configuration $(buildConfiguration) "/p:Configuration=$(buildConfiguration)" --no-restore'

# Create and "publish" main artifact.
- task: CopyFiles@2
displayName: 'Pack main artifact: NETCoreifier'
continueOnError: true
inputs:
sourceFolder: '$(Build.SourcesDirectory)/NETCoreifier/bin/Release/net7.0/publish'
sourceFolder: '$(Build.SourcesDirectory)/NETCoreifier/bin/Release/$(runtimeVersion)/publish'
contents: '**'
targetFolder: '$(Build.ArtifactStagingDirectory)/main/'
cleanTargetFolder: true
Expand All @@ -54,7 +59,7 @@ steps:
displayName: 'Pack main artifact: Celeste.Mod.mm'
continueOnError: true
inputs:
sourceFolder: '$(Build.SourcesDirectory)/Celeste.Mod.mm/bin/Release/net7.0/publish'
sourceFolder: '$(Build.SourcesDirectory)/Celeste.Mod.mm/bin/Release/$(runtimeVersion)/publish'
contents: '**'
targetFolder: '$(Build.ArtifactStagingDirectory)/main/'
cleanTargetFolder: false
Expand All @@ -64,7 +69,7 @@ steps:
displayName: 'Pack main artifact: MiniInstaller'
continueOnError: true
inputs:
sourceFolder: '$(Build.SourcesDirectory)/MiniInstaller/bin/Release/net7.0/publish'
sourceFolder: '$(Build.SourcesDirectory)/MiniInstaller/bin/Release/$(runtimeVersion)/publish'
contents: '**'
targetFolder: '$(Build.ArtifactStagingDirectory)/main/'
cleanTargetFolder: false
Expand Down
8 changes: 4 additions & 4 deletions Celeste.Mod.mm/Celeste.Mod.mm.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Mono.Cecil" Version="0.11.4" />
<PackageReference Include="Mono.Cecil" Version="0.11.5" />
<ProjectReference Include="..\external\MonoMod\src\MonoMod.Patcher\MonoMod.Patcher.csproj" />
<ProjectReference Include="..\external\MonoMod\src\MonoMod.Utils\MonoMod.Utils.csproj" />
<ProjectReference Include="..\external\MonoMod\src\MonoMod.RuntimeDetour\MonoMod.RuntimeDetour.csproj" />
<ProjectReference Include="..\external\MonoMod\src\MonoMod.RuntimeDetour.HookGen\MonoMod.RuntimeDetour.HookGen.csproj" />
<PackageReference Include="DotNetZip" Version="1.16.0" />
<PackageReference Include="System.Drawing.Common" Version="7.0.0" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<PackageReference Include="YamlDotNet" Version="8.1.2" />
<PackageReference Include="Jdenticon-net" Version="2.2.1" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
<PackageReference Include="YamlDotNet" Version="16.1.3" />
<PackageReference Include="Jdenticon-net" Version="3.1.2" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<ProjectReference Include="..\external\NLua\build\net6.0\NLua.net6.0.csproj" />
<PackageReference Include="MAB.DotIgnore" Version="3.0.2" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion NETCoreifier/NETCoreifier.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Mono.Cecil" Version="0.11.4" />
<PackageReference Include="Mono.Cecil" Version="0.11.5" />
<ProjectReference Include="..\external\MonoMod\src\MonoMod.Patcher\MonoMod.Patcher.csproj" />
<ProjectReference Include="..\external\MonoMod\src\MonoMod.Utils\MonoMod.Utils.csproj" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion external/MonoMod
Submodule MonoMod updated 447 files
5 changes: 5 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"msbuild-sdks": {
"Microsoft.Net.Sdk.IL": "7.0.0"
}
}

0 comments on commit 88bd27e

Please sign in to comment.