Comments (2)
This issue is due to a version mismatch between the .NET Core installation on your Windows machine and the .NET Core installation on your Docker container. There are a couple ways you could work around this:
- Use a Docker container with the older version of .NET. I believe that the microsoft/dotnet:1.0.0-preview1 image would work.
- Upgrade your app to use the newer version of .NET which is installed in your Docker container. This version hasn't yet been released in a Visual Studio tooling bundle, but you could upgrade the project by manually editing its project.json. You can see what a project.json file containing the new versions of the framework and dependencies would look like by doing
dotnet new
in a separate directory.
from dotnet-docker.
Yeah, now I feel dumb, should have noticed that Visual Studio uses preview1 and that preview2 != RC2.
All seems good. Thanks!
from dotnet-docker.
Related Issues (20)
- Docker Hub nightly readmes missing link to dotnet product family
- Git package installation failing for Azure Linux 3.0 on Arm64 HOT 3
- BlazorWasm test failure on Azure Linux 3.0
- Unable to find package Microsoft.NET.Sdk.WebAssembly.Pack with version (>= 9.0.0-preview.6.24307.2)
- [dnceng-bot] Branch `dotnet-docker/nightly` can't be mirrored to Azdo fast forward branch HOT 1
- Add support for Server 2025 HOT 1
- Is there any vulnerability or security issues in Chiseled images build with multistage docker file. HOT 1
- Re-enable PowerShell Arm32 tests for 9.0 HOT 1
- Azure Linux 3.0 and CBL Mariner 2.0 distroless images have hardcoded USER declaration with name instead of UID HOT 2
- Please display image sizes in MiB on the mcr.microsoft.com HOT 1
- Alpine based sdk,runtime-deps with alpine-3.19 and alpine-3.20 ar affected by CVE-2024-5535 HOT 1
- Consider using Docker custom build outputs (`--output`) for generated Dockerfiles and Readmes
- Re-enable aspnet app scenario test HOT 1
- Define common implementation for skipping tests HOT 2
- Clean up diffs in samples between main and nightly branches HOT 1
- Consider using Microsoft-built Golang images for Ubuntu Chisel infrastructure HOT 3
- Install Chisel tool from binaries instead of compiling from source HOT 1
- Re-enable .NET 9 Windows ASP.NET scenario tests that were crashing due to Terminal Logger
- Family "ARM64v8" (only) pointing to "noble-arm64v8" HOT 4
- `zlib` statically linked for .NET 9; We need .NET 9-specific `runtime-deps` HOT 8
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 dotnet-docker.