更改VS.NET 默认SCM Provider的方法

介绍了更改VS.NET默认SCM Provider的方法,通过找到HKEY_LOCAL_MACHINE/SOFTWARE/SourceCodeControlProvider/ProviderRegKey键,将其更改为自定义Provider在注册表中的位置,如从Software/Microsoft/SourceSafe改为SOFTWARE/Perforce/p4,可实现SCM Provider从VSS到Perforce的切换。
找到HKEY_LOCAL_MACHINE/SOFTWARE/SourceCodeControlProvider/ProviderRegKey键
更改为自定义Provider在注册表中的位置。

比如,从Software/Microsoft/SourceSafe改为SOFTWARE/Perforce/p4可以把SCM Provider从VSS改成Perforce, 反之亦然
SonarScanner.MSBuild.exe begin /k:"3120S_PMC" /d:"sonar.scm.provider=git" /d:"sonar.qualitygate.wait=true" /d:"sonar.qualitygate.timeout=2400" /v:"3120S_PMC_1.0.0_RC_13" /d:"sonar.sourceEncoding=UTF-8" /d:"sonar.host.url=http://sonarqube.naura.local" /d:"sonar.login=1aec7834dafcb57a2fc85687e3cf24358808fefa" /d:"sonar.branch.name=Release_Candidate" SonarScanner for MSBuild 6.2 Using the .NET Framework version of the Scanner for MSBuild Pre-processing started. Preparing working directories... 11:31:46.552 Updating build integration targets... 11:31:49.224 Fetching analysis configuration settings... 11:31:49.442 Provisioning analyzer assemblies for cs... 11:31:49.442 Installing required Roslyn analyzers... 11:31:49.442 Processing plugin: csharp version 8.51.0.59060 11:31:49.567 Processing plugin: vbnet version 8.51.0.59060 11:31:49.63 Provisioning analyzer assemblies for vbnet... 11:31:49.63 Installing required Roslyn analyzers... 11:31:49.63 Processing plugin: csharp version 8.51.0.59060 11:31:49.63 Processing plugin: vbnet version 8.51.0.59060 11:31:49.646 Incremental PR analysis: Base branch parameter was not provided. 11:31:49.646 Cache data is empty. A full analysis will be performed. 11:31:49.677 Pre-processing succeeded. ----------------无需升级解决方案------------------------------- %VS_2022% "Source/PMC.sln" /t:Rebuild -verbosity:minimal /p:WarningLevel=0 MSBuild version 17.6.3+07e294721 for .NET Framework c:\WorkingDirectory\equiptest_Win10_1511\3120S_PMC\Source\PMC\PMC.csproj(370,5): error : This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\xunit.core.2.9.3\build\xunit.core.props.
最新发布
08-07
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值