在不使用DLL的情况下,在VS 2005中将C#-Code添加到VB-Project [英] Adding C#-Code to VB-Project in VS 2005 without using DLL

查看:62
本文介绍了在不使用DLL的情况下,在VS 2005中将C#-Code添加到VB-Project的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好


实际上我想在VS 2005中添加一些C#-Code到VB.NET项目。

通常我创建一个DLL和从VB-Project导入。


但是当我为智能设备(PocketPC)编写代码时,我不想

分发多个文件,我想分发一个EXE文件。


我已经了解到,自从VS 2005以来,我可以将C#-Code添加到VB项目中。

我可以添加它,但不能使用它。我做错了什么?


谢谢


Sven

Hello

Actually I want to add some C#-Code to a VB.NET-Project in VS 2005.
Normally I creating a DLL and importing that from the VB-Project.

But as I am coding something for a Smart Device (PocketPC), I dont want to
distribute multiple files, I''d like to distribute a single EXE file.

I''ve learned that I can, since VS 2005, add C#-Code to a VB Project.
I can add it, but not use it. What am I doing wrong?

Thanks

Sven

推荐答案

看看你是如何知道的,自从VS 2005以来,你可以将一个C#-Code添加到一个

的VB项目中,请你如此善意地启发我们。我们对

感兴趣。

" Sven Rutten" < sven(at)ruttensoft.com写信息

新闻:eS **************** @ TK2MSFTNGP06.phx.gbl ...
Seeing as how you have learned that you can, since VS 2005, add C#-Code to a
VB Project, would you please be so kind as to enlighten us. We would be most
interested.
"Sven Rutten" <sven (at) ruttensoft.comwrote in message
news:eS****************@TK2MSFTNGP06.phx.gbl...

你好


实际上我想在VS 2005中为VB.NET项目添加一些C#-Code。

通常我创建一个DLL并从VB-Project导入它。


但是当我为智能设备(PocketPC)编写代码时,我不想

分发多个文件,我想分发一个EXE文件。


我已经知道我可以,自VS 2005以来,添加C# - 代码到VB项目。

我可以添加它,但不能使用它。我做错了什么?


谢谢


Sven
Hello

Actually I want to add some C#-Code to a VB.NET-Project in VS 2005.
Normally I creating a DLL and importing that from the VB-Project.

But as I am coding something for a Smart Device (PocketPC), I dont want to
distribute multiple files, I''d like to distribute a single EXE file.

I''ve learned that I can, since VS 2005, add C#-Code to a VB Project.
I can add it, but not use it. What am I doing wrong?

Thanks

Sven


嗨Stephany


expert-exchange.com的一位专家告诉我,但是我无法得到

工作......


Sven

" Stephany Young" < noone @ localhostschrieb im Newsbeitrag

news:Ok ************** @ TK2MSFTNGP05.phx.gbl ...
Hi Stephany

An Expert from experts-exchange.com told me so, but I cannot get it to
work...

Sven
"Stephany Young" <noone@localhostschrieb im Newsbeitrag
news:Ok**************@TK2MSFTNGP05.phx.gbl...

看看你是如何学到的,自从VS 2005以来,将C#-Code添加到了VB $ Project
a VB Project,请你如此善意地启发我们。我们最感兴趣的是




" Sven Rutten" < sven(at)ruttensoft.com写信息

新闻:eS **************** @ TK2MSFTNGP06.phx.gbl ...
Seeing as how you have learned that you can, since VS 2005, add C#-Code to
a VB Project, would you please be so kind as to enlighten us. We would be
most interested.
"Sven Rutten" <sven (at) ruttensoft.comwrote in message
news:eS****************@TK2MSFTNGP06.phx.gbl...

> Hello

其实我想在VS 2005中为VB.NET项目添加一些C#-Code。
通常我创建一个DLL并从VB-Project导入它。

但是当我为智能设备(PocketPC)编写代码时,我不希望
分发多个文件,我会喜欢发布一个EXE文件。

我已经了解到,自从VS 2005以来,我可以将C#-Code添加到VB项目中。
我可以添加它,但不能使用它。我做错了什么?

谢文
>Hello

Actually I want to add some C#-Code to a VB.NET-Project in VS 2005.
Normally I creating a DLL and importing that from the VB-Project.

But as I am coding something for a Smart Device (PocketPC), I dont want
to distribute multiple files, I''d like to distribute a single EXE file.

I''ve learned that I can, since VS 2005, add C#-Code to a VB Project.
I can add it, but not use it. What am I doing wrong?

Thanks

Sven



现在为什么这不让我感到惊讶。


他不是很专家吗?

" Sven Rutten" < sven(at)ruttensoft.com写信息

新闻:O%*************** @ TK2MSFTNGP05.phx.gbl ...
Now why does that not surprise me.

Not much of an expert was he?
"Sven Rutten" <sven (at) ruttensoft.comwrote in message
news:O%***************@TK2MSFTNGP05.phx.gbl...

嗨Stephany


expert-exchange.com的专家告诉我,但是我无法得到它

work ...


Sven


" Stephany Young" < noone @ localhostschrieb im Newsbeitrag

news:Ok ************** @ TK2MSFTNGP05.phx.gbl ...
Hi Stephany

An Expert from experts-exchange.com told me so, but I cannot get it to
work...

Sven
"Stephany Young" <noone@localhostschrieb im Newsbeitrag
news:Ok**************@TK2MSFTNGP05.phx.gbl...

>看看你是如何知道的,自从VS 2005以来,你可以将C#-Code
添加到VB项目中,请你如此善意地启发我们。我们会对此感兴趣。

" Sven Rutten" < sven(at)ruttensoft.com写信息
新闻:eS **************** @ TK2MSFTNGP06.phx.gbl ...
>Seeing as how you have learned that you can, since VS 2005, add C#-Code
to a VB Project, would you please be so kind as to enlighten us. We would
be most interested.
"Sven Rutten" <sven (at) ruttensoft.comwrote in message
news:eS****************@TK2MSFTNGP06.phx.gbl...

>> Hello

实际上我想在VS 2005中添加一些C#-Code到VB.NET项目。
通常我创建一个DLL并从VB-Project导入它。

但是当我为智能设备(PocketPC)编写代码时,我不希望
分发多个文件,我想分发一个EXE文件。

我已经知道,自从VS 2005以来,我可以将C#-Code添加到VB项目中。
我可以添加它,但不能使用它。我做错了什么?

谢谢
>>Hello

Actually I want to add some C#-Code to a VB.NET-Project in VS 2005.
Normally I creating a DLL and importing that from the VB-Project.

But as I am coding something for a Smart Device (PocketPC), I dont want
to distribute multiple files, I''d like to distribute a single EXE file.

I''ve learned that I can, since VS 2005, add C#-Code to a VB Project.
I can add it, but not use it. What am I doing wrong?

Thanks

Sven



这篇关于在不使用DLL的情况下,在VS 2005中将C#-Code添加到VB-Project的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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