Can I use nuget packages which is not written OS ver 32 or 64 for 32 and 64 bit OS? - visual-studio-2012

Now I got several nuget packages(.nupkg) and installed VS's project on 64bit OS.
It was successfully finished.
And I'd like to install these packages to 32bit PC(StandAlone) by using CD which is burned .nupkg files.
(This PC cannot connect to Internet)
These packages seems to be not defined OS version specifically.
I have a quetion which is written in above title.
Can I use nuget packages which is not written OS ver 32 or 64 for 32 and 64 bit OS?
And would you give me some reaseons about your answer.
Regards.

NuGet packages do not distinguish between 32 or 64-bit version of OS. They can be installed to both.
There was an issue filed on codeplex to support distinguishing for different platforms as
https://nuget.codeplex.com/workitem/679

Related

Can't use python-snap7 on Windows

I can get Snap7 working on Linux but not on Windows using Pycharm. I get:
WindowsError: [Error 193] %1 is not a valid Win32 application.
I have tried Python 32 and 64 bit version using all combinations of the snap7.dll, the ones in the archives Win32 and Win64. I'm using Windows7 64-bit Professional. What's going on?
I have been working on a Linux system also with Snap7 for the past few months, to come over to Windows to also receive this issue. Only reason I haven't noticed this sooner is because I have been using the ClientDemo in the Snap7 Package.
I have tried the following:
Going back to older versions of Python (e.g. 2.7 where the documentation says its compatible)
un-installing and installing the packages (Both Python and Snap7)
There is only one thing I can clearly think of, and that it is the OS. Not sure if its all flavors of Windows 7 however. The documentation for the installation also states:
"Python-snap7 is developer for snap7 1.1.0 and Python2.7. It is tested on Windows (8.1 64 bit) and Linux, but it may work on other operating systems. Python 2.6 and Python 3+ may work, but are not fully tested yet."
Link: https://python-snap7.readthedocs.io/en/latest/introduction.html
So perhaps by chance, we are just unfortunate and that it does not work with this specific OS?

Installed windows 10 with 32-bit on accident now i can't re-install windows 10 as 64-bit

I recently installed windows 10 and on accident installed 32-bit. Now when I try to re-install windows 10 with 64-bit I receive the error: This version of the program is not compatible with this version of windows. I know i have A 64-bit processor. HELP!!!
Did you try to install 64 bit version while you are in side the 32 bit version ?
You CANNOT transfer from 32 bit to 64 bit by running the installer as an upgrade over the 32 bit version.
If you need the 64 bit version, please boot from the installation disc and reinstall the OS from scratch (There’s no upgrade path),
Also remember to select the 64 bit version in the setup.
If you need more help read this How to geek article
http://www.howtogeek.com/228042/how-to-switch-from-32-bit-windows-10-to-64-bit-windows-10/

Check if Windows Imaging Component on Windows 8.1 64bit

Problem:
I was trying to install Ansys 15 64-bit on my Windows 8.1 64bit. In prerequisite check, it did not detect WIC as installed. The installer worked on my other laptop (also Windows 8.1 64 bit).
Solutions Tried
I knew WIC comes preinstalled and there is no installer for Windows 8.1. (A setup for XP was available...tried to install it anyway, unsuccessfully).
So, I tried updating my windows, checking system using SFC /SCANNOW etc.
Questios
1.How can I detect if WIC is installed on Windows 8.1?
(A similar question for XP was asked. Its solutions don't apply here)
2.How to install WIC on Windows 8.1? (I don't want to reinstall Windows)
I found the answer after going through my other laptop's registry. It seems that many programs (like Ansys etc.) determine the availability of WIC by the presence of the following registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WIC]
"NoRemove"=dword:00000001
Once I added this key the Prerequisite Check program detected WIC as installed.

Sun's Wireless Toolkit 2.5.2 on 64 bit Windows

I am having a 64 bit JDK installed on my laptop and to develop J2ME app, I recently installed Sun's WTK 2.5.2. When I m trying to run the project using this wtk, I m getting this error:
java.lang.UnsatisfiedLinkError:
Though my machine had an Intel core i3 processor(64 bits) the error says:
Can't load IA 32-bit .dll on a AMD 64-bit processor
Is there any way to solve this problem? Is there anything else I can do to make J2ME App on my laptop?
I had the same issue.
Solved it by installing a 32 bit java, then re-installing the WTK, During installation it asks you witch JDK to use, then just point to the 32 bit java.
Just install 32-bit JDK and everything will work. General rule is simple: 32 bit applications will use 32 bit JDK, 64-bit will use 64 bit JDK. Since WTK is 32 bit application - it would need 32 bit JDK
Just edit to
C:\PROGRA~2\Java\jre6\bin\java
You have to change to jdk of 32 bits, then you have to edit the file: "$WTK_HOME\bin\emulator.vm" and change the jdk in the first line:
C:\Program Files (x86)\Java\jre1.5.0_22\bin\java

How to convert a 64 bit rpm file into 32 bit rpm file

Hi I am using Fedora 10 linux with 64bit architecture. I have created 64bit rpm file for my application. It works fine all fedora 10 linux which have 64 bit. But my application doesnot work well for 32 bit linux. So how to convert 64bit rpm file into 32 bit rpm file. Or how to recreate 32 bit rpm file.
Thanks
Sunil Kumar Sahoo
You will need to have 32bit libraries installed on your machine and while package is being build/compile, compiler will need to get -m32 option. I came across this solution:
CC='gcc -m32' CXX='g++ -m32' linux32 rpmbuild --rebuild --target=i586 package.src.rpm
But I didn't try it myself.
Hops it will help you somehow.
BR,
Dawid.
You can use the way Czlowiekwidmo has mentioned or if you have a machine with 32 bit architecture you can set up the same environment as you have setup for 64 bit. follow the same process for rpm creation as you have done for 64 bit then you will get rpm for 32 bit.
Maybe a bit more than you ask for but have you ever looked at http://build.opensuse.org/ ? It's a fantastic build service that allows to build packages for a vast number of Linux distributions (including Fedora 10 - however marked as DISCONTINUED).
Apart from using the superb web-interface, you can also build locally (just in case, your package is closed-source?).
And yes, building both 64 bit and 32 bit packages is supported, along with building 32 bit support libraries for 64 bit platforms.
You can also use "mock" command. "yum install mock", then "man mock", you will find how to use it.
The similar question was answered here:
https://serverfault.com/questions/200712/how-to-create-rpm-for-32-bit-arch-from-a-64-bit-arch-server
One example for mock:
mock -r fedora-10-i386 --rebuild foo.srpm

Resources