Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7.0 apps can't run with latest main branch sdk #13450

Closed
kirsan31 opened this issue Mar 22, 2022 · 2 comments
Closed

7.0 apps can't run with latest main branch sdk #13450

kirsan31 opened this issue Mar 22, 2022 · 2 comments

Comments

@kirsan31
Copy link

Any 7.0 app fail to run with error that .net need to be installed.
I've checked:
dotnet-sdk-7.0.100-preview.3.22167.1-win-x64.exe and dotnet-sdk-7.0.100-preview.3.22171.1-win-x64.exe the error is same:
image
image

@RussKie
Copy link
Member

RussKie commented Mar 22, 2022

I think this would be again a coherency issue... 😒

To repro:

  1. Install the latest nightly build, e.g. https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-win-x64.exe.
  2. Create a Windows Forms app: dotnet new winforms.
  3. Attempt to run it: dotnet run.
  4. Observe the above error.

I found one way to (temporarily) work around this by copying C:\Program Files\dotnet7p3\shared\Microsoft.NETCore.App\7.0.0-preview.3.<latest_version> to C:\Program Files\dotnet7p3\shared\Microsoft.NETCore.App\7.0.0-preview.3.22158.1.

@marcpopMSFT
Copy link
Member

This should be fixed now with the dependency flow merge.

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

No branches or pull requests

3 participants