-
-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Labels
bug⛶ CIContinuous Integration supportContinuous Integration support⛶ msbuildmsbuild toolsetmsbuild toolset
Milestone
Description
set __vssbe_diag= true to enable diagnostic mode.
Error when loading: 'System.ArgumentNullException: Parameter "escapedValue" cannot be null.
at Microsoft.Build.Shared.ErrorUtilities.VerifyThrowArgumentNull(Object parameter, String parameterName, String resourceName)
at Microsoft.Build.Execution.ProjectPropertyInstance.Create(String name, String escapedValue, Boolean mayBeReserved, ElementLocation location, Boolean isImmutable)
at Microsoft.Build.Evaluation.ProjectCollection.SetGlobalProperty(String name, String value)
at net.r_eg.vsSBE.IsolatedEnv..ctor(String solutionFile, IDictionary`2 properties)
at net.r_eg.vsSBE.API.EventLevel.load(String sln, Dictionary`2 properties, ISettings cfg)
at net.r_eg.vsSBE.Provider.Loader.load(String solutionFile, Dictionary`2 properties, String libPath, Boolean createDomain)
at net.r_eg.vsSBE.Provider.Loader.load(String solutionFile, Dictionary`2 properties, String libPath)
at net.r_eg.vsSBE.CI.MSBuild.Initializer.load(InitializerProperties prop)'
MSBUILD : Logger error MSB1029: Fatal error
Build failed.Possible when no SolutionConfigurationPlatforms records inside .sln, for example, projects such https://github.com/3F/GetNuTool
set cim=packages\vsSolutionBuildEvent\cim.cmd
call %cim% "gnt.sln" /v:m /m:4 Temp solution
Either define any values for Configuration/Platform when invoking:
call %cim% "gnt.sln" /v:m /m:4 /p:Configuration=Release /p:Platform=x64Or add SolutionConfigurationPlatforms with default value for .sln
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
EndGlobalSectionv
call %cim% "gnt.sln" /v:m /m:4 /p:Configuration=Release
:: now platform will be considered as /p:Platform=Any CPUReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bug⛶ CIContinuous Integration supportContinuous Integration support⛶ msbuildmsbuild toolsetmsbuild toolset