Re: Mixing languages in one assembly



Not using the VS IDE, you need to do it by hand using the SDK command-line
compilers / linkers.

You can only mix languages in the same project using the IDE when doing VS
2005 web projects.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com


"BK" <bkunneke@xxxxxxxxxxx> escribió en el mensaje
news:1144248890.347697.87270@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have a .NET project named FormattedOuput with output type set to
Class Library. In it, I have a source file named ExcelOutput.Vb. This
class produces an Excel object and manipulates it based on some input I
provide. It works fine and has been fully tested.

Meanwhile, another programmer was writing a source file named
RTFOutput.Cs, a C Sharpt program that does similiar work for RTF file
output. He has fully tested his source and it works as we need it.

I *thought* that all I would need to do is add his Cs file to my
project, recompile, and life would be grand. However, intellisense
only shows me the Vb class. So while FormattedOutput.ExcelOutput is
valid, FormattedOutput.RTFOutput is not. We've mixed and matched
different source files in this Solution before, but never mixed
languages in the same assembly. Can this be done?



.



Relevant Pages

  • Re: Larkin, Power BASIC cannot be THAT good:
    ... headers), and no platform-specific macros. ... one source file. ... doesn't have classes, Java doesn't have pointers, or half of C++'s OO ... So the only languages that allow 40-year old programs to be simply ...
    (sci.electronics.design)
  • Re: Getting the CXML library up and running
    ... include directory of CXML to the project, ... I'm not particularly surprised--the source file specifically references ... Consequently the IDE would have to process the ...
    (comp.lang.fortran)
  • Re: TODO / HACK / UNDONE Tokens
    ... exclusively and was not aware that the IDE was that different for C#. ... >> I only see the markers when the actual source code file is open. ... If I open the source file again, ...
    (microsoft.public.dotnet.general)
  • Re: VC6 ATL DLL interop with VB.NET
    ... the IDE did not generate Symbol file and source file for ... the Interop Assembly so the any debugger did not know that the code is. ... Commonly the IDE will generate correct Wrap assembly for us, ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Could not load type ABC.Global. Error
    ... I made the project a Web Project, Rebuilt, Restarted the IIS but still comes ... Works fine from the ide ... details and modify your source file appropriately. ... Parser Error Message: ...
    (microsoft.public.dotnet.framework.aspnet)