什么是C#项目中解决方案的输出文件夹? 。它在哪里? [英] What is output folder of your solution in C# projects ? . Where is it located ?

查看:396
本文介绍了什么是C#项目中解决方案的输出文件夹? 。它在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个sdk,我需要将此文件保存在解决方案的输出文件夹中,但我不知道这个文件夹在哪里。请帮帮我。



我尝试了什么:



i am search在谷歌但没有找到明确的答案

i have a sdk and i need to keep this file in output folder of solution but i did not know where is this folder. please help me.

What I have tried:

i am searched on google but not find clear answer

推荐答案

解决方案没有输出文件夹:一个项目,因为项目创建一个程序集,其中一个解决方案是一个项目的集合,并不生成它自己的单个文件 - 实际上一个项目通常至少有两个输出文件夹。

A solution doesn't have an "Output folder": a project does, because the project creates an Assembly, where a Solution is a collection of projects and doesn't produce a single file of it's own - in fact a project has normally at least two "output" folders.
WhereverYouKeepYourProjects\SolutionName\ProjectName\bin\Debug
WhereverYouKeepYourProjects\SolutionName\ProjectName\bin\Release

但是......你真正想做的是添加对SDK(如果它是一个.NET程序集),那么系统将为您跟踪它,并确保必要的文件作为任何部署文件的一部分包含在内。

如果不是,然后您仍然可以将其作为现有文件添加到项目中,系统将执行此操作最好将它复制到适当的文件夹中。

But...what you really want to do is add a reference to the SDK (if it's a .NET assembly) and that way the system will keep track of it for you, and ensure that the necessary files are included as part of any deployment files.
If it isn't, then you can still add it to the project as an "existing file" and the system will do it's best to copy it to the appropriate folder for you.


在这里回答另一个问题,我详细介绍了如何访问与C#Visual相关的各种特殊文件夹。 Studio项目:[ ^ ]。



如果这没用,请告诉我,并尝试进一步澄清你的问题。
In this answer to another question here, I give a detailed description of how to access the various special folders associated with a C# Visual Studio project: [^].

If that's not useful, let me know, and try and clarify your question a bit further.


这篇关于什么是C#项目中解决方案的输出文件夹? 。它在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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