In my application, running on a LG G3 D855, I get this error on when starting up, it happens usually when my application has not been started in a while, always restarting it after it crashes works fine:
E/linker ( 2105): readlink('/proc/self/fd/28') failed: Permission denied [fd=28]
E/linker ( 2105): warning: unable to get realpath for the library "/vendor/lib/egl/eglsubAndroid.so". Will use given name.
E/mono ( 2105):
E/mono ( 2105): Unhandled Exception:
E/mono ( 2105): System.NullReferenceException: Object reference not set to an instance of an object
E/mono ( 2105): at Dictionary.Fragments.SearchFragment+<>c__DisplayClass13_0.<PerformSearch>b__0 (System.Object x) [0x00050] in <88db5ed5788f4131a4894bb5620511e9>:0
E/mono ( 2105): at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (System.Object state) [0x0000e] in <8552b98493c447d5a7a1f07bdaff39bb>:0
E/mono ( 2105): at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0008d] in <8552b98493c447d5a7a1f07bdaff39bb>:0
E/mono ( 2105): at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <8552b98493c447d5a7a1f07bdaff39bb>:0
E/mono ( 2105): at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x0002a] in <8552b98493c447d5a7a1f07bdaff39bb>:0
E/mono ( 2105): at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00096] in <8552b98493c447d5a7a1f07bdaff39bb>:0
E/mono ( 2105): at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <8552b98493c447d5a7a1f07bdaff39bb>:0
This is the code it fails on:
private void PerformSearch(string input) {
ThreadPool.QueueUserWorkItem( x => {
if ( _tranService == null )
_tranService = new TranslationService();
var translations = _tranService.Translate( input );
_transAdapter.Update( translations );
Activity.RunOnUiThread( () => _transAdapter.NotifyDataSetChanged() );
} );
}
Please let me know what this is, its annoying me very much. Its also happening in another app I am making which uses the same kind of ThreadPool.QueueUserWorkItem() block.
My installation:
Microsoft Visual Studio Professional 2015 Version 14.0.25431.01 Update
3 Microsoft .NET Framework Version 4.6.01586
Installed Version: Professional
Microsoft Visual Studio Tools for Applications 2015
00322-40000-00000-AA309 Microsoft Visual Studio Tools for Applications
2015
Visual Basic 2015 00322-40000-00000-AA309 Microsoft Visual Basic
2015
Visual C# 2015 00322-40000-00000-AA309 Microsoft Visual C# 2015
Visual C++ 2015 00322-40000-00000-AA309 Microsoft Visual C++ 2015
Application Insights Tools for Visual Studio Package 7.17.00119.9
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2015.1 14.1.21111.0 ASP.NET and Web Tools
2015.1
ASP.NET Web Frameworks and Tools 2012.2 4.1.41102.0 For additional
information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013 5.2.40314.0 For additional
information, visit http://www.asp.net/
Azure App Service Tools v2.8.1 14.0.11123.0 Azure App Service Tools
v2.8.1
Command Bus, Event Stream and Async Manager Merq Provides
ICommandBus, IEventStream and IAsyncManager MEF services for loosely
coupled Visual Studio extension components communication and
integration.
Common Azure Tools 1.8 Provides common services for use by Azure
Mobile Services and Microsoft Azure Tools.
Indent Guides 15 Indent Guides
Adds visual guides at each indentation level.
JavaScript Language Service 2.0 JavaScript Language Service
JavaScript Project System 2.0 JavaScript Project System
JetBrains ReSharper Ultimate 2016.2.2 Build 106.0.20160913.91321
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For
more information about ReSharper Ultimate, visit
http://www.jetbrains.com/resharper. Copyright © 2017 JetBrains, Inc.
Microsoft .NET Core Tools (Preview 2) 14.1.21111.0 Microsoft .NET
Core Tools (Preview 2)
Microsoft Azure Mobile Services Tools 1.4 Microsoft Azure Mobile
Services Tools
NuGet Package Manager 3.5.0 NuGet Package Manager in Visual Studio.
For more information about NuGet, visit http://docs.nuget.org/.
PreEmptive Analytics Visualizer 1.2 Microsoft Visual Studio
extension to visualize aggregated summaries from the PreEmptive
Analytics product.
SQL Server Analysis Services 13.0.1605.88 Microsoft SQL Server
Analysis Services Designer Version 13.0.1605.88
SQL Server Data Tools 14.0.60629.0 Microsoft SQL Server Data Tools
SQL Server Integration Services Microsoft SQL Server Integration
Services Designer Version 13.0.1601.5
SQL Server Reporting Services 13.0.1605.88 Microsoft SQL Server
Reporting Services Designers Version 13.0.1605.88
TypeScript 1.8.36.0 TypeScript tools for Visual Studio
Visual Studio Tools for Unity 2.8.0.0 Visual Studio Tools for Unity
Windows Installer XML Toolset 3.10.2.2516 Windows Installer XML
Toolset version 3.10.2.2516 Copyright (c) Outercurve Foundation. All
rights reserved.
Xamarin 4.2.2.11 (00fa5cc) Visual Studio extension to enable
development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android 7.0.2.42 (501e63c) Visual Studio extension to enable
development for Xamarin.Android.
Xamarin.iOS 10.3.1.8 (7beaef4) Visual Studio extension to enable
development for Xamarin.iOS.
This was fixed in both my apps by not using ThreadPool.QueueUserWorkItem and instead using TPL, Task.Factory.StartNew() to do the same thing. I did not find out why the ThreadPool.QueueUserWorkItem failed, and Xamarin did not log a response to my bug report.
Related
I have a Xamarin Forms app which has an iOS and Android project in the solution I have made sure there are not updates available for VS 2019 on Windows. When I go to the Mac, launch VS for Mac and select Check for updates from the menu, it says there are two updates as follows:
Mono Framework MDK 6.4.0.208
Xamarin.iOS 13.6.0.12
However, if I install those updates on the Mac, the next time I connect to it from Visual Studio on my windows box, I receive an error message the version of the Mono Framework and Xamarin.iOs installed on the Mac are not compatible with my project and I have to reinstall the older versions on the Mac.
Here is all the information from what is running on my PC:
Microsoft Visual Studio Professional 2019
Version 16.4.2
VisualStudio.16.Release/16.4.2+29613.14
Microsoft .NET Framework
Version 4.8.03752
Installed Version: Professional
Visual C++ 2019 00435-20050-31374-AA182
Microsoft Visual C++ 2019
ADL Tools Service Provider 1.0
This package contains services used by Data Lake tools
ASP.NET and Web Tools 2019 16.4.457.38025
ASP.NET and Web Tools 2019
ASP.NET Web Frameworks and Tools 2019 16.4.457.38025
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0 16.4.457.38025
Azure App Service Tools v3.0.0
Azure Data Lake Node 1.0
This package contains the Data Lake integration nodes for Server Explorer.
Azure Data Lake Tools for Visual Studio 2.4.1000.0
Microsoft Azure Data Lake Tools for Visual Studio
Azure Functions and Web Jobs Tools 16.4.457.38025
Azure Functions and Web Jobs Tools
Azure Stream Analytics Tools for Visual Studio 2.4.1000.0
Microsoft Azure Stream Analytics Tools for Visual Studio
C# Tools 3.4.1-beta4-19610-02+c4e5d138903b899477649a17f197abd2bcb22f9e
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Extensibility Message Bus 1.2.0 (d16-2#8b56e20)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.
Fabric.DiagnosticEvents 1.0
Fabric Diagnostic Events
IntelliCode Extension 1.0
IntelliCode Visual Studio Extension Detailed Info
Microsoft Azure HDInsight Azure Node 2.4.1000.0
HDInsight Node under Azure Node
Microsoft Azure Hive Query Language Service 2.4.1000.0
Language service for Hive query
Microsoft Azure Service Fabric Tools for Visual Studio 16.0
Microsoft Azure Service Fabric Tools for Visual Studio
Microsoft Azure Stream Analytics Language Service 2.4.1000.0
Language service for Azure Stream Analytics
Microsoft Azure Stream Analytics Node 1.0
Azure Stream Analytics Node under Azure Node
Microsoft Azure Tools 2.9
Microsoft Azure Tools for Microsoft Visual Studio 2019 - v2.9.21016.1
Microsoft Continuous Delivery Tools for Visual Studio 0.4
Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft Library Manager 2.0.87+gbb515bf382
Install client-side libraries easily to any web project
Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards 1.0
Microsoft Visual C++ Wizards
Microsoft Visual Studio Process Editor 1.0
Process Editor for Microsoft Visual Studio Team Foundation Server
Microsoft Visual Studio Tools for Containers 1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package
Mono Debugging for Visual Studio 16.5.24 (1fafd7e)
Support for debugging Mono processes with Visual Studio.
NuGet Package Manager 5.4.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
ProjectServicesPackage Extension 1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
SQL Server Data Tools 16.0.61912.09160
Microsoft SQL Server Data Tools
ToolWindowHostedEditor 1.0
Hosting json editor into a tool window
TypeScript Tools 16.0.11031.2001
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools 3.4.1-beta4-19610-02+c4e5d138903b899477649a17f197abd2bcb22f9e
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual C++ for Cross Platform Mobile Development (Android) 16.0.29428.195
Visual C++ for Cross Platform Mobile Development (Android)
Visual F# Tools 10.4 for F# 4.6 16.4.0-beta.19556.5+e7597deb7042710a7142bdccabd6f92b0840d354
Microsoft Visual F# Tools 10.4 for F# 4.6
Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Container Tools Extensions (Preview) 1.0
View, manage, and diagnose containers within Visual Studio.
Visual Studio Tools for Containers 1.0
Visual Studio Tools for Containers
Visual Studio Tools for Kubernetes 1.0
Visual Studio Tools for Kubernetes
VisualStudio.DeviceLog 1.0
Information about my package
VisualStudio.Foo 1.0
Information about my package
VisualStudio.Mac 1.0
Mac Extension for Visual Studio
Xamarin 16.4.000.307 (d16-4#e031886)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Designer 16.4.0.464 (remotes/origin/d16-4#4abf337c3)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.
Xamarin Templates 16.4.25 (579ee62)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.
Xamarin.Android SDK 10.1.1.0 (d16-4/f2c9364)
Xamarin.Android Reference Assemblies and MSBuild support.
Mono: bef1e63
Java.Interop: xamarin/java.interop/d16-4#c4e569f
ProGuard: xamarin/proguard/master#905836d
SQLite: xamarin/sqlite/3.28.0#46204c4
Xamarin.Android Tools: xamarin/xamarin-android-tools/master#9f4ed4b
Xamarin.iOS and Xamarin.Mac SDK 13.8.3.0 (0d8fe21)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
Any one have any idea why this is happening?
I receive an error message the version of the Mono Framework and
Xamarin.iOs installed on the Mac are not compatible with my project
and I have to reinstall the older versions on the Mac.
Not a older version but a newer version.
If you have Microsoft Visual Studio Professional 2019 Version 16.4.2, it requirs Mono 6.6.0.155 which is newer than Mono Framework MDK 6.4.0.208 Xamarin.iOS 13.6.0.12 you saw in you visual-studio for mac:
In the Visual-Studio for mac, Mono 6.6.0.155 exist in the Preview Channel, so you can update to the latest Mono and Xamarin.iOS there. I updated just now and the both Visual-Studio-for-Windows and Visual-Studio-for-Mac use the same Mono and Xamarin.iOS version.
Release note:
mono/releases/6.6.0
xamarin/ios/release-notes/13/13.8
I am using the latest Preview version of Visual Studio Enterprise 2019 (16.0.0 Preview 1.1), and I was wondering if I can develop Logic Apps (Logic App Designer) and Function Apps in this version of Visual Studio. To be precise I am trying to use this Extension Azure Logic Apps Tools for Visual Studio.
I am unable to find this extension in Tools -> Extensions and Updates.
Is the extension specifically only for Visual Studio 2017?
I would say you're right, we don't see Azure Logic Apps Tools for Visual Studio in VS2019 preview, because the extension is restricted for VS2017(as described in its Pre-requisites). I assume the upgrade work is underway since it's expected that a preview edition doesn't include everything we need.
For Azure Functions, the extension is built-in once we install Azure Development workload. On VS2019 menus, Help> About Microsoft Visual Studio, we can see Azure Functions and Web Jobs Tools 16.0.01169.
I’m using Visual Studio 2017 to build a Windows UWP App.
My XML code is:
<?xml version="1.0" encoding="utf-8" ?>
<TabbedPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:forms="clr-namespace:SkiaSharp.Views.Forms;assembly=SkiaSharp.Views.Forms"
x:Class="Test_SMLibrary.Lines_and_Text">
<ContentPage>
<forms:SKCanvasView x:Name="CanvasView"
PaintSurface="CanvasView_PaintSurface"
IgnorePixelScaling="True"
HorizontalOptions="Fill"
VerticalOptions="Fill"/>
</ContentPage>
</TabbedPage>
and my C# code is:
namespace Test_SMLibrary {
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class Lines_and_Text {
public Lines_and_Text() {
InitializeComponent();
}
private void CanvasView_PaintSurface(object sender, SKPaintSurfaceEventArgs e) {
var surface = e.Surface;
var canvas = surface.Canvas;
var width = e.Info.Width;
var height = e.Info.Height;
canvas.Clear(SKColors.LightGray);
Debug.WriteLine("width: " + width + ", height: " + height);
}
}
}
The Debug write only occurs when the window is resized in the horizontal direction.
It is not executed when the window is resized in the vertical direction. Why?
Charles
Here is my versions:
Also, this is my environment:
Microsoft Visual Studio Professional 2017
Version 15.5.7
VisualStudio.15.Release/15.5.7+27130.2036
Microsoft .NET Framework
Version 4.7.02556
Installed Version: Professional
Visual Basic 2017 00369-60000-00001-AA307
Microsoft Visual Basic 2017
Visual C# 2017 00369-60000-00001-AA307
Microsoft Visual C# 2017
Visual F# 4.1 00369-60000-00001-AA307
Microsoft Visual F# 4.1
Application Insights Tools for Visual Studio Package 8.10.01106.1
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2017 15.0.31129.0
ASP.NET and Web Tools 2017
ASP.NET Core Razor Language Services 1.0
Provides languages services for ASP.NET Core Razor.
ASP.NET Web Frameworks and Tools 2017 5.2.51007.0
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0 15.0.31106.0
Azure App Service Tools v3.0.0
Clear Recent 1.0.0
Clears recent projects and files lists
Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Cookiecutter 3.0.17320.1
Provides tools for finding, instantiating and customizing templates in cookiecutter format.
JavaScript Language Service 2.0
JavaScript Language Service
JavaScript Project System 2.0
JavaScript Project System
JavaScript UWP Project System 2.0
JavaScript UWP Project System
JetBrains ReSharper Ultimate 2017.3.2 Build 111.0.20180201.63358
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2018 JetBrains, Inc.
Merq 1.1.17-rc (cba4571)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.
Microsoft Continuous Delivery Tools for Visual Studio 0.3
Simplifying the configuration of continuous build integration and continuous build delivery from within the Visual Studio IDE.
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual Studio Tools for Containers 1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package
Mono Debugging for Visual Studio 4.8.4-pre (3fe64e3)
Support for debugging Mono processes with Visual Studio.
NuGet Package Manager 4.5.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
Python 3.0.17320.1
Provides IntelliSense, projects, templates, debugging, interactive windows, and other support for Python developers.
Python - IronPython support 3.0.17320.1
Provides templates and integration for IronPython-based projects.
Python - Profiling support 3.0.17320.1
Profiling support for Python projects.
R Tools for Visual Studio 1.3.31108.1213
Provides project system, R Interactive window, plotting, and more for the R programming language.
RelayCommand Extension 1.0
RelayCommand Visual Studio Extension Detailed Info
SQL Server Data Tools 15.1.61710.120
Microsoft SQL Server Data Tools
TypeScript Tools 15.5.11025.1
TypeScript Tools for Microsoft Visual Studio
Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Tools for AI 0.3.3.0
An integrated development environment for AI / Deep Learning application development.
Visual Studio Tools for AI: Azure Batch AI 0.3.3.0
This package provides Azure Batch AI support in Visual Studio Tools for AI.
Visual Studio Tools for AI: Azure Machine Learning 0.3.3.0
This package provides Azure Machine Learning support in Visual Studio Tools for AI.
Visual Studio Tools for AI: Remote Machine 0.3.3.0
This package provides Remote Machine support in Visual Studio Tools for AI.
Visual Studio Tools for Universal Windows Apps 15.0.27130.2036
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.
VisualStudio.Mac 1.0
Mac Extension for Visual Studio
Xamarin 4.8.0.760 (fc93f3f5b)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Designer 4.8.188 (c5813fa34)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.
Xamarin.Android SDK 8.1.5.0 (HEAD/75f8c6838)
Xamarin.Android Reference Assemblies and MSBuild support.
Xamarin.iOS and Xamarin.Mac SDK 11.6.1.4 (db807ec)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
Charles
it's quite annoying now just finished with the setup and when trying to build a "Hello World" Application with Visual Studio 2015 Enterprise
---------------------------
Microsoft Visual Studio
---------------------------
Error: this template attempted to load component assembly
'Microsoft.VisualStudio.Universal.TemplateWizards, Version=14.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. For more information
on this problem and how to enable this template, please see documentation
on Customizing Project Templates.
---------------------------
OK
---------------------------
Now I don't understand what wrong with it. I tried the comunity edition on Windows 8.1 and able to build the apps. but when trying with Enterprise Edition on Windows 10, nothing excepts Error.
Nor Information page list any tools for development.
Microsoft Visual Studio Enterprise 2015
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Version 4.6.00079
Installed Version: Enterprise
Architecture and Modeling Tools 00322-80000-00000-AA627
Microsoft Architecture and Modeling Tools
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.
Visual Basic 2015 00322-80000-00000-AA627
Microsoft Visual Basic 2015
Visual C# 2015 00322-80000-00000-AA627
Microsoft Visual C# 2015
Visual C++ 2015 00322-80000-00000-AA627
Microsoft Visual C++ 2015
Application Insights Tools for Visual Studio Package 1.0
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 14.0.20711.0
ASP.NET and Web Tools
ASP.NET Web Frameworks and Tools 2013 5.2.30624.0
For additional information, visit http://www.asp.net/
Common Azure Tools 1.5
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
GenerateUnitTest 1.0
Generates unit test code for methods in classes under test.
GitHub.VisualStudio 1.0
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
Indent Guides 14
Indent Guides
Adds visual guides at each indentation level.
Microsoft Azure HDInsight HQL Service 2.0.2200.0
Language service for Hive query
Microsoft Azure HDInsight Tools for Visual Studio 2.0.2200.0
An integrated development environment for HDInsight application development.
Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools
Microsoft Code Digger 0.9
Microsoft Code Digger
Microsoft.Pex.VisualStudio 1.0
Pex
NuGet Package Manager 3.0.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Data Tools 14.0.50616.0
Microsoft SQL Server Data Tools
Web Essentials 2015 0.5.144
Adds many useful features to Visual Studio for web developers.
I had the same issue on Windows 10 in VirtualBox.
You must run the visual studio installer again.
Select "Modify" in the Installer.
Select Features > "Windows and Web Development" > "Universal Windows App Development Tools" > Click Update / Install.
Now you will be able to use the vs project template Windows IoT Core.
If such an error came up upon a project from a DirectX project template then make sure you have the UWP workload installed (from Visual Studio Installer).
Maybe you have xamarin for visual studio disabled. Select Tools > "Extensions en Updates" > "Xamarin For visual studio" > Click Enabled.
you can find solution in here.
https://github.com/walbourn/directx-vs-templates/issues/7
above site said,
A workaround for this is to edit C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\devenv.exe.config and add to the section:
<dependentAssembly>
<assemblyIdentity name="Microsoft.VisualStudio.Universal.TemplateWizards" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
<bindingRedirect oldVersion="14.0.0.0" newVersion="15.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.VisualStudio.WinRT.TemplateWizards" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
<bindingRedirect oldVersion="14.0.0.0" newVersion="15.0.0.0"/>
</dependentAssembly>
This might not be the right forum for an issue I'm having, however, I'm dead in the water until I can solve it.
My VS 2012 solution has a Database project: Database.sqlproj.
Today I hit a colliding package problem that led me to reinstall and repair Sql Server Data Tools to eliminate warnings. The activity log revealed that the installation apps had been creating incorrect names in the registry. Ten+ names in the registry had paths in which a backward slash had been left out between "Program Files(86)\Visual Studio 11.0" and "Common7". The path shown in the errors in the activity log looked like this:
C:\Program Files (x86)\Microsoft Visual Studio 11.0Common7
I searched for and corrected those errors in the registry, opened VS 2012 and my project without errors, or so I thought. I discovered that I could no longer 'Publish' the database project. Looking into the SQL Server Object Explorer and the activity log I now see this:
Construction of frame content failed. Frame identifier:
ST:0:0:{fbcae063-e2c0-4ab1-a516-996ea3dafb72} Frame caption: SQL Server Object
Explorer Exception details: System.ArgumentException: The parameter is
incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)) at
System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32
errorCode, IntPtr errorInfo) at
System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode) at
Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32
id, ProvideToolWindowAttribute tool) at
Microsoft.VisualStudio.Shell.Package.FindToolWindow(Type toolWindowType, Int32
id, Boolean create, ProvideToolWindowAttribute tool) at
Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory.Create ToolWindow(Guid&
toolWindowType, UInt32 id) at
Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()
Thanks for any help with this,
Arnold
Installation Information
Windows 7 Professional
Microsoft Visual Studio Professional 2012
Version 11.0.51106.01 Update 1
Microsoft .NET Framework
Version 4.5.50709
Installed Version: Professional
Team Explorer for Visual Studio 2012 04938-004-0033001-02913
Microsoft Team Explorer for Visual Studio 2012
Visual Basic 2012 04938-004-0033001-02913
Microsoft Visual Basic 2012
Visual C# 2012 04938-004-0033001-02913
Microsoft Visual C# 2012
Visual C++ 2012 04938-004-0033001-02913
Microsoft Visual C++ 2012
Visual Studio 2012 SharePoint Developer Tools 04938-004-0033001-02913
Microsoft Visual Studio 2012 SharePoint Developer Tools
NuGet Package Manager 2.2.40116.9051
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
SQL Server Data Tools 11.1.21208.0
Microsoft SQL Server Data Tools
Telerik OpenAccess ORM 2012.3.1404.1
Telerik OpenAccess ORM Copyright © 1996–2012 Telerik AD
OpenAccess is the ultimate data access layer solution for Microsoft .NET database applications.
www.telerik.com/orm
Web Developer Tools 1.1.31017.0
Windows Azure Tools October 2012
Windows Azure Tools for Microsoft Visual Studio 2012 - October 2012 v1.8.51019.1603
OK. I uninstalled VS 2012 and then reinstalled with the latest version. That took care of all of the issues.