Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
VisualSVN not playing nicely with ActiveWriter
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Grimace of Despair  
View profile  
 More options Apr 16 2008, 5:52 am
From: Grimace of Despair <GrimaceOfDesp...@hotmail.com>
Date: Wed, 16 Apr 2008 02:52:13 -0700 (PDT)
Local: Wed, Apr 16 2008 5:52 am
Subject: VisualSVN not playing nicely with ActiveWriter
It seems impossible to use VisualSVN together with ActiveWriter
(http://altinoren.com/activewriter/)

I opened a ticket for this on the ActiveWriter issue tracker:
http://support.castleproject.org//browse/CONTRIB-118

It looks like there's some unmanaged business not taken care of. Any
action involving addition of project items through EnvDTE will crash
into an EntryPointNotFoundException. E.g. this is the case for
ProjectItems.AddFromFile and DTE.ItemOperations.AddExistingItem.

Could it be you're running into (unmanaged) dll hell?

One of the call stacks I be getting, is (copied from the AW issue):
Error 107 Running transformation: System.EntryPointNotFoundException:
Entry point was not found.
   at
VisualSVN.VS.Interop.NativeExtenderCallback.OnQueryEditFiles(UInt32
rgfQueryEdit, String[] rgpszMkDocuments, UInt32* pfEditVerdict,
UInt32* prgfMoreInfo, Boolean* skipOriginal)
   at
VisualSVN.VS.Interop.NativeExtender.OnQueryEditFiles(NativeExtender* ,
UInt32 rgfQueryEdit, Int32 cFiles, UInt16** rgpszMkDocuments, UInt32*
rgrgf, __MIDL___MIDL_itf_ivsqueryeditquerysave2_0000_0001* rgFileInfo,
UInt32* pfEditVerdict, UInt32* prgfMoreInfo, Boolean* skipOriginal)
   at EnvDTE.ProjectItems.AddFromFile(String FileName)
   at
Altinoren.ActiveWriter.CodeGeneration.CodeGenerationHelper.AddToProject(Str ing
path, prjBuildAction buildAction)
   at
Altinoren.ActiveWriter.CodeGeneration.CodeGenerationHelper.Generate()
   at
Microsoft.VisualStudio.TextTemplatingD40CDA24B073E171ACBA53DFD98A879B.Gener atedTextTransformation.TransformText()
in F:\Development\Projects\Project.actiw:line 32 F:\Development\Project
\Project.actiw 1 1


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Grimace of Despair  
View profile  
 More options Apr 22 2008, 3:51 am
From: Grimace of Despair <GrimaceOfDesp...@hotmail.com>
Date: Tue, 22 Apr 2008 00:51:54 -0700 (PDT)
Local: Tues, Apr 22 2008 3:51 am
Subject: Re: VisualSVN not playing nicely with ActiveWriter
Is this too vague a problem description? Or are too few people
affected? Is there something else I should do to get response on this?
Like kicking it? :)

On 16 apr, 11:52, Grimace of Despair <GrimaceOfDesp...@hotmail.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
VisualSVN Team  
View profile  
 More options Apr 22 2008, 4:55 am
From: "VisualSVN Team" <supp...@visualsvn.com>
Date: Tue, 22 Apr 2008 12:55:21 +0400
Local: Tues, Apr 22 2008 4:55 am
Subject: Re: VisualSVN not playing nicely with ActiveWriter
Hi Grimace,

Thanks for reporting this issue!

Unfortunately we were not able to reproduce this problem. Please could
you provide step-by-step reproduction script.

I assume that you have latest version of VisualSVN (1.4) and
ActiveWriter (Preview 4) installed in Visual Studio 2008.

Thanks,
Fyodor Sheremetyev
VisualSVN Team

On Tue, Apr 22, 2008 at 11:51 AM, Grimace of Despair


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Grimace of Despair  
View profile  
 More options Apr 22 2008, 8:15 am
From: Grimace of Despair <GrimaceOfDesp...@hotmail.com>
Date: Tue, 22 Apr 2008 05:15:51 -0700 (PDT)
Local: Tues, Apr 22 2008 8:15 am
Subject: Re: VisualSVN not playing nicely with ActiveWriter
I've uploaded a sample solution. To create it, I've done:

1. Create solution with class library
2. Add references to ActiveRecord.dll, NHibernate.dll and
Castle.Components.Validator.dll (not sure if required)
3. Add ActiveWriter item
4. Configure some simple model with a primary key
5. Configure the model with output type NHibernate instead of
ActiveRecord (default)
6. Try to save

At my place, this fails with VisualSVN 1.4 installed and not even
putting the solution under svn. The failure is reported in the Error
pane and prevents ActiveWriter from effectively adding the generated
hbm.xml file to the solution.

On 22 apr, 10:55, "VisualSVN Team" <supp...@visualsvn.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Grimace of Despair  
View profile  
 More options Apr 22 2008, 8:20 am
From: Grimace of Despair <GrimaceOfDesp...@hotmail.com>
Date: Tue, 22 Apr 2008 05:20:41 -0700 (PDT)
Local: Tues, Apr 22 2008 8:20 am
Subject: Re: VisualSVN not playing nicely with ActiveWriter
I'm sorry, I forgot to report that I'm using a trunk build of
ActiveWriter in VS2008. Note that in the past, I've also tried to use
these two tools together, but had to abandon VisualSVN (1.3) in favor
of ActiveWriter (at that time, I was using VS2005).

Figuring the issue might have been resolved with AW2008/VS2008/
vSVN1.4, I thought I'd give it a shot again, but the issue popped up
again as a major showstopper :/

On 22 apr, 10:55, "VisualSVN Team" <supp...@visualsvn.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Grimace of Despair  
View profile  
 More options Apr 24 2008, 5:21 am
From: Grimace of Despair <GrimaceOfDesp...@hotmail.com>
Date: Thu, 24 Apr 2008 02:21:57 -0700 (PDT)
Local: Thurs, Apr 24 2008 5:21 am
Subject: Re: VisualSVN not playing nicely with ActiveWriter
Are you able to repro with the given solution?

On 22 apr, 14:20, Grimace of Despair <GrimaceOfDesp...@hotmail.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ignu  
View profile  
 More options Apr 26 2008, 11:04 am
From: ignu <ignu.sm...@gmail.com>
Date: Sat, 26 Apr 2008 08:04:35 -0700 (PDT)
Local: Sat, Apr 26 2008 11:04 am
Subject: Re: VisualSVN not playing nicely with ActiveWriter
I'm not using the trunk build and am getting the same error.

This is my first attempt using ActiveWriter, so I'm going to need to
uninstall VisualSVN to play further.

On Apr 22, 8:20 am, Grimace of Despair <GrimaceOfDesp...@hotmail.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
VisualSVN Team  
View profile  
 More options Apr 27 2008, 8:46 am
From: "VisualSVN Team" <supp...@visualsvn.com>
Date: Sun, 27 Apr 2008 16:46:11 +0400
Local: Sun, Apr 27 2008 8:46 am
Subject: Re: VisualSVN not playing nicely with ActiveWriter

Hi Grimace,

Thanks for additional info!

We've been able to reproduce the problem and done some investigation.
It turns out that problem is caused by ActiveWriter using DTE from
temporary AppDomain. To fix this all calls to DTE should be marshaled
to default AppDomain. As a simple workaround you can do code
generation on separate working thread. I've attached a patch to the
issue in the issue tracker
(http://support.castleproject.org//browse/CONTRIB-118). Please let us
know if you need further assistance.

BTW, retrieving DTE via enumerating RunningObjectTable looks too
hacky. I would suggest marshaling DTE reference (which is already
available in TemplatedCodeGenerator) using more standard approach, for
example via GlobalInterfaceTable.

Thanks,
Fyodor Sheremetyev
VisualSVN Team

On Thu, Apr 24, 2008 at 1:21 PM, Grimace of Despair

  active-writer-code-generation-on-worker-thread.patch
2K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Grimace of Despair  
View profile  
 More options Apr 28 2008, 4:51 am
From: Grimace of Despair <GrimaceOfDesp...@hotmail.com>
Date: Mon, 28 Apr 2008 01:51:41 -0700 (PDT)
Local: Mon, Apr 28 2008 4:51 am
Subject: Re: VisualSVN not playing nicely with ActiveWriter
Thanks a lot! Even though it's technically not VisualSVN's fault, I'm
really glad you were able to dig up a workaround. As soon as I find
some time, I'll check out the patch.

On 27 apr, 14:46, "VisualSVN Team" <supp...@visualsvn.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »