开发者

How to generate .net modules using Visual Studio 2008

I am writing a c# class library, where each class need to be compiled into differe开发者_StackOverflow中文版nt .net modules instead of as a single assembly. Is there any settings to get this done from VS.NET enviornment?


You could use the "Build events" in VS.NET project properties to generate .net assemblies. Under "Post build" event specify a batch file containing the following code.

csc /target:module YourClassName1.cs
csc /target:module YourClassName2.cs
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜