(C# 基础) Solution and Project
2013-02-17 11:16
211 查看
Before developing any applications, an understanding of the differences between a solution and a project is required. A project holds source files and any other files, such as images, that are needed to create an assembly that is to be run by the .NET Common Language Runtime. All of the source files in a project are compiled together to create a single assembly. The assembly may be an executable (.exe) or a dynamic link library (.dll).
A solution can hold one or more projects, but often contains just a single project. If this is the case, then there is really no difference between a solution and a project. A solution that contains more than one project is suitable for large applications that are developed by more than one person. This allows individuals or small groups of developers to independently work on the projects that make up the solution.
When you are ready to begin coding, the first step is to set up a project. The project contains all the raw materials for your application, such as the source code files, resource files such as icons, references to external files that your program depends on, and configuration data such as compiler settings. When you build a project, Visual C# invokes the C# compiler and other internal tools to create an executable assembly by using the files in your project.
参考:http://msdn.microsoft.com/en-us/library/ms173077(v=vs.90).aspx
A solution can hold one or more projects, but often contains just a single project. If this is the case, then there is really no difference between a solution and a project. A solution that contains more than one project is suitable for large applications that are developed by more than one person. This allows individuals or small groups of developers to independently work on the projects that make up the solution.
When you are ready to begin coding, the first step is to set up a project. The project contains all the raw materials for your application, such as the source code files, resource files such as icons, references to external files that your program depends on, and configuration data such as compiler settings. When you build a project, Visual C# invokes the C# compiler and other internal tools to create an executable assembly by using the files in your project.
参考:http://msdn.microsoft.com/en-us/library/ms173077(v=vs.90).aspx
相关文章推荐
- How to implement HTML file into GAE project and solution of bindError
- 【C#基础知识】——List<T>And Dictionary<K,V>泛型集合
- how to blend VB and C# in one project
- Why Java Sucks and C# Rocks(2):基础类型与对象
- c# 生成项目或重新生成项目时报“Project not selected to build for this solution configuration”之解决办法
- C#类型基础(值类型and引用类型)
- Hack the Project and Solution Files
- Test-Driven C# Improve the Design and Flexibility of Your Project with Extreme Programming Techniques
- Project Euler Problem 05 C# solution
- Why Java Sucks and C# Rocks(2):基础类型与对象
- Enums and Structs in C#(C#里的枚举和结构) (from codeproject)
- Visual Studio.net Solution and Project
- Test-Driven C# Improve the Design and Flexibility of Your Project with Extreme Programming Techniques
- Know more about the organization of solution and project
- SoapUI Pro Project Solution Collection-Custom project and setup
- Understanding Solution, Project and...
- 【C#】基础名词解释
- c# 扩展方法奇思妙用基础篇七:IsBetween 通用扩展
- C# 基础知识 (三).主子对话框数值传递
- C#基础:接口(三)