none
Running .NET programs on Surface with Windows 8 RRS feed

  • Question

  • I own a Surface running Windows 8.

    It does not run .NET (rev 2.0, 3.0 and3.5) programs.

    Is there a way to enable .NET or add the functionality to the Surface?

    Thanks.

    • Moved by Kristin Xie Tuesday, September 23, 2014 8:50 AM .NET Framework Setup related
    Sunday, September 21, 2014 11:38 PM

Answers

  • Hello Javo2000,

    Please clarify your Surface in detail, is it Surface Pro or Surface on Win RT?

    If it is Surface Pro, please try enable .NET 3.5 feature from control panel. If you cannot, try refer to here:

    http://msdn.microsoft.com/en-us/library/hh506443.aspx

    Note that .NET 3.5 contains .NET 2.0 and .NET 3.0

    If it is Surface RT, sorry I'm not sure if .NET 3.5 can be installed, you have to consult on this forum:

    http://answers.microsoft.com/en-us/windows/forum/windows_rt

    Regards,



    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by pvdg42 Tuesday, September 30, 2014 9:24 PM
    • Marked as answer by Barry WangModerator Wednesday, October 1, 2014 5:54 AM
    Tuesday, September 23, 2014 8:46 AM
    Moderator

All replies

  • You probably need to be using WPF and nothing less than Framework 4.0.
    Monday, September 22, 2014 3:05 AM
  • As long as it also runs .NET 2.0, 3.0 and 3.5.

    How do you enable or install it?

    Thanks.

    Monday, September 22, 2014 4:01 AM
  • http://msdn.microsoft.com/en-us/library/aa970268(v=vs.110).aspx

    I doubt that WPF, which is a project type like a Windows form or ASP.NET project is part of Visual Stuido.

    I doubt that WPF works on Framework 2.0. At best WPF may work on 3.5. I don't know, becuase I have only used it on 4.0 and above. You can ask in the below forum.

    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wpf

    Monday, September 22, 2014 1:28 PM
  • Just use a config file to use the version 4 of the clr as the first priority:

    <configuration>
      <startup useLegacyV2RuntimeActivationPolicy="true">
        <supportedRuntime version="v4.0"/>
        <supportedRuntime version="v2.0.50727"/>
      </startup>
    </configuration>

    99.9% of .NET 2/3/3.5 applications will run just fine on a newer version if you use this type of config file.


    Convert between VB, C#, C++, & Java (http://www.tangiblesoftwaresolutions.com)
    Instant C# - VB to C# Converter
    Instant VB - C# to VB Converter

    Monday, September 22, 2014 1:55 PM
  • You probably need to be using WPF and nothing less than Framework 4.0.
    I don't understand what WPF has to do with it - the newer .NET versions still support WinForms.

    Convert between VB, C#, C++, & Java (http://www.tangiblesoftwaresolutions.com)
    Instant C# - VB to C# Converter
    Instant VB - C# to VB Converter

    Monday, September 22, 2014 1:57 PM
  • WPF was released as part of .NET 3.5.  It supports running on the CLR 2 in addition to CLR 4.  You can try to run the app(s) on v4 using the config setting that Dave mentioned.  Alternatively it is possible to install .NET 3.5 on Surface but there are many people having problems getting it to install properly.

    Nevertheless this is not a developer issue but rather a hardware/software issue with your tablet.  Please post this question over in TechNet where they can better assist you.

    Michael Taylor
    http://blogs.msmvps.com/p3net

    Monday, September 22, 2014 2:05 PM
    Moderator
  • I don't understand what WPF has to do with it - the newer .NET versions still support WinForms.

    The OP can use a cow if he wants to. It makes no difference to me. It was just a suggection no more and no less.

    Monday, September 22, 2014 2:06 PM
  • I don't understand what WPF has to do with it - the newer .NET versions still support WinForms.

    The OP can use a cow if he wants to. It makes no difference to me. It was just a suggection no more and no less.

    It's just that it has nothing to do with the OP's question.

    Convert between VB, C#, C++, & Java (http://www.tangiblesoftwaresolutions.com)
    Instant C# - VB to C# Converter
    Instant VB - C# to VB Converter

    Monday, September 22, 2014 2:12 PM
  • It's just that it has nothing to do with the OP's question.

    And somehow this does?

    Monday, September 22, 2014 2:13 PM
  • May I repeat my question.

    How do I install .NET 2.0, 3.0, 3.5 etc on a Microsoft Surface running Windows 8?

    Thanks.

    Monday, September 22, 2014 9:11 PM
  • May I repeat my question.

    How do I install .NET 2.0, 3.0, 3.5 etc on a Microsoft Surface running Windows 8?

    Well, you go to the Windows download site and install them from the site I would suspect.  I have 4.0 and 4.5 on my Windows 8 pro machine, which is just a laptop.  

    Monday, September 22, 2014 9:18 PM
  • "Nevertheless this is not a developer issue but rather a hardware/software issue with your tablet.  Please post this question over in TechNet where they can better assist you."

    Please post in the TechNet forums if you are having an issue getting previous versions of .NET installed on your Surface machine.

    Monday, September 22, 2014 9:59 PM
    Moderator
  • Have you varified that the framework is installed? Windows 8 comes with 4.0 but does not come with others.

    If not here are the downloads

    Framework 2.0 download 

    Framework 3.0 download 

    Framework 3.5 download


    My statusDim Blondedude092 as SkypeUser

    Monday, September 22, 2014 11:12 PM
  • Hello Javo2000,

    Please clarify your Surface in detail, is it Surface Pro or Surface on Win RT?

    If it is Surface Pro, please try enable .NET 3.5 feature from control panel. If you cannot, try refer to here:

    http://msdn.microsoft.com/en-us/library/hh506443.aspx

    Note that .NET 3.5 contains .NET 2.0 and .NET 3.0

    If it is Surface RT, sorry I'm not sure if .NET 3.5 can be installed, you have to consult on this forum:

    http://answers.microsoft.com/en-us/windows/forum/windows_rt

    Regards,



    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by pvdg42 Tuesday, September 30, 2014 9:24 PM
    • Marked as answer by Barry WangModerator Wednesday, October 1, 2014 5:54 AM
    Tuesday, September 23, 2014 8:46 AM
    Moderator