1
votes

I am trying to run a project in ASP.NET 5 and always getting the below error. My laptop is Windows 10 64 bit machine. But dnx always set as x86 and changing the default alias command doesn't work in my case.

c:\Projects\HelloWorld>dnvm alias default 1.0.0-beta8 -arch x64 -r clr p

Updating alias 'default' to 'dnx-clr-win-x64.1.0.0-beta8'

dnx error screenshot

Even after I was setting up my default run time as x64 but still I am getting the error as run time conflict.

1
If you do dnvm list does it display the right architecture as your default?Maxime Rouiller
You should show what is in your project.json because it's telling you that the active runtime isn't compatible with whatever you specified in your project.json. I don't know why you want to use dnvm alias. I think you want to use dnvm use to select the active one. Spend a minute reading dnvm help.Warren P
@user5555457 You should copy the error instead of posting an image so its easier to read in mobile browsersCarlos Muñoz

1 Answers

2
votes

Use dnvm use instead of dnvm alias:

dnvm use 1.0.0-beta8 -r clr -arch x64