Using VisualStudio to create a project with NPanday Maven convention. Possible?

Jan 11, 2010 at 4:25 AM

Hi all

I am having hard time creating my first VS solution + a project using npanday convention:

 

solution

   my.sln

   MyComp.Lib1

       src/main/csharp

           MyComp.Lib1.csproj

           MyComp/Lib1

                    all my c# under here

 

Anyone successfully creating one of these?

 

-Dan

 

 

 

Jan 11, 2010 at 4:34 AM

forgot one important piece of info:    Using VS to create the solution and project,   after that I will use npanday to generat the pom files

 

Developer
Jan 11, 2010 at 1:42 PM
On Sun, Jan 10, 2010 at 10:35 PM, dantran <notifications@codeplex.com> wrote:

> forgot one important piece of info:    Using VS to create the solution and
> project,   after that I will use npanday to generat the pom files

I think things have moved away from the Maven convention of
src/main/[language] towards the default structure you get when you
create a project with Visual Studio.

Here is an example I've used for testing NPanday + Continuum:
http://svn.apache.org/repos/asf/continuum/sandbox/examples/MySolution/

I think it's fine to put the source code in a subdirectory, but the
.csproj file would need to be up in your MyComp.Lib1 directory.

--
Wendy
Jan 11, 2010 at 9:21 PM

Oh mine, I am chase after a bunch of out of dated doc :(

Thanks Wendy

-Dan

 

Developer
Jan 11, 2010 at 9:26 PM
On Mon, Jan 11, 2010 at 3:21 PM, [email removed] wrote:

> Oh mine, I am chase after a bunch of out of dated doc :(

Sorry about that! Please open an issue so we can get the docs updated
if you've found something misleading.

--
Wendy
Coordinator
Jan 11, 2010 at 10:37 PM

On 12/01/2010, at 1:42 AM, wsmoak wrote:

From: wsmoak

On Sun, Jan 10, 2010 at 10:35 PM, dantran <notifications@codeplex.com> wrote:

> forgot one important piece of info: Using VS to create the solution and
> project, after that I will use npanday to generat the pom files

I think things have moved away from the Maven convention of
src/main/[language] towards the default structure you get when you
create a project with Visual Studio.
That's still supported though?


Here is an example I've used for testing NPanday + Continuum:
http://svn.apache.org/repos/asf/continuum/sandbox/examples/MySolution/

I think it's fine to put the source code in a subdirectory, but the
.csproj file would need to be up in your MyComp.Lib1 directory.
I do agree we pick a convention that is familiar to VS developers as our default.

- Brett


Developer
Jan 12, 2010 at 3:07 PM
On Mon, Jan 11, 2010 at 4:38 PM, [email removed] wrote:
> From: brettporter
>
>> On 12/01/2010, at 1:42 AM, wsmoak wrote:
>> I think things have moved away from the Maven convention of
>> src/main/[language] towards the default structure you get when you
>> create a project with Visual Studio.
>
> That's still supported though?

I believe source code in a subdirectory is supported. The question
seems to be where the .csproj file belongs. I haven't tried them
lately, but it sounds like one or more of our archetypes might be
putting the .csproj file in the wrong place.

--
Wendy