Hi,
My PCF commands were working fine till yesterday, but as of today I am not able to run any msbuild command to create solution package for my PCF control.
I am running msbuild /t:build /restore, I also tried msbuild /p:configuration=Release but received the below error.
Error - The OutputPath property is not set for project 'mmr.cdsproj'. Please check to make sure that you hav
e specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='AnyCP
U'. You may be seeing this message because you are trying to build a project without a solution file, and have specifi
ed a non-default Configuration or Platform that doesn't exist for this project.
I have seen some solutions and found that there is a tag named as PropertyGroup with condition as Debug that should be changed to Release.
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
However, this line is not present in my cdsproj file, which was created by the PCF commands to create the solution.
Any help would be appreciated.
Thanks!
Ran into this issue as well. Found this really old BUT helpful article from 2010. After updating the cdsproj file was able to complete my build to get zip file.
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
then run: msbuild /t:build /p:configuration=Release
Hi Sheldon,
I am also facing similar issue from this Morning.
Are you able to find any resolution?
Thanks,
WarrenBelz
85
Most Valuable Professional
mmbr1606
55
Super User 2025 Season 1
Michael E. Gernaey
52
Super User 2025 Season 1