在构建.NET C#解决方案时有以下日志:( fxcop config中的详细切换)
当它自己执行fxcopcmd.exe命令时,它可以完美地工作.为什么它不能与sonar-runner.bat一起使用?
15-Sep-2011 03:05:37 [DEBUG] Executing FxCop program...
15-Sep-2011 03:05:37 [DEBUG] No assembly specified: will look into 'csproj' files to find which should be analyzed.
15-Sep-2011 03:05:37 [DEBUG] - Found C:\b\SH-SHN-JOB1\Source\SomeSystem.Client\Bin\Release\Company.SomeSystem.Client.dll
15-Sep-2011 03:05:37 [DEBUG] Using C:\b\SH-SHN-JOB1\Source\SomeSystem.Client as base dir when searching FxCop reference directories
15-Sep-2011 03:05:37 [DEBUG] - FxCop program : C:\Program Files\Microsoft FxCop 10.0\FxCopCmd.exe
15-Sep-2011 03:05:37 [DEBUG] - Project file : C:\b\SH-SHN-JOB1\Source\SomeSystem.Client\.sonar\sonar.FxCop
15-Sep-2011 03:05:37 [DEBUG] - Report file : C:\b\SH-SHN-JOB1\Source\SomeSystem.Client\.sonar\fxcop-report.xml
15-Sep-2011 03:05:37 [DEBUG] - Scanned assemblies …Run Code Online (Sandbox Code Playgroud) 当尝试通过https克隆大型仓库(~700MB)时,git失败:
c:\git-projects>git clone https://git.mycompany.de/fs.git
Cloning into 'fs'...
Username for 'https://git.mycompany.de': mwlo
Password for 'https://mwlo@git.mycompany.de':
efrror: RPC failed; result=22, HTTP code = 500
atal: The remote end hung up unexpectedly
Run Code Online (Sandbox Code Playgroud)
克隆ssh作品:
c:\git-projects>git clone git@git.mycompany.de:fs.git
Cloning into 'fs'...
remote: Counting objects: 144564, done.
remote: Compressing objects: 100% (30842/30842), done.
remote: Total 144564 (delta 95360), reused 143746 (delta 94542)
Receiving objects: 100% (144564/144564), 601.34 MiB | 1.33 MiB/s, done.
Resolving deltas: 100% (95360/95360), done.
Checking out files: 100% (4649/4649), done.
Run Code Online (Sandbox Code Playgroud)
使用https克隆较小的存储库也有效:
c:\git-projects>git clone …Run Code Online (Sandbox Code Playgroud) 我想知道如何解决以下任务:
我在MSBuild文件中的AfterCompile目标中构建了其他文件.应该在某处复制Post Build Files,以便稍后在TFS上自动将它们放到BinariesRoot上.
Post Build文件引用了obj/Release/some.dll,因此它必须在some.dll编译之后,但在文件被复制到输出目录BinariesRoot之前发生.
我可以以某种方式将它们添加到目标"CopyFilesToOutputDirectory"吗?
任何的想法?
谢谢,马可