-
Notifications
You must be signed in to change notification settings - Fork 314
i have a question #579
Comments
Run build.cmd first |
when i run build.cmd, it doesn't work. Then i tried to follow the cue and add the path to my system PATH,but it's still useless. |
What happens when you run build.cmd |
The window flashed past. |
Run it from the command line... |
If you get errors, please copy & paste the exact messages you get |
Hi, I have the similar problem to build any of .net core projects (DI, Configuration, Hosting etc). The suggest commands
It seems it downloads a x64 version dotnet CLI to my x86 OS, is this a bug? Any suggestion? Here is my environment info.
I have posted my problem to dotnet/aspnetcore#2191 |
@heku use a 64 bit OS if you want to build ASP.NET Core repositories. |
@davidfowl Thank you, may I know if this is by design? |
Everyone that builds these repositories use a 64bit OS, that includes us an most of the OSS contributors. We wouldn't optimize for both unless there was a large number of people on 32 bit OSes trying to build these repos (and there isn't). |
@davidfowl Got it, thank you for help. |
@heku try setting the If you're using Command Prompt
If you're using PowerShell $env:KOREBUILD_DOTNET_ARCH='x86' |
@heku I stand corrected. |
@davidfowl Never mind, I always appreciate your help. |
Closing because this appears to be resolved. |
@natemcmaster Would it be possible to expose a 32-bit version of build.cmd on all repos? Though it may hit only a small number of people, we should make it as easy as possible to have anyone contribute. |
IMO it would be better to just detect when a machine is 32-bit only. I think this can be determined from env variables like PROCESSOR_ARCHITECTURE and PROCESSOR_ARCHITEW6432 |
严重性 代码 说明 项目 文件 行 禁止显示状态
错误 KRB1001 Package references have not been pinned. Run './build.cmd /t:Pin'.
Also, you can run './build.cmd /t:Restore' which will pin and restore packages. 'build.cmd' can be found in 'D:\Research\DependencyInjection'. DI.Abstractions D:\Research\DependencyInjection\Directory.Build.targets 12
when i'm going to build solution,this mistake is coming?How can i resolve it?
The text was updated successfully, but these errors were encountered: