公司的服务器是装的windows2000(装不了.net framework 3.5), 如何在上面发布VS2008的网站?

解决方案 »

  1.   

    2000可以装.net 3.5http://rainstorms.me.uk/blog/2008/03/12/microsoft-net-framework-35-in-windows-2000/
    Microsoft .NET Framework 3.5 in Windows 2000
    Microsoft don’t support using .NET 3.5 in Windows 2000, which is particularly annoying, especially if, like me, you have a client who has 8 out of 12 PCs still using Windows 2000.So, I decided to have a go and see if I could find any way of doing it. This is completely unsupported, and if it breaks anything, don’t blame me, but it is actually fairly straightforward and it seems to work fine to me (although I doubt it works with things like WPF, but if anyone tries it, please leave a comment to say how it goes)…1. Make sure you have Windows 2000 SP4 installed 
    2. You may need to install KB 835732 before step 3 
    3. Install .NET Framework 2.0 Service Pack 1 
    Now, there are 2 ways of continuing. Either you can copy over all the .NET 3.5 assemblies (you’ll have them on a .NET 3.5 PC in the Program Files\Reference Assemblies\Microsoft\Framework\v3.5 folder). You can either dump them in the application folder or probably register them in the GAC (not tried it, but it should work).Alternatively, try running your application. You will probably get a load of AssemblyReferenceFailedExceptions. Copy in the required DLL from the above folder into your application folder for each one.It should all work now!