好吧,问题是我没有安装Visual Studio而且我不想安装它,因此,我制作了一个批处理文件来编译我的.csproj文件和所有源文件.
问题是我不知道如何包含.dll文件.这是我的.csproj文件的当前代码:
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<AssemblyName>Project</AssemblyName>
<OutputPath>Bin\</OutputPath>
</PropertyGroup>
<ItemGroup>
<!-- .cs files -->
<Compile Include="program.cs" />
</ItemGroup>
<Target Name="Build">
<MakeDir Directories="$(OutputPath)" Condition="!Exists('$(OutputPath)')" />
<Csc Sources="@(Compile)" OutputAssembly="$(OutputPath)$(AssemblyName).exe" />
</Target>
</Project>
Run Code Online (Sandbox Code Playgroud)
我需要更改什么才能将dll文件包含/引用到编译过程中?
我目前有一个控制台应用程序.如何在不需要表格的情况下将图形绘制到屏幕上.
我想用C#制作视频编辑器,但是我不知道从哪里开始。
我应该使用什么课程?我将其编译成什么内容(MOV,MPEG4等)?我将如何阅读它们?
我正在看的最重要的事情是阅读它们。
我不知道从哪里得到它.它只是Microsoft SDK吗?如果是,我如何将其添加到我的项目(Visual Studios 2010 C#)?
我想为这个游戏的客户端创建一个包装器,但它是用 Java 编写的。我将如何在 C# 中运行 .jar 文件?