Comments (2)
I just updated the repo to .NET 7 (a simple search and replace tbh) and I tested the x64 image and that seems OK. I didn't look too closely at your Dockerfile yet, if you're still stuck I will take a look at the weekend just bump this issue :)
from multi-arch-container-dotnet.
Thanks a lot for your answer.
Interesting, I have this problem now:
> [linux/arm64 backend 9/13] RUN dotnet restore --runtime $(cat /tmp/rid):
#35 124.3 /usr/share/dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(54,5): error MSB4184: The expression "[MSBuild]::GetTargetFrameworkIdentifier(net7.0)" cannot be evaluated. Exception has been thrown by the target of an invocation. [/src/src/Notifo.Infrastructure/Notifo.Infrastructure.csproj]
It has been reported before: NuGet/Home#12227... strange that it works for you.
UPDATE:
When I change the first line to the same as in your example, the restore works for arm, but not the tests anymore:
https://github.com/notifo-io/notifo/blob/multiplatform/Dockerfile#L4
New Error:
#33 149.4 A total of 1 test files matched the specified pattern.
#33 149.6 Could not find 'dotnet' host for the 'ARM64' architecture.
#33 149.6
#33 149.6 You can resolve the problem by installing the 'ARM64' .NET.
#33 149.6
#33 149.6 The specified framework can be found at:
#33 149.6 - https://aka.ms/dotnet-download
#33 149.6
#33 149.7
from multi-arch-container-dotnet.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multi-arch-container-dotnet.