-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
32 bit not in good state and workarounds #1624
Comments
IIRC you'll need to install 32 bit/x86 |
32/64 bit should be just another project option. I do have x64 projects too. How do we do mixture of projects then? |
@kili0fi You can install both 32bit and 64bit dotnet SDKs on your machine, side-by-side. |
Tested, They can be installed side-by-side, but either one dominates depending on system PATH. So mixture of projects is possible, but it is really clumsy. This can be only temporary state. Either they should cross-compile or delegate to each other. Installing x86 version fixes many things.
But leaves room for improvement: None of these are showstoppers.
|
cc @piotrpMSFT |
Where can the 32 bit SDK be found? As @kili0fi mentioned it appears to be a well hidden artifact. |
whispers quietly @MatLeger , go to www.asp.net. then download page, then Other Downloads, link is under the big white bar below "Docker". |
One more finding: I have in my solution a windows dll as csproj. After installing the x86 SKD, the main project, which is project.json, can't find the dll. I had to change in the csproj the output path of e.g. debug, x86 configuration, output path from bin\x86\Debug\ to bin\Debug\ . Although project.json is nice and clean, i am not so fond of it, if it is TOO simplistic, and can't be tweaked to actually work. We have solutions consisting of tens of modules. Their builds must work. |
@guardrex , i see this issue might have fitted better into cli section. Bear with me while i am learning the ropes. Before this open-source stuff i just kicked closest MS arse. Above is my last finding before vacation. Feel free to close this issue if it's a duplicate. |
@kili0fi They'll cross-reference fine this way. The original issue is well known. Right now, they have it at the |
I also seem to be experiencing this issue; |
@kili0fi I'm also trying to build my .NET Core Web Application using the x86 version of the SDK, but I can't seem to point dotnet to use the x86 version. I installed the x86 SDK from here, and it's sitting in C:\Program Files (x86)\dotnet When I open my project in Visual Studio 2015, I get the error: Here is my global.json:
Any ideas about how to fix this? |
@john-luke-laue , i suggest you look at your system PATH. Studio can't select which SDK it uses. Move the (x86) directory before the 64-bit version. If studio finds the 64-bit version first, it delegates to it, and it in turn fails to make correct x86 build. If you give in command prompt command |
Is this still the case? |
@Alxandr Exactly how to achieve this ? "Move the (x86) directory before the 64-bit version". What I did was, removed dotnet folder from C:\Program Files(x86)\dotnet. But then my VS solution was not able to pick up dotnet from C:\Program Files\dotnet. Can you help? |
Closing this issue because it isn't clear to me if there is an issue remaining. If you feel there's still an issue, please re-open this issue or log a new issue with complete details of the problem. Thanks! |
- Renamed KestrelHttpParser to HttpParser - Removed the generic virtual dispatch as it turns out to be an order of magnitude slower than regular virtual dispatch. This change means we also lose the inlining of Frame.OnStartLine and Frame.OnHeader.
I am building 32 bit versions of everything in Asp.Net Core, because i have some legacy COM modules to support. 32 bit support is not well implemented, and has bugs. The solution consists of clean Asp.Net Core app with project.json, and from a .net module wrapping COM as .csproj.
"platform": "x86"
.host.Run();
fails.dotnet publish "%CurrentPath%" --framework net452 --runtime win-x86 --output "%TargetPath%" --configuration Debug --build-base-path "%CurrentPath%\artifacts\bin\MyProject"
I need to allow the publishing to build it, publish, and afterwards copy correct Libuv.dll.
The text was updated successfully, but these errors were encountered: