Aptana: App Explorer vs. Project Explorer - aptana

I was wondering how come Aptana has an extra App Explorer panel to the left of the
usual Project Explorer panel that usually comes with most versions of Eclipse. Why
are two such panels needed in Aptana? What is the exact difference in purpose and
functionality between the two?
Thanks,
John Goche

You should check this:
What is the difference between the Eclipse Package Explorer and the Eclipse Project Explorer?
You can do similar things with both panels but App Explorer gives you somethin like closer look at your application and files related to it, and Project Explorer gives you more general view over your App and also file system what can be for example useful while copying files into your projects workspaces.

Related

Typemock not showing any options in VS 2015

I've switched machines at work and Typemock worked fine on my old one but new one is having issues. I installed typemock with the latest msi download. Typemock shows as a menu option in VS but it only has three options (Options, Help, Try Full Version). All of which are unresponsive when clicked.
When I go to the Tools menu in VS and go to the Typemock section it says that smart runner is enabled but I can't find any way to access it. Right clicking on tests doesn't bring up anything in the context menu, the typemock menu only has the three options above and I can't find any windows related to smart runner.
If I go to the typemock configuration it says that smart runner is enabled and I have a license that is valid
Turns out that Typemock is not backwards compatible with all versions of VS. Looks like VS 2015 Update 3 and VS 2017 work with the latest Typemock. I didn't try them all, but at least those two work

Visual Studio Apache Cordova - IOS build rotation issue

I'm a starter in writing app code in Visual Studio 2013 Community Apache Cordova and have managed to connect VS2013 with my Mac. Once I have gone through the process of building the app in VS and on my Mac and installing in on my iPhone, I open it up and it won't rotate. It doesn't rotate for a number of basic apps that I've written nor does it rotate if I build the default new project "Hello, your application is ready!" app.
I have done some research and tried changing the config.xml "Orientation" preference to "both", through the code window and also in the designer window but that doesn't change anything. I've also noticed that adding in a "BackgroundColor" preference doesn't work either.
Does anyone know if I may have configured something incorrectly or perhaps need to add something to my code?
All the HTML, JS and CSS that I've written seems to work okay (with the exception of trying to link URLs to the Safari Browser but that's another issue).
I have noticed the same issues. I tried finding some settings to fix that in the config.xml, but was not successful. I have resolved myself to just opening the iOS project in XCode and changing a few things:
Device Orientation: no matter the config.xml setting, its always only Portrait. I click-check the other 3 orientations.
Team: I have multiple developer profiles, and I need to choose correct one here.
Bundle Identifier. I screwed up one project, and have different case for iOS and Android. I leave the VS one as the Android one, so I can build completely correct for Android. Since I know I have to go to XCode for iOS anyway, I change the bundle identifier here.
You can find the project using Finder at ~/remote-builds/builds/9999/cordovaApp/platforms/ios/*.xcodeproj, where 9999 is the build number, though not necessarily the latest, largest number, but the latest datetime of the folder.
You can also refer to Greg's answer in this related post as an alternative solution.

Is it possible to change icons in Visual Studio 2012?

Is there any way to replace VS2012 solution explorer's icons with VS2010 ones? At least 'folder' icon :(
Here is a shot of my VS2012 install that almost looks like the familiar 2010 we are all used to. It makes me feel normal again!
Here is exactly how I did this, step-by-step:
1) Close all instances of Visual Studio
2) Download vsip and extract it to a temp directory. (as of 1/3/2013 the current version is 1.5.2)
3) Open up a command prompt with "Run as administrator"
4) Go to the temp directory and run VSIP.exe - This will run an interactive program that accepts commands.
4a) Type "backup --version=2012" - This will backup all of your VS2012 UI dlls, just in case something gets messed up and you want to uninstall VSIP.
4b) Type "extract" - This will extract all of the old icons from your installation of VS2010 (per VS2010 license VSIP can not distribute those icons so we have to have a local install to pull them from).
4c) Type "inject" - This will inject all of the old 2010 icons from the previous step into the VS2012 DLLs.
4d) Type "menus -n" - This will change the menus so they are NOT ALL CAPITALIZED!
5) Download and install NiceVS - do not download the one dated 10/14 or you will be missing icons. As of 1/3/2013 I downloaded the file named "NiceVS.0.8.1.1 Beta.Full.vsix".
6) Download and install VS2012 Color Theme Editor - The next time you start VS2012 select the "Blue" theme from the color select window.
Now you should have a nice install of VS2012 that looks like my screen shot above! It takes three different applications to patch that hideous UI but it's certainly workable now! If you don't have VS2010 installed on the same machine as VS2012 then you will have to run step 4b on a machine with VS2010 and then copy the VSIP Images directory to your 2012 development machine.
Update: If you install "VS 2012 Update 1" after running these steps you will need to re-run step 4c from the VSIP admin prompt (or all of step 4 if you didn't keep the extract of the VS2010 images). The file menu icons and color scheme stay as they are but the update reverts the icons in the solution explorer back to the ugly ones. Re-running the VSIP inject fixes it right up!
Short Answer:
Hack the old icons into 2012.
Visual Studio Icon Patcher - http://vsip.codeplex.com
Long Answer:
Doing this with a plugin, for now, is out of the question. I've been unable to find any built-in way to achieve this and the switch to WPF makes it even harder to hack around.
This app simply extracts the image resources from the unmanaged DLLs in Visual Studio 2010 and injects them into the DLLs for Visual Studio 2012. The managed resources are a lot more complex and haven't been added in yet, though I have gotten some to work.
The initial release didn't work well with themes that had a dark Tree View background color due to how the icon colors are inverted when a dark background color is detected. This is made even worse in the newest release since menu & toolbar icons are included now. I'm running this with the Blue Theme and it looks fine.
One way to hack around the icon inversion is to edit all the extracted images to add a single cyan pixel in the top right corner of each icon in the image map. This will exclude them from the inversion process. I haven't tried this though because I ran into issues early on when manipulating the images where they wouldn't display right. You could try it but it'll be fairly manual and time consuming and may not even work.
Look at this thread:
Solution Explorer - custom icons for my folders
I think it's also applicable for vs2012
If not -> you can manually find solution explorer's icon resources with ResHack (or Resource Hacker) and simply replace it!
Here is the solution:
Visual Studio Icon Patcher http://vsip.codeplex.com/
Description from VSIP web page:
Project Description Visual Studio Icon Patcher allows you to update
Visual Studio 2012 with the icons from Visual Studio 2010.
Until someone can find a way to change the icons via a plug-in the
only way to change them is through resource patching the DLLs that
Visual Studio uses. There are a number of managed and unmanaged DLLs
containing Bitmaps and PNGs that are used to style the application.
For now only the unmanaged DLLs are part of this process with the
managed DLLs hopefully coming soon.
No images are distributed with this project. You will need to have
both Visual Studio 2010 and 2012 installed to use this.
Update
I've just tested VSIP with Visual Studio 2012 Update 2, and it work flawlessly :-)

Website running .NET 3.5 cannot use feature not part of ISO-2 specs

I am getting this error a lot:
Feature '{insert feature here}' cannot be used because it is not part of the
ISO-2 C# language specification
I am working on a .NET 3.5 website that I've worked on on and off for about two years. I've never seen this error before my most recent around of updates. I'm using a decent amount of LINQ coding throughout and I get these errors related to much of the LINQ code. Based on what I've read it seems like even though I'm using .NET 3.5, for some reason it thinks I'm using 2.0. But I can't find anything that says how to fix it.
One example of a problem is that if I try to add a new item to the App_Code directory, I do not get the option to add a LINQ to SQL dbml file.
If anyone can shed some light on how exactly I would fix this, I would much appreciate it.
I was unable to locate an "Advanced" option under the build tab. I have a feeling it is probably because it is a web app. I looked through the web.config and found 2 parts that may be important. Most things referenced 3.5.0.0 or v3.5. The settings are consistent with older backups of the web.config from when there were no errors. By the way, only intellisense and things within VS2010 are giving me problems. The website is running error free.
I have completed a total uninstall and re-install of VS2010 and I'm still having the same issue. I fired up my old install of VS2008 and I am NOT having this issue there. However, I would MUCH prefer to use VS2010 on this project.
I opened the website in VS2010 on my work computer, and there are no errors reported. This is making me think that there is something on my laptop that is causing the problem. As I noted above, I completely reinstalled Visual Studio 2010 and I am still having the problem. What does this leave? I have only one extension installed in VS, and it's the same one at work and on my laptop. Also, I did not reinstall the extension after reinstalling VS, and the problem persists.
Both PC's run Win7 Ultimate. Have VS2008 and VS2010 installed. VS2010 has the same extension installed on both. On my laptop I have the full version of SQL Server 2008 installed, but only the Management Studio on my desktop (we have a server in the office). Would SS2008 have anything to do with it?
Go to your project properties, the Build tab, Advanced - that should allow you to set which version of C# you want to use. It should default to the latest version supported by the version of Visual Studio you're using, but it sounds like at some point you've switched it to ISO-2.
(That's certainly true for Windows projects and class libraries - there may be a different location in a web app. In particular, have a look in Web.config.)
If this has only started happening recently, I'd have a look through your source control history at changes to any configuration files. Also try creating a new project of the same type, and see if that has the same problem.
Jon Skeet's answer is mostly correct. The location for the update is in the "Property Pages" which I got to by right-clicking on the name of the website, clicking Property Pages, the Build item, then target framework.
The extension I use, Solution Navigator, has it's own heading for the solution. Right-clicking on it DOES NOT give me the Property Pages option. By chance I right clicked on the title of the website under the solution heading and was presented with the Property Pages option. In there was the Build tab which contained the target framework option.
Once I finally found the target framework option, it was indeed set to .NET 2.0 for some reason. I changed it to 3.5, reloaded the solution, and now it works great.
Thanks a million Jon for your help and time working with me!!

Installed MVVMLight - doing WP7 - VS2010 works fine; Blend 4 doesn't

I can create an MVVMLight phone app in VS2010. It runs as it should. I can open it in Blend 4. That's all fine.
When I create a new WP7 MVVM project in Blend, several things are wrong:
1. Just compiling, get "A start page has not been specified...." WMAppManifest.xml has incomplete Task section. NavigationPage attrib. with MainPage.xaml is not there.
2. When I manually fix that and build, I get "Project could not be built." It references Microsoft.Phone.Controls.dll and Microsoft.Phone.Control.Navigation (no .dll--and not found, of course).
A non-MVVM Blend phone project correctly references Microsoft.Phone.dll (and Microsoft.Phone.Interop.dll). And it works fine.
Where have I gone wrong in my MVVM installation for Blend 4?
Thanks.
Unfortunately, the newest version of Blend 4 for Windows Phone 7 does not support custom template. What you see now in Blend are the old project templates.
I am aware that the install process at the moment is terrible, and I am working with members of the community to solve that issue (including cleaning up old files).
In the mean time, if you want to clean up old files, there is a list at http://www.galasoft.ch/mvvm/cleaning. Again, sorry that the process is manual at this time.
Cheers,
Laurent

Resources