zoukankan      html  css  js  c++  java
  • 一个C#解决方案中各文件夹存放了些什么

    在VS2015中“生成”(Build)的过程:

    Source Code(.cs) —> Compile —> Object File(intermediate files) —> Linker —> Debug Version(.exe) 和 Release Version(.exe)

    Obj文件夹: 

    The obj folder holds object, or intermediate, files, which are compiled binary files that haven't been linked yet. They're essentially fragments that will be combined to produce the final executable. The compiler generates one object file for each source file, and those files are placed into the obj folder.

    Bin文件夹:

    The bin folder holds binary files, which are the actual executable code for your application or library.

    所以,Obj文件夹中放了编译后的中间语言文件;而Bin文件夹中放了可执行文件(.exe),Bin中有两个版本debug和release,release中是优化后的.exe文件,debug是调试中的.exe文件。

    .cs 类文件,源代码都写在这里,主要就看这里的代码。

    .resx 资源文件,一些资源存放在这里,一般不需要看。

    .csproj C#项目文件,用VS打开这个文件就可以直接打开这个项目,自动生成,不需要看。


    .csproj.user 是一个配置文件,自动生成的,会记录项目生成路径、项目启动程序等信息。也不需要看。


    .Designer.cs 设计文件,自动生成,不需要看。


    .aspx 是网页文件,HTML代码写在这里面。


    sln:在开发环境中使用的解决方案文件。它将一个或多个项目的所有元素组织到单个的解决方案中。此文件存储在父项目目录中.解决方案文件,他是一个或多个.proj(项目)的集合

     

  • 相关阅读:
    桌面右击新建没有记事本以解决?
    mysql int(3)与int(11)的区别
    PHPCMS 权限
    PHP 全局函数
    SESSION 丢失
    成功配置gVim的ZenCoding插件
    phpcms 模版源码分析
    更新首页
    隐藏apache访问错误显示系统和版本信息
    nginx 编译安装
  • 原文地址:https://www.cnblogs.com/xiao9426926/p/6019234.html
Copyright © 2011-2022 走看看