Skip to content

Commit

Permalink
Feat/dotnet8 (#157)
Browse files Browse the repository at this point in the history
* chore: bump to dotnet8

* fix(client): load correct dotnet version

* fix(client): fix some errors for downloading required files
  • Loading branch information
Doxoh authored Sep 30, 2024
1 parent 2e895b5 commit 98abdca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/coreclr/CoreClr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ uint8_t GetCachedAssembly(const char* name, int* bufferSize, void** buffer) {
auto stream = std::ifstream(path, std::ios::binary);
miniz_cpp::zip_file zip(stream);
std::stringstream contentStream;
auto fileName = std::string("lib/net6.0/") + name + ".dll";
auto fileName = std::string("lib/net8.0/") + name + ".dll";
if (!zip.has_file(fileName)) {
cs::Log::Warning << "Nupkg was found, but no dll was found in it " << fileName << cs::Log::Endl;
zip.printdir();
Expand Down
2 changes: 1 addition & 1 deletion download_dotnet.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $start = $pwd

cd $path

$dotnetRelease = Invoke-WebRequest 'https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/6.0/releases.json' | ConvertFrom-Json
$dotnetRelease = Invoke-WebRequest 'https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/8.0/releases.json' | ConvertFrom-Json

$dotnetVersion = $dotnetRelease."latest-release"

Expand Down

0 comments on commit 98abdca

Please sign in to comment.