Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9155473
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:36:05+00:00 2026-06-17T12:36:05+00:00

I try to use the VSMonoTouch Plugin for Visual Studio 2012 to build my

  • 0

I try to use the VSMonoTouch Plugin for Visual Studio 2012 to build my cross platform solution completely in Visual Studio.
As this is not really supported and the maintainer does not really look like he will create a new branch some other guys ported it to 2012.
Looks to work everywhere just not one my installation.

First some information on what is installed:

  • Win 8 64 Bit
  • VS 2012 Premium
  • .NET 4.5
  • v1.0-Folder in C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework

What I’ve already done is getting all the code and start the extension using VS. I can see, that in the following code this exception occurs:
(Exception occurs on line item.Value=v10FrameworkName)

Code:

public int OnAfterOpenProject(IVsHierarchy pHierarchy, int fAdded)
{
    const string targetFrameworkMoniker = "TargetFrameworkMoniker";

    object projectObj;
    pHierarchy.GetProperty(VSConstants.VSITEMID_ROOT, (int)__VSHPROPID.VSHPROPID_ExtObject, out projectObj);
    var project = (Project) projectObj;

    if (VSMonoTouchPackage.IsMonoTouchProject(project))
    {
       var v10FrameworkName = (new FrameworkName(".NETFramework", new Version(1, 0))).FullName;
       var item = project.Properties.Item(targetFrameworkMoniker);
       if (item != null)
       {
          if (item.Value == null || (string) item.Value != v10FrameworkName)
          {
              // Here is where the Exception occures
              item.Value = v10FrameworkName;
          }
       }
       else
       {
           project.Properties.Item(targetFrameworkMoniker).Value = v10FrameworkName;
       }
   }
   return VSConstants.S_OK;
}

Exception:

HRESULT: -2147352567

Exception Message:

Catastrophic failure (Exception from HRESULT: 0x8000FFFF
(E_UNEXPECTED))

Exception Stacktrace:

at EnvDTE.Property.set_Value(Object lppvReturn) at
Follesoe.VSMonoTouch.SolutionEvents.OnAfterOpenProject(IVsHierarchy
pHierarchy, Int32 fAdded) in
c:\Projects\VSMonoTouch\VSMonoTouch\VSMonoTouchPackage.cs:line 170

What is really strange is when I open a csproj-MonoTuch-Project, the project keeps loading/unloading – loading/unloading – … until VS crashs.
There is no exception.
When opening an existing solution containing an MonoTouch-Project I get the exception above. (For example opening MvvmCross-vNExt-Solution)

What seems to work fine is my v1.0 .NETFramework folder as I can switch a Console application to this target Framework in Project properties.
When I simply uncomment the crashing code, VS will load the project, but seems then to be in a wired state. I cannot change the target Framework (there is simply no choice in project properties)

Any small idea what could trigger this exception would be highly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T12:36:06+00:00Added an answer on June 17, 2026 at 12:36 pm

    Ok, I’ve solved the problem by doing a clean installation of VS. Seems to be that there was something corrupt in my old one..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i try to use TBXML and getting this error TBXML class method +tbXMLWithURL not
i try to use jquery .text() but not really work : Before <a id=group_name
I try to use the great particle emitter which Michael Daley build for his
I try to use this: xml2struct when I use this xml: <XMLname attrib1=Some value>
Im try render in a div one partial but this is not render, the
Hi i try use Nlog in with caliburn micro, I have use this tutorial
how to generate random number in this code? I try use $RANDOM, but the
I try use this: $image = new JImage(); $image->loadFile($item->logo); $image->resize('208', '125'); $properties = JImage::getImageFileProperties($item->logo);
I have problems with PHP in Ubuntu 10.04. When I try use mysqli_result::fetch_all this
I try use string as a regular expression pattern but I've following errors PHP

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.