Click here to Skip to main content
15,797,062 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: C Pin
Richard MacCutchan25-Feb-22 23:52
mveRichard MacCutchan25-Feb-22 23:52 
AnswerRe: C Pin
RedDk26-Feb-22 9:47
RedDk26-Feb-22 9:47 
GeneralRe: C Pin
Greg Utas26-Feb-22 11:32
mveGreg Utas26-Feb-22 11:32 
Questionhow to dynamically delete sub-control created in run-time Pin
wuxianzhong18-Feb-22 16:54
wuxianzhong18-Feb-22 16:54 
AnswerRe: how to dynamically delete sub-control created in run-time Pin
Gerry Schmitz18-Feb-22 21:30
mveGerry Schmitz18-Feb-22 21:30 
AnswerRe: how to dynamically delete sub-control created in run-time Pin
Victor Nijegorodov18-Feb-22 22:18
Victor Nijegorodov18-Feb-22 22:18 
AnswerRe: how to dynamically delete sub-control created in run-time Pin
Randor 19-Feb-22 7:27
professional Randor 19-Feb-22 7:27 
QuestionAzure DevOps Chocolatey question : install vs2022 Pin
Maximilien17-Feb-22 8:52
Maximilien17-Feb-22 8:52 
(I'm not sure there's a better place to ask)

I'm trying to use VS2022 in our build pipeline.

I have a pipeline like this :

Quote:
pool:
vmImage: 'windows-latest'

variables:
solution: 'MySolution.sln'

steps:
  • task: CmdLine@2
    displayName: 'Choco install additional packages'
    inputs:
    script: |
    choco install windows-sdk-8.1 visualstudio2017community microsoft-build-tools-2013 visualstudio2022professional
  • task: VSBuild@1
    displayName: 'Build Debug143|x64'
    inputs:
    vsVersion: '17.0'
    solution: '$(solution)'
    maximumCpuCount: true
    msbuildArchitecture: 'x64'
    platform: 'x64'
    configuration: 'Debug143'


I get errors that it cannot find the installation.

Quote:
2022-02-17T18:46:30.0197396Z ##[error]MyProject.vcxproj(77,3): Error MSB4019: The imported project "C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.Cpp.Default.props" was not found. Confirm that the expression in the Import declaration "C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.Cpp.Default.props" is correct, and that the file exists on disk.


When I put a "dir /s" in my pipeline, it looks like VS2022 is not installed in that path.

I'm not sure what I have to do to make it work.

Any Idea ?
Thanks.
CI/CD = Continuous Impediment/Continuous Despair

AnswerRe: Azure DevOps Chocolatey question : install vs2022 Pin
Mircea Neacsu17-Feb-22 9:02
Mircea Neacsu17-Feb-22 9:02 
GeneralRe: Azure DevOps Chocolatey question : install vs2022 Pin
Maximilien18-Feb-22 4:23
Maximilien18-Feb-22 4:23 
GeneralRe: Azure DevOps Chocolatey question : install vs2022 Pin
Mircea Neacsu18-Feb-22 6:06
Mircea Neacsu18-Feb-22 6:06 
QuestionMessage Closed Pin
13-Feb-22 19:51
Member 1496877113-Feb-22 19:51 
AnswerRe: resource wanted - print control / color codes Pin
Gerry Schmitz13-Feb-22 20:32
mveGerry Schmitz13-Feb-22 20:32 
AnswerRe: resource wanted - print control / color codes Pin
Richard MacCutchan13-Feb-22 23:24
mveRichard MacCutchan13-Feb-22 23:24 
AnswerRe: resource wanted - print control / color codes Pin
Peter_in_278013-Feb-22 23:31
professionalPeter_in_278013-Feb-22 23:31 
QuestionStatic OwnerDraw SS_OWNERDRAW DrawItem not being called Pin
ForNow7-Feb-22 15:53
ForNow7-Feb-22 15:53 
AnswerRe: Static OwnerDraw SS_OWNERDRAW DrawItem not being called Pin
Richard MacCutchan7-Feb-22 22:08
mveRichard MacCutchan7-Feb-22 22:08 
GeneralRe: Static OwnerDraw SS_OWNERDRAW DrawItem not being called Pin
Victor Nijegorodov7-Feb-22 23:49
Victor Nijegorodov7-Feb-22 23:49 
GeneralRe: Static OwnerDraw SS_OWNERDRAW DrawItem not being called Pin
Richard MacCutchan8-Feb-22 0:39
mveRichard MacCutchan8-Feb-22 0:39 
AnswerRe: Static OwnerDraw SS_OWNERDRAW DrawItem not being called Pin
Victor Nijegorodov7-Feb-22 23:42
Victor Nijegorodov7-Feb-22 23:42 
GeneralRe: Static OwnerDraw SS_OWNERDRAW DrawItem not being called Pin
ForNow8-Feb-22 2:23
ForNow8-Feb-22 2:23 
GeneralRe: It gets called at the end of the OnInitDialog Pin
ForNow8-Feb-22 12:25
ForNow8-Feb-22 12:25 
Questionways to write code for a class Pin
Calin Negru6-Feb-22 8:43
Calin Negru6-Feb-22 8:43 
AnswerRe: ways to write code for a class Pin
Mircea Neacsu6-Feb-22 10:15
Mircea Neacsu6-Feb-22 10:15 
AnswerRe: ways to write code for a class Pin
Greg Utas6-Feb-22 11:16
mveGreg Utas6-Feb-22 11:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.