我开始使用Visual Studio 2010中,我与C#程序完成后,我看到有.sln,并.suo在项目的根目录中的文件和.csproj子目录中的文件.这些文件是为了什么?
我需要识别要放入Git存储库的文件.连同我创建的源代码/文档,我猜这三个文件是我唯一需要处理的文件.但是,我不确定我是否正在跟踪正确的文件.
个人宏文件怎么样?我有Emacs键开关宏,.sln文件或.csproj文件有这个宏吗?
在使用GIT进行源代码控制的.NET C#项目中,我在重新定位后不断收到格式错误的csproj文件以获取最近提交的代码.这是我的过程:
这是rebase的输出:
D:\GitHub\AwesomeProject>git rebase master
First, rewinding head to replay your work on top of it...
Applying: added getstatus call
Using index info to reconstruct a base tree...
M Host/Host.csproj
M Host/packages.config
M Trees/Trees.csproj
M Trees/packages.config
M UnitTests/UnitTests.csproj
<stdin>:1229: trailing whitespace.
<!-- To modify your build process, add your task inside one of the targets bel
ow and uncomment it.
warning: 1 line adds whitespace errors.
Falling back to patching base and 3-way merge...
Auto-merging …Run Code Online (Sandbox Code Playgroud)