Building native Windows applications in Visual Studio 2022

Building native Windows applications in Visual Studio 2022

Microsoft Visual Studio

2 года назад

78,512 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@FurqanUllah
@FurqanUllah - 10.07.2023 15:18

Exciting, but wondering, what happened to C++, it's not C++ anymore.

Ответить
@user-le8mu5ty3f
@user-le8mu5ty3f - 26.04.2023 22:51

I am trying build a project using azure pipeline -
- task: CmdLine@2
inputs:
script: 'choco install microsoft-build-tools-2013 -y'

- task: MSBuild@1
inputs:
solution: '**/xyz_encoder.sln'
msbuildArchitecture: 'x86'
configuration: 'Release'
msbuildArguments: '/p:PlatformToolset="12.0" /p:VisualStudioVersion="12.0" /p:VCTargetsPath="C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160"'
msbuildLocationMethod: 'location'
msbuildLocation: 'C:\\Program Files (x86)\\MSBuild\\12.0\\Bin\\MSBuild.exe'

Note: Not found V120, So I am using this, but getting error.
using /p:VCTargetsPath="C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160" since

Error:
##[error]C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.Cpp.props(31,5): Error MSB4186: Invalid static method invocation syntax: "[Microsoft.Build.Utilities.ToolLocationHelper]::FindRootFolderWhereAllFilesExist($(_VCTargetsPathFolders), $(_RelativeToolsetFiles))". Method 'Microsoft.Build.Utilities.ToolLocationHelper.FindRootFolderWhereAllFilesExist' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(`a`, `b`)).

how can I fix this?

Ответить
@toby9999
@toby9999 - 13.01.2023 00:15

The C++ language is being ruined by all of this ridiculous complexity. I have written my own random number generators in C++98. No problems. Ive been a C++ Windows application developer for 25 years and never needed this stuff. There is elegance in simplicity. Sadly, the language is losing its elegence :(

Ответить
@pr0g4m3rgyt
@pr0g4m3rgyt - 18.11.2022 03:28

I personally use JavaScript, so how do I run a JS program directly on windows 11? (Without it needing to be opened in a browser)

Ответить
@mariostelzner4530
@mariostelzner4530 - 06.05.2022 06:11

ANYONE HERE THAT CAN ACTUALLY PROGRAM!? AHAHAHA AHAHAHA LOL

Ответить
@mariostelzner4530
@mariostelzner4530 - 06.05.2022 06:01

DOES THIS NEW IMPROVED VISUAL STUDIO PACKAGE COME WITH HOW TO PROGRAM THE MICROSOFT WAY DOCUMENTATION. OR IS IT STILL A FIND CODE ON THE INTERNET THAT YOU CAN USE BECAUSE WE AT MICROSOFT CAN'T COMBINE WINDOWS PROGRAMMING TECHNIQUES WITH OTHER PROGRAMMING LANGUAGES LIKE C OR BASIC OR ASSEMBLY. AHAHAHA AHAHAHA LOL

Ответить
@tomaskonopac9431
@tomaskonopac9431 - 14.04.2022 14:28

Ano to je přesně ten případ kdy Microsoft pohřbil fungující vizuální aplikaci a udělal z toho textoví hnůj pro profesionály a zamezil amatérům si cokoliv udělat sami . Pamatuji časy kdy to bylo opravdu vizuál a apky se tvořili nativně bez editace skriptu . Ostatně stejným způsobem pohřbili Microsoft Access . Dobrá práce Microsoft jste hrobníky aplikací . Tak že si to od vás nekoupím a budu používat produkty , které o vizuální rozhraní výrobce neošidil . Je to prostě hnůj .

Ответить
@mbrowne8166
@mbrowne8166 - 25.12.2021 10:20

Visual studio 2019 is changed vs2022 because c++, that is puzzling.

Ответить
@amraranialh5030
@amraranialh5030 - 05.12.2021 09:50

Thankyou very much what about reports and report viewer in visual studio 2022

Ответить
@hallow1637
@hallow1637 - 25.11.2021 08:01

코드는 C++ 인데 뭔가 너무 바뀌어서 보면서 당황했네요. 근데 C++ 말고 C도 핫로딩되겠죠.

Ответить
@sander_bouwhuis
@sander_bouwhuis - 24.11.2021 13:29

Thanks for the overview. I plan to start using modules when we upgrade to VS2022, so it's great to see a little bit of an introduction to them.
Also, I'm dying/excited to use co-routines.

Ответить
@iSkateNate
@iSkateNate - 21.11.2021 00:41

So, basically if you need anything with a UI use a 3rd party library or buy C++Builder and use that? I know MFC is still there, but that library is quite out of step with the rest of Windows and the ecosystem as a whole. Windows Forms is still CPU Bound. WPF is still an overengineered mess of complexity requiring you to be a XAML Wizard on top of everything else. Is C++/CLI still even supported? I know they don't have designer support for [Managed] C++ anymore.

Ответить
@Nikkes02
@Nikkes02 - 18.11.2021 14:18

Very useful, thanks!

Ответить
@bartlx
@bartlx - 13.11.2021 14:00

Nice overview and demo. Didn't expect the embedded tutorial on vcpkg and modules when I clicked on this video ;) Thx.

Ответить
@TheMR-777
@TheMR-777 - 12.11.2021 23:41

I said to myself, I will watch only 5min, as I'm getting late to sleep
After a while, I heard, Thank you so much for watching...

It was one of the most interesting and informative of the talks I've ever heard!

Ответить
@ChrisCarlos64
@ChrisCarlos64 - 10.11.2021 00:36

Really excited to download and start using this. It seems the intellisense has been fixed over issues with C++20 compiling. I have to really test and find out, but it's been a bit hard to make the switch in 2019 because intellisense really started to whack out, and I'd have to either turn it off or just deal with it. Mind you, the program would build sure, but when little things like code completion wouldn't work anymore because the intellisense was complaining that something didn't exist or I was missing some include, and it started breaking the colorization of my code as well, it was really effecting my flow. Cannot wait to test this and see the improvements!

Ответить
@macxfadz
@macxfadz - 09.11.2021 17:02

Why C++ wants to be Pythonic Like? :(

Ответить
@ardit9988
@ardit9988 - 09.11.2021 16:55

⌨📲

Ответить
@dexterman6361
@dexterman6361 - 09.11.2021 06:36

Excited for reflection TS!

Ответить