SapphireSteel Forum
Welcome, Guest. Please login or register.
May 20, 2013, 08:28:12 PM

Login with username, password and session length
Search:     Advanced search
Welcome to the SapphireSteel forum - for discussion of the Ruby In Steel and Amethyst IDEs
3883 Posts in 799 Topics by 669 Members
Latest Member: m
* Home Help Search Login Register
+  SapphireSteel Forum
|-+  General
| |-+  Amethyst
| | |-+  VS2010 crashing when creating a new project.
« previous next »
Pages: [1] 2 Print
Author Topic: VS2010 crashing when creating a new project.  (Read 2739 times)
plorent
Newbie
*
Posts: 43


« on: April 28, 2011, 04:36:39 AM »

With VS2010 SP1 and Amethyst 1.2 I cannot create a new project. If I do, VS crashes. The only way I can work on a project is by using the importer. Is this a known issue?
Logged
Huw Collingbourne
Administrator
Hero Member
*****
Posts: 933



« Reply #1 on: April 28, 2011, 04:52:30 AM »

Two questions. 1) Is this problem new to SP1 and 2) Are you using any other VS addins? If so, which?

Huw
Logged
plorent
Newbie
*
Posts: 43


« Reply #2 on: April 28, 2011, 06:27:56 AM »

1) I newly installed VS and updated to SP1, then installed Amethyst.
2) Yes, Resharper and VisualSVN

Just noticed I can't get debugging working. Additionally, when I stop debugging (which simply runs the app but nothing else happens - ignores breakpoints...) and retry, I get a message I can't connect to the debug player - already in use... stop, retry and then it runs the app again but no debugging whatsoever.

About VisualSVN: when importing a Flash Builder 4 project that is under version control I don't see the status indicators on the files.

Also, while importing a project works, if I close VS after working on it, it crashes as well.

Latest:
I've removed and reinstalled Amethyst but things are worse now. I can run the app without debugging but when debugging, VS stalls and becomes unresponsive. I have to close it.
Also, after removing Amethyst and firing up VS I get a message about some vsi.manifest being removed from the system. I suppose this is VisualSVN related. However, it seems to be working properly.
« Last Edit: April 28, 2011, 07:22:24 AM by plorent » Logged
Dermot
Administrator
Hero Member
*****
Posts: 1005


« Reply #3 on: April 28, 2011, 10:03:08 AM »

We've had one report of trouble creating projects with Resharper installed.

Try disabling Resharper (I'm sure there's a simple way of doing this, but I can't remember exactly how you do do it - something on the Resharper menu?), then create an Amethyst project, then re-enable Resharper. See if that stops the crashes.

The SCC glyphs are determined by the source control *server*. Amethyst queries the server for the SCC status and sets the glyphs accordingly. I think VisualSVN is a client (thought I think that they do a server as well). I don't think that VisualSVN and Amethyst together will cause problems, but because they are both clients, they each do their own thing. That's my understanding anyway. Amethyst certainly works with Microsoft's TeamServer SCC system because we use it here.

Dermot
Logged
plorent
Newbie
*
Posts: 43


« Reply #4 on: April 28, 2011, 10:44:37 AM »

Under Tools -> Options -> Resharper, you can suspend Resharper.
And this solves the my issues. I can create new projects, debug...
But, working with the WebORB integration... not being able to work with Resharper is a little disappointing to say the least. Resharper is such a great tool. Still, I have Amethyst running now which is a great improvement overall :-).
Thanks for the support!
Logged
Dermot
Administrator
Hero Member
*****
Posts: 1005


« Reply #5 on: April 28, 2011, 11:16:29 AM »

You can turn Resharper back on again once you've created the project. As far as I know, that's the only problem with Resharper.

I'll do a bit more investigation with Resharper and see if I can get them to look into the problem ... I suspect that Amethyst is doing something perfectly legal (like listening to project Creation events) that Resharper isn't expecting.

Dermot
Logged
Huw Collingbourne
Administrator
Hero Member
*****
Posts: 933



« Reply #6 on: April 28, 2011, 11:25:15 AM »

Have you also tried updating to the latest version of ReSharper? A quick Google shows that people have had a variety of problems with VS crashes caused by ReSharper interactions. JetBrains has said it's fixed quite a number of these so it may be worth double-checking that you are up to date with their fixes.

Huw
Logged
plorent
Newbie
*
Posts: 43


« Reply #7 on: April 28, 2011, 11:31:19 AM »

Yes, I have the latest Resharper. I guess I can turn Resharper on once I'm editing the C# project. Sofar it's working out fine. If I switch Resharper on after creating the project, debugging also works as expected. The issue seems to be only related to creating new projects. I'll try importing/debugging with Resharper switched on.
Logged
plorent
Newbie
*
Posts: 43


« Reply #8 on: April 29, 2011, 01:39:59 AM »

Regarding VisualSVN, you have to convert the existing project in the same location otherwise you loose the .svn files. When converting the project in the same location you have VisualSVN support but no status indicators on the files.
Loosing the .svn files might be related to another issue when importing/converting a project to a new location. Although I deselected options to exclude files and not ignore hidden files, the importer still won't import any swc or swf files, and like mentioned above, it won't import the hidden files.

Another issue: I don't get code hinting on the Charting components. Do I have to add those components to get code hinting?
Logged
Dermot
Administrator
Hero Member
*****
Posts: 1005


« Reply #9 on: April 29, 2011, 04:48:19 AM »

I can see what you want to do with the .svn files ... We'll change the project importer to handle these things properly. You want them copied to the new location, but not included in the project, which is not very easy to do right now.

I'll install VisualSVN and check it out again and see if I can figure out a way of getting the SCC glyphs.

Charting components - you get IntelliSense when the charting library (datavisualisation) library is included in the References, so you need to add it as a reference there. Just right click on the References node and use the Browse dialog box. I think the charting components are included in Amethyst 1.5 projects.

Are you using Amethyst 1.2 or the Beta of 1.5? There's quite a few changes in 1.5 for libraries, etc. and the importer is much improved

On the XP User data directory, I have a feeling that if you work in a large corporation, they store these files on the server somewhere. MS changed the location of the ProgramData files in Vista/Windows 7 so that it was independent of the user data - which is a lot more logical.


Dermot
« Last Edit: April 29, 2011, 04:58:02 AM by Dermot » Logged
plorent
Newbie
*
Posts: 43


« Reply #10 on: April 29, 2011, 09:45:32 AM »

VisualSVN: exactly, I want to be able to import everything otherwise I loose my connection to the repository. It is cumbersome now to import projects from a repository. I tried with a blank solution but there doesn't seem to be a way to add projects to the solution from SVN. I have to use Tortoise to check out the projects and then import/convert in the same location.
But, I now have two Amethyst projects - an application and a seperate project for FlexUnit 4 tests - a WebORB site and a C# test project. I can now run my FlexUnit tests against the code in my application including async tests on the services. Very cool to have it all working in one IDE! Next step is integration with a build server.

Charting components: cool, had to do the same with the FlexUnit 4 swc's, works fine now, thanks!

I'm using Amethyst 1.2.

Thanks again for the support!
Logged
plorent
Newbie
*
Posts: 43


« Reply #11 on: April 29, 2011, 09:52:08 AM »

On the XP matter: I'm working on a project in Flash Builder and have added a webservice using the Data panel and Flash Builder adds some code to the project.
Now that I'm trying to switch to VS and Amethyst to be able to work in one IDE, I can add the webservice in the WebORB console and import it from there. In the end I want to use WebORB anyway.
Logged
Dermot
Administrator
Hero Member
*****
Posts: 1005


« Reply #12 on: April 30, 2011, 03:46:45 AM »

Yes - you shouldn't need to alter the -service option, Amethyst creates this when you add WebORB projects using the Amethyst/WebORB service browser (right click on the Services node and select Add WebORB Services).

On VisualSVN:

I've done some investigating on this and VisualSVN only supports certain project types (see http://www.visualsvn.com/support/topic/00015/). However, it's not clear what project types it supports and they don't seem to have a list anywhere. But I think I'm pretty sure that Amethyst isn't on the list. So while VisualSVN works, you won't get the SCC glyphs.

However, I also looked at AnkhSVN. I last looked at this a few years ago in 2007 and (to be honest) didn't think a great deal of it. But I've just downloaded the latest version and, wow!, what a difference! It works perfectly! They've now implemented AnkhSVN v2 as a 'Visual Studio Source Control Package' which is how it should be done. This means that when Amethyst queries for the SCC glyph, AnkhSVN gives the appropriate one back and we can display it. I've been playing with AnkhSVN for a bit and it seems to work fine (just like MS TeamServer) - so you might want to think about looking at it.

We've started adding the processing for importing/copying the ".svn" directories. I'm not sure if it will be in our next beta, but it will be in the final version of 1.5 in a couple of weeks.

Dermot
Logged
plorent
Newbie
*
Posts: 43


« Reply #13 on: May 01, 2011, 03:58:37 AM »

I'll give AnkhSVN a go.

One other thing I've noticed is when using a Presenter pattern with a passive view I don't get codehinting on the instance names of the mxml view component. So, I don't have code behind on the mxml view component but a seperate class that has a reference to the mxml view component. Of course this is not a feature everyone will need but maybe it's something to consider for future releases.

BTW, it's really great being able to debug both the client and server side in one debug session! Awesome.
Logged
plorent
Newbie
*
Posts: 43


« Reply #14 on: May 01, 2011, 04:40:34 AM »

Wow, AnkhSVN works great! A much better plugin than VisualSVN. Thanks for the tip!
Logged
Pages: [1] 2 Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!