我制作c#类库 [英] i make c# class library

查看:66
本文介绍了我制作c#类库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在类库中,有三个文件.cs,这些类在命名空间dataintegrationframework下



1 Column.cs

2来源.cs

3 Destination.cs



i包括另一个项目中的命名空间。



使用dataintegrationframework;



显示两个文件,但列文件不存在。







dataintegrationframework.Source支持



dataintegrationframework.Destination支持



dataintegrationframework.Column不支持

in class library, there are three files .cs and these classes are under namespace dataintegrationframework

1 Column.cs
2 Source.cs
3 Destination.cs

i include the namespace in another project.

using dataintegrationframework;

the two files are shown but the column file does not exist.



dataintegrationframework.Source support

dataintegrationframework.Destination support

dataintegrationframework.Column does not support

推荐答案

可能有很多原因。我想到的两个是命名空间名称(检查名称和大小写)和类的访问说明符。它应标记为公开。
It could be many reason. Two that come to my mind is namespace name (check names and case) & Access specifiers for the class. It should be marked as Public.


这篇关于我制作c#类库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆