none
Conversion Error

    Question

  • Hi! I am new into this programming stuff (I am a student in practice at a local company). I received the following task: to convert a software which was originally made in Visual Studio 2005 to Visual Studio 2015 ( it was made with Visual Basic, if it helps). After I opened it with Visual Studio 2015, I encountered the error/warning listed above. I clicked ok to upgrade it autmatically, but it ended up opening Visual Studio unable to fiind any solution. Any idea about what should I do? (Please be as detailed as possible, I am very beginner here and I need as many explanations as possible).

    Thursday, January 5, 2017 2:53 PM

Answers

  • Hi,

    This info is mostly for the person that gave you the (impossible) task:

    VS 2005 offered a kind of projects named "Smart Device" in the New Project dialog that allowed to create apps for the mobile devices of those years: Pocket PC, Smartphone 2003, Windows CE:


    While VS 2008 still offered those kind of projects, VS 2010 no longer offered them because Microsoft created a new platform for mobile devices: Windows Phone 7.0. Here you have the official statement from Microsoft:

    https://msdn.microsoft.com/en-us/library/sa69he4t(v=vs.100).aspx

    Quote:


    "Because Visual Studio 2010 does not support mobile application development for Windows Phone prior to Windows Phone OS 7.0, you cannot use the following features: .NET Compact Framework projects, Visual C++ device projects, smart device CAB projects, Device Emulator and Device Emulator Manager, testing tools for device projects, and Device Security Manager.
    Mobile application development is still supported in earlier versions of Visual Studio, such as Visual Studio 2008. "

    My portal and blog about VSX: http://www.visualstudioextensibility.com
    Twitter: https://twitter.com/VSExtensibility
    MZ-Tools productivity extension for Visual Studio: https://www.mztools.com

    Thursday, January 5, 2017 4:49 PM
  • Hi AbstractConnection,

    I agree with Brian Muth's and Carlos J. Quintero's suggestion, please check your project type first. You need to confirm the VS2005 VB project type is still supported in VS2015. Following document list all projects type that VS2015 supported, you could refer to.

    https://msdn.microsoft.com/en-us/library/hh266747.aspx

    If your project type is supported by VS2015, please check whether there has any extensions needed for your projects which is not installed on VS2015.

    And since there are too many different version of Visual Studio between VS2005 and VS2015, I suggest you create the same project using Visual Studio 2015 and then move the VS2005 project files to the new VS2015 project to exclude there has some upgrade issue when it converted.

    Best Regards,
    Weiwei


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, January 6, 2017 2:40 AM
    Moderator

All replies

  • My guess is that your installation of Visual Studio 2015 doesn't have VB support installed. Talk to your IT support to re-install or update Visual Studio 2015 to support VB.NET.
    Thursday, January 5, 2017 4:32 PM
  • Hi,

    This info is mostly for the person that gave you the (impossible) task:

    VS 2005 offered a kind of projects named "Smart Device" in the New Project dialog that allowed to create apps for the mobile devices of those years: Pocket PC, Smartphone 2003, Windows CE:


    While VS 2008 still offered those kind of projects, VS 2010 no longer offered them because Microsoft created a new platform for mobile devices: Windows Phone 7.0. Here you have the official statement from Microsoft:

    https://msdn.microsoft.com/en-us/library/sa69he4t(v=vs.100).aspx

    Quote:


    "Because Visual Studio 2010 does not support mobile application development for Windows Phone prior to Windows Phone OS 7.0, you cannot use the following features: .NET Compact Framework projects, Visual C++ device projects, smart device CAB projects, Device Emulator and Device Emulator Manager, testing tools for device projects, and Device Security Manager.
    Mobile application development is still supported in earlier versions of Visual Studio, such as Visual Studio 2008. "

    My portal and blog about VSX: http://www.visualstudioextensibility.com
    Twitter: https://twitter.com/VSExtensibility
    MZ-Tools productivity extension for Visual Studio: https://www.mztools.com

    Thursday, January 5, 2017 4:49 PM
  • Hi AbstractConnection,

    I agree with Brian Muth's and Carlos J. Quintero's suggestion, please check your project type first. You need to confirm the VS2005 VB project type is still supported in VS2015. Following document list all projects type that VS2015 supported, you could refer to.

    https://msdn.microsoft.com/en-us/library/hh266747.aspx

    If your project type is supported by VS2015, please check whether there has any extensions needed for your projects which is not installed on VS2015.

    And since there are too many different version of Visual Studio between VS2005 and VS2015, I suggest you create the same project using Visual Studio 2015 and then move the VS2005 project files to the new VS2015 project to exclude there has some upgrade issue when it converted.

    Best Regards,
    Weiwei


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, January 6, 2017 2:40 AM
    Moderator
  • Thank you! It seems that was the source of my "error", and now I am trying to fix it. I have two possible ways to do it, if I am right:

    1) I change the project type for the 2005 version (but I am not sure how to do it);

    2) I make a new project and add all the files from the old project, just that I make it as an accepted file type by the VS 2015.

    If there is any other way to do it or I am wrong, please correct me. Untill now your help was so useful. Thank you!

    Friday, January 6, 2017 10:58 AM
  • Hi,

    For projects that were of the kind "SmartDevice" on VS 2005 (for PDAs, Smartphone or Windows CE), they would need to be completely rewritten for current phone devices (iOS, Android and Windows Phone) on VS 2015. There is no project type conversion, it is a complete rewrite approach.

    The current technologies to do that are: 

    Microsoft Xamarin (native apps)

    https://www.xamarin.com

    Apache Cordova (web apps)

    https://www.visualstudio.com/vs/cordova/


    My portal and blog about VSX: <a href="http://www.visualstudioextensibility.com"> http://www.visualstudioextensibility.com</a> <br/> Twitter: <a href="https://twitter.com/VSExtensibility">https://twitter.com/VSExtensibility</a> <br/> MZ-Tools productivity extension for Visual Studio: <a href="https://www.mztools.com"> https://www.mztools.com</a>

    Friday, January 6, 2017 12:12 PM