VC#.NET 2003拒绝生成不是Web DLL的Windows DLL [英] VC# .NET 2003 refuses to make a Windows DLL that is not a web DLL

查看:52
本文介绍了VC#.NET 2003拒绝生成不是Web DLL的Windows DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试重用代码。一些代码是这样的,我需要一个基础

类的表格。我知道那些基类必须在DLL中。

但是,如果我创建一个类库项目,我得到一个DLL,但只有一个

省略了System.Windows。它确实有很多无用的(对我来说)网络内容

在系统中。


主题

ms-help: //MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcon/html/vbconWindowsControlLibraryTemplate.htm

指的是一个似乎缺失的新项目向导。在

ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcon/html/vbwlkwalkthroughdemonstratingvisualinheritance.htm,

我们被告知创建Windows应用程序然后,在项目的属性

中,设置从Windows应用程序到类库的输出类型

并单击确定。我在我的解决方案或

项目中找不到任何此类财产。


给出了什么?我正在运行VC#.NET 2003 Standard。

----------

Will Pittenger

电子邮件: mailto:will.pittenger1 at gmail.com

所有邮件由Qurb过滤( www .qurb.com

解决方案

你好,

如果你右键点击你的项目并选择属性形成上下文

菜单,您将获得属性框。选择常规

的树项目位于公共属性下。夹。然后,您将在

右侧看到输出类型选项。你可以改成上课

图书馆。


希望有所帮助。

马克。


" Will Pittenger"写道:

我试图重用代码。有些代码是这样的,我需要为我的表单提供一个基础类。我知道那些基类必须在DLL中。
但是,如果我创建一个类库,项目,我得到一个DLL,但只有一个省略System.Windows。它在系统中确实有很多无用的(对我来说)web内容。

主题
ms-help://MS.VSCC.2003/MS.MSDNQTR。 2003FEB.1033 / vbcon / html / vbconWindowsControlLibraryTemplate.htm
指的是一个似乎缺少的新项目向导。在ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcon/html/vbwlkwalkthroughdemonstratingvisualinheritance.htm,
我们被告知要创建一个Windows应用程序。然后,在项目的属性中,设置从Windows应用程序到类库的输出类型,然后单击确定。在我的解决方案或项目中,我找不到任何此类财产。

是什么给出的?我正在运行VC#.NET 2003 Standard。
----------
Will Pittenger
电子邮件:mailto:will.pittenger1 at gmail.com
Qurb过滤的所有邮件( www.qurb.com


不幸的是我看不到屏幕截图,你可以把它发送到我的gmail

账号 da ********* @ gmail.com

" Will Pittenger"写道:

想打赌?请参阅随附的打印屏幕。
----------
Will Pittenger
电子邮件:mailto:will.pittenger1 at gmail.com
所有邮件已过滤作者:Qurb( www.qurb.com
Mark R. Dawson <马********* @ discussions.microsoft.com>在消息中写道
新闻:0A ********************************** @ microsof t.com。 ..

您好,
如果您右键单击您的项目并从上下文菜单中选择属性,您将获得属性框。选择常规树项目
其中
位于公共属性之下。夹。然后,您将在
右侧看到输出类型选项。你可以改成课程
图书馆。

希望有所帮助。
Mark。

Will Pittenger写道:

我试图重用代码。一些代码是这样的,我需要一个
基础类我的表格。我知道那些基类必须在DLL中。
但是,如果我创建一个类库,项目,我得到一个DLL,但只有一个省略System.Windows。它在系统中确实有很多无用的(对我而言)网页


主题
ms-help://MS.VSCC.2003/ MS.MSDNQTR.2003FEB.1033 / vbcon / html / vbconWindowsControlLibraryTemplate.htm
指的是似乎缺少的新项目向导。在ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcon/html/vbwlkwalkthroughdemonstratingvisualinheritance.htm,
我们被告知要创建一个Windows应用程序。然后,在项目的属性
中,将从Windows应用程序输出类型设置为类库,然后单击确定。在我的解决方案或项目中,我找不到任何此类财产。

是什么给出的?我正在运行VC#.NET 2003 Standard。
----------
Will Pittenger
电子邮件:mailto:will.pittenger1 at gmail.com
Qurb过滤的所有邮件( www.qurb.com




在途中。

----------

Will Pittenger

电子邮件:mailto:will.pittenger1 at gmail.com

所有邮件由Qurb过滤( www.qurb.com


I am attempting to reuse code. Some of the code is such that I need a base
class for my forms. I know that those base classes must be in a DLL.
However, if I create a "Class Library" project, I get a DLL, but only one
that omits System.Windows. It does have a lot of useless (for me) web stuff
in System.

The topic
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcon/html/vbconWindowsControlLibraryTemplate.htm
refers to a New Project Wizard that appears to be missing. In
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcon/html/vbwlkwalkthroughdemonstratingvisualinheritance.htm ,
we are told to create a "Windows Application" and then, in the properties
for the project, set "output type from Windows Application to Class Library
and click OK". I can find no such property anywhere in my solution or
project.

What gives? I am running VC# .NET 2003 Standard.
----------
Will Pittenger
E-Mail: mailto:will.pittenger1 at gmail.com
All mail filtered by Qurb (www.qurb.com)

解决方案

Hi Will,
if you right click on your project and choose properties form the context
menu you will get the properties box. Select the "General" tree item which
is located under the "Common Properties" folder. You will then see on the
right hand side an option for "Output Type" which you can change to class
library.

Hope that helps.
Mark.

"Will Pittenger" wrote:

I am attempting to reuse code. Some of the code is such that I need a base
class for my forms. I know that those base classes must be in a DLL.
However, if I create a "Class Library" project, I get a DLL, but only one
that omits System.Windows. It does have a lot of useless (for me) web stuff
in System.

The topic
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcon/html/vbconWindowsControlLibraryTemplate.htm
refers to a New Project Wizard that appears to be missing. In
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcon/html/vbwlkwalkthroughdemonstratingvisualinheritance.htm ,
we are told to create a "Windows Application" and then, in the properties
for the project, set "output type from Windows Application to Class Library
and click OK". I can find no such property anywhere in my solution or
project.

What gives? I am running VC# .NET 2003 Standard.
----------
Will Pittenger
E-Mail: mailto:will.pittenger1 at gmail.com
All mail filtered by Qurb (www.qurb.com)



Unfortunately I cannot see the screen shot, you can send it to my gmail
account da*********@gmail.com
"Will Pittenger" wrote:

Wanna bet? See the attached print screen.
----------
Will Pittenger
E-Mail: mailto:will.pittenger1 at gmail.com
All mail filtered by Qurb (www.qurb.com)
"Mark R. Dawson" <Ma*********@discussions.microsoft.com> wrote in message
news:0A**********************************@microsof t.com...

Hi Will,
if you right click on your project and choose properties form the context
menu you will get the properties box. Select the "General" tree item
which
is located under the "Common Properties" folder. You will then see on the
right hand side an option for "Output Type" which you can change to class
library.

Hope that helps.
Mark.

"Will Pittenger" wrote:

I am attempting to reuse code. Some of the code is such that I need a
base
class for my forms. I know that those base classes must be in a DLL.
However, if I create a "Class Library" project, I get a DLL, but only one
that omits System.Windows. It does have a lot of useless (for me) web
stuff
in System.

The topic
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcon/html/vbconWindowsControlLibraryTemplate.htm
refers to a New Project Wizard that appears to be missing. In
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcon/html/vbwlkwalkthroughdemonstratingvisualinheritance.htm ,
we are told to create a "Windows Application" and then, in the properties
for the project, set "output type from Windows Application to Class
Library
and click OK". I can find no such property anywhere in my solution or
project.

What gives? I am running VC# .NET 2003 Standard.
----------
Will Pittenger
E-Mail: mailto:will.pittenger1 at gmail.com
All mail filtered by Qurb (www.qurb.com)




On its way.
----------
Will Pittenger
E-Mail: mailto:will.pittenger1 at gmail.com
All mail filtered by Qurb (www.qurb.com)


这篇关于VC#.NET 2003拒绝生成不是Web DLL的Windows DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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