I installed Remote Server Administration Tools to get Windows Server Update Services (WSUS) API DLL. Problem is that only .net4 DLL is installed. Where/how can I get WSUS API DLL for .net2?
I created new Windows 7 virtual machine, installed only net 2.0/3.5 via "Turn windows features on/off" and downloaded https://www.microsoft.com/en-us/download/details.aspx?id=5216
Now it's right version. Not sure if the reason was different os version, different package from microsoft or the lack of net4, though.
Related
I have a windows CE app that built it with MS VS 2008 smart device .NET 3.5.
after transmit this app to hand held i see below error.
.Net CF Initialization Error
"the application field to load required components. if the .NET compact framwork is install on a storage card , please insure ...."
you can see the compelete error in below picture :
can i improve my device .Net version without change windows CE ?
or i have to recreate this app with .NET 2.0 ?
Please check, which CF version is installed on the device, run cgacutil.exe in windows dir.
The device (an Intermec CN4, according to the title in the screenshot) comes with Windows Mobile 6.1. But I am not sure, if it comes with CF2 or CF3 pre-installed.
Bellow Location has two Folders
C:\Program Files (x86)\Microsoft.NET\SDK\CompactFramework\
v2.0
v3.5
Check All Reference's paths in Solution Explorer. same version should be selected for all reference's from the correct folder as the version you selected on the time of Project creation.
As Windows CE forms are available in both Versions.
in v2.0 as Microsoft.WindowsCE.Forms
in v3.5 as Microsoft.Windowsce.Forms
If Started the Project with .Net v3.5 and added Reference of Windows ce forms from v2.0 folder. the OS will ask for .NET CF Initialization .
I wrote a c# windows application and I want to run it on other computer without any installation.
I setup the netCFSetup v35 but when I run my application this error was apeare :
the application failed to init....
can anyone help me please?...
I think you are installing wrong framework for you application.
Since its a windows application i suggest your install .Net Framework of Desktop. The one you are installing is of Compact Framework (CF in filename netCFSetup v35) which was used for Windows Mobile 6.5 or earlier.
If you created your app in .Net 3.5 version. install this version
http://www.microsoft.com/en-us/download/details.aspx?id=21
To know in which version of .Net Framework your app is written in, go to properties section of project. There you will get your version number.
I am facing a lot of trouble while deploying a windows form application on a CD. I have made the application in .NET framework 2.0 and I want to include the setup for the framwork with the installation disk. The application is to run on WindowsXP(damn, user requirement). I tried deploying it with 1 click deployment in VS2010 but the setup does not run on winXP.(Error-.NET framework 4.0 required to run the application). Is there any way of deploying the app which can run on winXP(.NET 2.0), win7(.NET 4.0)-32 bit as well as 64 bit environment.
A 32 bit app will run on 32 or 64 bit operating systems.
A .NET 2.0 application will run on .NET 2.0 or .NET 4.0.
Sounds like your installer is the only dependency on .NET 4. Check the publishing prerequisites you have set on your project.
Visual Studio 2010 doesn't provide a .Net 2.0 pre-requisite for deployment projects. A MSDN support rep explained (?) this in this question:
In VS 2010, it doesn’t support you to set .NET Framework 2.0 as
prerequisite. You can set .NET 3.5 SP1 client profile instead.
Although your application is still build target to .NET 2.0, .NET 3.5
client profile is a light weight .NET framework run time which
supports to run .NET 2.0 based application. So Microsoft removes .NET
2.0 from the prerequisite list.
There's a solution though in that thread:
If you take the .NET 2.0 package from the VS2008 bootstrapper packages
folder and copy it to the corresponding location for VS2010, it works
fine. I tested it in a virtual machine running Windows XP and no .NET.
On Vista or Windows 7, the VS2008 packages are here:
c:\Program Files\Microsoft
SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFX (this is .NET 2.0)
On Vista or Windows 7, the VS2010 packages are here:
c:\Program Files\Microsoft SDKs\Windows\v7.0A\BootStrapper\Packages
See the other posts in the thread for more detail.
I want to create a windows service, and I am not sure whether to write it on c sharp or c++. I wander if you create the service in c#, do I need to have the whole .net framework installed on the client?
If I do it in c++, as a clr application, it will use the .net framework and it will be managed code. Does that mean that the .net framework has to be installed in the client running the windows services?
Is the CLR installed in all pc?, i mean, if I write a .net server (c# or c++), is the clr already installed in the client, do I need to have something in mind when deplying the windows service to a client machine
Many thanks for your help
Any code that uses .Net requires the .Net framework installed on the machine where it has to run. So, regardless of whether it's C# or C++, if you're using .Net framework, you'll need to have the framework installed.
.Net framework comes pre-installed with Windows Vista and Windows 7 too, I believe. You can check the list of OS that have .Net framework pre-installed (anyway, it's not that big).
CLR is installed in all machines that have .Net framework, because CLR is part of .Net framework.
So, if you're installing a .Net-based Windows Service, here are your checkpoints:
Check if the system has .Net Framework (that is compatible with your service).
If not, then install the .Net Framework first.
Else, go ahead and install the service. Start it and you're good.
Managed C++ requires the .NET framework to be installed on the client's machine, as does an application written in C#.
The .NET Framework is installed on Windows Vista, and Windows 7 (2.0 and 3.0 respectively) however can be removed by the user.
It is best to check if they've got it installed and allow them to download/install it as part of your application's installation process.
Visual Studio 2005
I have developed an application using C#. I have created an setup application, and included the .NET Framework 2.0 on the CD.
I am not using ClickOnce.
However, one of our clients is complaining that they cannot install as it's asking
for Windows Installer 3.1. However, I didn't exclude that from the setup project.
To do a complete test I decided to install some VMware that didn't have the .NET framework or Windows Installer 3.1 (just a skeleton Windows XP). The application installed OK.
What is the Windows Installer 3.1? And why do I need it?
Windows installer is the software that is able to run MSI files. It comes (in some version) with Windows (starting in Windows 2000 SP4). In each MSI file, the minimum installer version is defined; installer will complain if the MSI is "too new". The Windows SDK has a table showing what installer versions where included in what Windows releases.
You can get the 3.1 redistributable from Microsoft.
You need it to install .NET framework 2.0.
Please check this download link.
Its System Requirements says:
System Requirements
- Required Software:
o Windows Installer 3.0 (except for Windows 98/ME, which require Windows Installer 2.0 or later). Windows Installer 3.1 or later is recommended.
o IE 5.01 or later: You must also be running Microsoft Internet Explorer 5.01 or later for all installations of the .NET Framework.
EDIT : You can make sure in your setup project that all the prerequisites for your project exists in your Setup Package. You can find a step-by-step how-to in this CodeProject article..