Last post Apr 20, 2005 07:33 AM by bmains
Apr 19, 2005 07:05 AM|fadil1977|LINK
Just want to ask and make sure abouit one thing.
If i create a blank solution and then start create proj1 proj2 proj3 proj4.......etc and i mix between VB.NET projects and C# projects .... the question is:
Is that technique is not effecient? Will that design will make trouble or cuse problem later?
Is a number of project in a solution a matter or having tens of projects in one soultion does not affect and i can also mix between C# and vb.net?? please be accurate and sure about the answer .....as it is reaaly important for me to make sure 100% as
i will start developemnt in sharing project and we will use VSS to be as a source control and i found one of the guidance proposing something like that. Please advise!!!!
Apr 19, 2005 08:08 AM|bmains|LINK
I tend to break apart my projects logically. I have my component layers in one project with a test project using NUnit in one solution (5 projects). I have my web application along with a web control library in another. I have a windows application with
any component libraries in another solution.
It is good not to have all the projects in one, as if you have multiple startup projects (say a web app and windows forms), then you have to keep switching between startup projects. Instead, break them up logically. You can still reference them externally
in the same way you reference a project in the solution.
Why mix between C# and VB.NET? Sure you can do it, but then you require anyone maintaining the application to know both languages, which not everybody does, and why make them when one language is sufficient. Ultimately, the component is compiled in MSIL,
to IL, to native machine code, so it doesn't matter upon the language.
Apr 19, 2005 10:44 AM|fadil1977|LINK
Thanks for your reply. Our project is Web application only and i share development with a company that based in Prague. We just set up VSS to start development. I can use both C# and VB.NET and doesnot matter for me and they use only VB.NET but it is just
to confirm if that will make difference to mix languages and i am looking for effecinecy. So, you think it is fine t odo what i am aiming to do without problems.
Apr 19, 2005 02:19 PM|bmains|LINK
Apr 20, 2005 05:17 AM|fadil1977|LINK
The project in C# is only me who develop and use and the rest of the projects are in VB.NET and only 2 of them on the solution. But you think more than project from the same language in a solution will not make problem correct?
also, for the VB.Net project only i need to assign a link or button to take me to the C# project and no data is transfered between the both projects as the C# is a sub system in te main whole system.
Apr 20, 2005 07:33 AM|bmains|LINK
Yes, you should be able to have both languages in the same solution.