sdk icon indicating copy to clipboard operation
sdk copied to clipboard

Version 1.0.0.2339-beta Windows version doesn't work.

Open sirentek opened this issue 10 years ago • 10 comments

Steps to reproduce

Run the installer to setup. After installation, run any dotnet command. Type: "dotnet --version" or "dotnet --help"

Expected behavior

Output: "1.0.0-beta-002339".

Actual behavior

Ouput: "The structure of init data has changed, do not know how to interpret it".

Environment data

dotnet --info output: "The structure of init data has changed, do not know how to interpret it".

sirentek avatar Apr 09 '16 09:04 sirentek

Found one workaround: rimraf "$env:LocalAppData\Microsoft\dotnet" or equivalent then reinstall dotnet.

dougbu avatar Apr 09 '16 20:04 dougbu

@schellap

TheRealPiotrP avatar Apr 10 '16 16:04 TheRealPiotrP

Was this install done MSI or ZIP?

TheRealPiotrP avatar Apr 10 '16 16:04 TheRealPiotrP

I see this same thing on OSX in the asp.net build using the script

davidfowl avatar Apr 10 '16 17:04 davidfowl

@davidfowl, There is a mismatch in the interface between hostfxr.dll and hostpolicy.dll. The hostpolicy is probably old. If you cleared out your install and unzipped the contents, do you still repro?

This PR makes the interface backwards compatible: https://github.com/dotnet/cli/pull/2392

schellap avatar Apr 10 '16 17:04 schellap

This fixes the installer to patch hostfxr even when it is in use.

https://github.com/dotnet/cli/pull/2377

schellap avatar Apr 10 '16 17:04 schellap

Was this install done MSI or ZIP?

@davidfowl and I were building aspnet repos e.g. https://github.com/aspnet/Mvc, him on OSx and me on Windows. Those builds use install.ps1 / install.sh scripts. The scripts download the Zip file.

I don't know if @sirentek's case is the same.

dougbu avatar Apr 10 '16 19:04 dougbu

@dougbu I used the .msi installer (Windows).

sirentek avatar Apr 11 '16 09:04 sirentek

Dup of https://github.com/dotnet/cli/issues/2194?

natemcmaster avatar Apr 11 '16 16:04 natemcmaster

I am closing this as it is a duplicate of https://github.com/dotnet/cli/issues/2194

sirentek avatar Apr 15 '16 11:04 sirentek