wheresjim,
You need to specify the output. You do that with the /out switch, like
so:
csc /debug /t:module /out:"(OutDir)\$(ProjectName).dll"
Anything that doesn't have a flag is considered input to the compiler.
Since you specified nothing, it considered the dll input.
Also, you shouldn't really use dll to specify the output. If you are
compiling to a module, you can't specify a reference or anything like that
to it. You should use the .netmodule extension.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"wheresjim" <wh*******@gmail.com> wrote in message
news:11**********************@c74g2000cwc.googlegr oups.com...
I am trying this project out:
http://www.codeproject.com/useritems/javacsharp.asp
I am having difficulty building parts of it with Visual Studio .NET
2003 because of a post-build step that attempts to create a netmodule
from a .dll using the following command:
csc /debug /t:module "$(OutDir)\$(ProjectName).dll"
The resulting error I get is:
'Debug\HelloWorld.dll' is a binary file instead of a source code file
'Debug\HelloWorld.dll' could not be opened ('Unspecified error ')
I'm not very experienced with .NET or for that matter Visual Studio, so
this could be reallly simple.