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(项目)的集合

     

  • 相关阅读:
    Java + Element-UI 实现简单的树形菜单
    Spring Boot 日志
    SpringMVC入门
    vue 路由钩子函数 刷新当前路由
    使用vue 路由钩子函数 报错 Uncaught (in promise) undefined
    Webpac优化看文记录
    移动端长按复制记录
    Vue.js 运行机制全局概览浅读
    老异步问题了
    vue-lazyload的使用 图片懒加载
  • 原文地址:https://www.cnblogs.com/xiao9426926/p/6019234.html
Copyright © 2011-2022 走看看