Reputation: 3
We are planning to upgrade to windows server 2008 machine (from server 2003) and have a bunch of windows services written in visual studio 2003/2005 that we will have to migrate. My concerns is that on server 2008 there is no .NET 1.1 framework, as we had on the server 2003.
I have some doubts, but hopeful to clear them here:
Upvotes: 0
Views: 86
Reputation: 130
You can install .NET 1.1 (and also a SP1) on Windows 2008. It warns you about conflicts but works ok.
Upvotes: 0
Reputation: 156978
- Are windows services 'targeted' for specific .net environments?
Not specifically. .NET assemblies are version specific, but usually backwards compatible. A .NET 1.1 assembly will still run on a 2.0 or higher .NET version. I do suggest to upgrade though since .NET 1.1 is more than ten years old already.
- If, yes, how can I migrate to framework to 2.0?
You have to change the targeted .NET Framework for the Visual Studio project. You can do this in the Project Settings dialog. You have to recompile and distribute that newer version.
- Can I use the installutil from .net 2.2 to install a .net 1.1 win service?
Yes. The installutil
is not something .NET specific. It will work for any exe as far as I know.
Upvotes: 3