Version 1.0.0.2339-beta Windows version doesn't work.
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".
Found one workaround: rimraf "$env:LocalAppData\Microsoft\dotnet" or equivalent then reinstall dotnet.
@schellap
Was this install done MSI or ZIP?
I see this same thing on OSX in the asp.net build using the script
@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
This fixes the installer to patch hostfxr even when it is in use.
https://github.com/dotnet/cli/pull/2377
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 I used the .msi installer (Windows).
Dup of https://github.com/dotnet/cli/issues/2194?
I am closing this as it is a duplicate of https://github.com/dotnet/cli/issues/2194