How to open a file with the source code editor in MonoDevelop/Xamarin Studio for Mac OS X? - xamarin-studio

In Visual Studio, when I have a file with an extension the IDE doesn't recognize, I can right click on it, and the following menu appears:
If I click on "Open With...", I get the following dialog that lets me choose which editor I want to use to open the file with. It even lets me choose an editor as a default editor.
On Xamarin Studio for Mac OS X, when I try to do the same thing, I get the following menu instead:
I want to open this file with the Source Code Editor, just like other files with known extensions. However, this file (.vcg, a CG vertex shader) is not recognized, and I only get the option to open it with the hex editor.
Eventually I cannot open it on the source code editor as I want.
I tried dragging and dropping the file into the editor, but nothing happens. I tried looking for file associations in the Preferences, but nothing even remotely close is available.
I tried setting the default program for that file extension to Xamarin Studio in the OS, but Xamarin Studio still does not believe me that I may want to open this file with the source code editor.
I am using Xamarin Studio 4.2.3 (build 54).
How can I open an arbitrary file like this with the source code editor?

Related

Why My Visual Studio Not Showing Any Text?

I have a problem when open my project. It doesn't show any text.
Here the screenshot :
I think you tried to open project file from file explorer. open your existing project from visual studio itself

Opening .scmp file in Visual Studio 2015 opens as XML and not as comparison UI

I'm opening a Database Schema Comparison (.scmp) file and the file opens in Visual Studio as XML. However, the need is for the file to open in the Server Data Tools tab.
I have tried opening from Visual Studio and Windows Explorer.
Using Visual Studio Professional 2015 with Update 3.
Silly me. I didn't notice that SQL Server Data Tools (SSDT) had been corrupted and wasn't showing as installed. Installing SSDT solved the issue.
The .scmp file is a XML file essentially. It is stored in the Schema Comparison folder of the project system by default. When you double click the .scmp file in the Visual Studio, the Select Source/ Target Schema page appears, on which shows the comparison settings and options that you have set. When you click the OK button on that page, SchemaCompare1.scmp file (for example) shows in the edit explorer.
However, you may not open a .scmp file by double-clicking it on the disk. It may be because the .scmp file is used to save comparison settings and options between usage sessions (any combination of a project, database, and .dbschema file), it associates with a solution so you can open it by double-clicking it in the Visual Studio.

Visual Basic Studio Project Icon Won't show up on desktop on the .exe, only in the window after it has been opened

Like the title says. When I build my project, it has the icon in the list in the folder, but as soon as I drag it onto my desktop, the icon is the default windows one. Any idea? I am fairly new to Visual Basic Studio 2010, so please try to keep it simple. Thanks!
Place the application in a folder. Create a shortcut on Desktop and point it to your application. Then, the default icon will change.

Visual Studio says, "Unable to read the project file" when opening a project from Source-Gear Vault

I am using Visual Studio Express (v4.0.30319) singing to the tune of Visual Basic, and I'm using Source-Gear for my source control Visual Studio integration.
When I open a project I have to do it via the source control menu, and when it opens I get a warning message: "Unable to read the project file 'RemotingClasses.vbproj'."
After clicking the okay button, everything seems to work fine with the padlocks and checking out files, but I really don't like that I can't open a project from the splash screen, and that error box looks really bad in front of clients, who are inclined to panic at the very sight of the "E" word (error, that is)
...Fatal or not ^_^
Can I get rid of it?
Source Gear is not compatible with Visual Studio Express

Where to get MonoTools for Visual Studio 2010/2012 plug-in. No luck with their web site as it is down

I have been trying to get the MonoTools for Visual Studio from their web site (mono-tools.com). But with no luck. Where to get MonoTools for Visual Studio 2010/2012 plug-in?
Aditya.
You can easily modify the MonoTools installer to work with VS2012. .vsix files are ZIP files. In the root of the zip, you'll see a file named extension.vsixmanifest, which lists the versions of Visual Studio that are supported by the extension.
Basically,
Download the MonoTools package
Rename it to have a .zip extension
Right-click and select "open" - you don't want to extract the file, just open the archive using the built-in Windows mechanism
Copy extension.vsixmanifest anywhere - say, to your desktop.
Open it up in a text editor (I love Notepad++, EMACS is also pretty awesome under OSX.)
Change the SupportedProducts key to the following:
<SupportedProducts>
<VisualStudio Version="10.0">
<Edition>VSTS</Edition>
<Edition>VSTD</Edition>
<Edition>Pro</Edition>
</VisualStudio>
<VisualStudio Version="11.0">
<Edition>VSTS</Edition>
<Edition>VSTD</Edition>
<Edition>Pro</Edition>
</VisualStudio>
</SupportedProducts>
Copy the modified file back into the archive.
Rename it from .zip to .vsix
Run it. The Visual Studio Version Selector should appear and let you pick VS2012.
If the Mono menu item doesn't appear after restarting VS, you may need to run
devenv /setup
from a VS command prompt (or, from c:\program files (x86)\microsoft visual studio 11\common7\ide).
This works for just about any VS2010 extension.
That was a former product from Novell, and it is no longer offered or developed.
Xamarin doesn't offer it either.
can get it from here: http://mono-tools.com/
free if you do their survey
but i don't see a vs2012 version
It costs at minimum $999.00 - https://store.xamarin.com/ and is included as part of Mono for Android. Here's a screenshot of what it looks like after it's installed.
There is also a training course on this from PluralSight -- http://www.pluralsight-training.net/microsoft/Courses/TableOfContents/android-intro