Quantcast
Channel: Visual Studio General Questions forum
Viewing all 21115 articles
Browse latest View live

Error compiling Unreal Engine 4.24.1 after updating VS Community 2019 to v16.5

$
0
0

Hi,

I'm having a weird error after updating visual studio 2019 community from v16.4.5 to 16.5. Even a fresh install of the engine will no longer build. I'm getting the errors listed below. The build doesn't fail until the end of compiling all modules:

Warning C4996 'TBaseMulticastDelegate<void>::AddRaw::FDeprecationMsg_788::condition': Binding a delegate with a const object pointer and non-const function is deprecated. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. UE4 H:\OMG Projects\ROVE\Engine\Source\Runtime\Core\Public\Delegates\DelegateSignatureImpl.inl 788

Error C4800 Implicit conversion from 'ADODB::_Recordset *const ' to bool. Possible information loss UE4 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\INCLUDE\comip.h 311

Error C4800 Implicit conversion from 'ADODB::_Connection *const ' to bool. Possible information loss UE4 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\INCLUDE\comip.h 311

Warning C4996 'AActor::Role': This member will be made private. Please use GetLocalRole or SetRole. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. UE4 H:\OMG Projects\ROVE\Engine\Plugins\Marketplace\DirGravity\Source\DirGravity\Private\GravityMovementComponent.cpp 290

Warning C4996 'AActor::Role': This member will be made private. Please use GetLocalRole or SetRole. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. UE4 H:\OMG Projects\ROVE\Engine\Plugins\Marketplace\DirGravity\Source\DirGravity\Private\GravityMovementComponent.cpp 822

Warning C4996 'AActor::ReplicatedMovement': This member will be made private. Please use GetReplicatedMovement or SetReplicatedMovement. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. UE4 H:\OMG Projects\ROVE\Engine\Plugins\Marketplace\DirGravity\Source\DirGravity\Private\GravityMovementComponent.cpp 825

Error MSB3075 The command "..\..\Build\BatchFiles\Build.bat -Target="UE4Editor Win64 Development" -Target="ShaderCompileWorker Win64 Development -Quiet" -WaitMutex -FromMsBuild" exited with code 5. Please verify that you have sufficient rights to run this command. UE4 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets 44

I have not changed or updated anything on the Unreal Engine-side of the code, and I've been reading that some users of Epic's latest release (UE4.24.3) are having compilation errors as well. This error occurs during a build of UE4.sln, sourced from Epic's github repo. 

Seeing as Microsoft doesn't have archives of installers for VS Community, only Enterprise and Pro, I'm kind of suddenly stuck here because I can't just uninstall 16.5 and reinstall 16.4.5 (which is the last working version I was on before the update).

Any insight into this would be helpful, Thanks!



Xamarin Forms: How to fix "Waiting for Intellicense to finish initializing"

$
0
0

Hi there!
After update to Visual Studio 16.5.1 (Community Edition 2019), when I add a new page to project, a page is showed with the message: "Waiting for Intellicense to finish initializing...", but this process/task never ends.
I need to close the page and reopen it.
Is there a way to fix that?

Best regards!


Ciro

Suddenly dozens of errors showing up when compiling

$
0
0

I have made a program with C in Visual Studio which has been working fine. Lately, I have been doing some minor updates, and suddenly dozens of errors show up when compiling, but without showing any error in my own code. I have absolutely no idea why this happens and what to do about it, and therefore need some help. Here is the error messages:

1>------ Build started: Project: Raga_demo, Configuration: Debug Win32 ------
1>Main.c
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vadefs.h(63,30): error C2054: expected '(' to follow 'testnummer'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vadefs.h(63,39): error C2085: 'uintptr_t': not in formal parameter list
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vadefs.h(72,30): error C2085: 'va_list': not in formal parameter list
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime.h(61,56): warning C4081: expected ')'; found 'string'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime.h(96,1): warning C4079: unexpected token 'string'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime.h(96,1): warning C4081: expected 'newline'; found ')'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime.h(197,36): error C2085: 'size_t': not in formal parameter list
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime.h(198,39): error C2085: 'ptrdiff_t': not in formal parameter list
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime.h(199,38): error C2085: 'intptr_t': not in formal parameter list
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime.h(209,30): error C2085: '__vcrt_bool': not in formal parameter list
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime.h(228,35): error C2085: 'wchar_t': not in formal parameter list
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime.h(338,46): error C2085: '__security_init_cookie': not in formal parameter list
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime.h(341,64): error C2146: syntax error: missing ')' before identifier '_StackCookie'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime.h(341,64): error C2085: '__security_check_cookie': not in formal parameter list
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime.h(341,64): error C2146: syntax error: missing ',' before identifier '_StackCookie'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime.h(341,76): error C2059: syntax error: ')'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime.h(342,67): error C2085: '__report_gsfailure': not in formal parameter list
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime.h(349,18): error C2085: 'uintptr_t': not in formal parameter list
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime.h(349,18): error C2146: syntax error: missing ',' before identifier '__security_cookie'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime.h(357,1): warning C4161: #pragma pack(pop...): more pops than pushes
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\excpt.h(15,56): warning C4081: expected ')'; found 'string'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\excpt.h(17,1): warning C4079: unexpected token 'string'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\excpt.h(17,1): warning C4081: expected 'newline'; found ')'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\excpt.h(28,24): error C2085: 'EXCEPTION_DISPOSITION': not in formal parameter list
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\excpt.h(38,5): error C2061: syntax error: identifier 'EXCEPTION_DISPOSITION'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\excpt.h(85,1): warning C4161: #pragma pack(pop...): more pops than pushes
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h(270,28): error C2143: syntax error: missing ')' before 'const'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h(270,28): error C2143: syntax error: missing '{' before 'const'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h(270,34): error C2059: syntax error: ','
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h(275,9): error C2059: syntax error: ')'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h(283,24): error C2143: syntax error: missing ')' before 'const'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h(283,24): error C2143: syntax error: missing '{' before 'const'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h(284,24): error C2143: syntax error: missing ';' before 'const'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h(287,35): error C2059: syntax error: ')'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h(562,20): error C2061: syntax error: identifier 'rsize_t'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h(562,20): error C2059: syntax error: ';'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(463,17): error C2061: syntax error: identifier 'WCHAR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(463,17): error C2059: syntax error: ';'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(469,15): error C2143: syntax error: missing '{' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(470,21): error C2143: syntax error: missing '{' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(472,33): error C2143: syntax error: missing '{' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(473,33): error C2143: syntax error: missing '{' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(474,39): error C2143: syntax error: missing '{' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(475,43): error C2143: syntax error: missing '{' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(476,39): error C2143: syntax error: missing '{' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(477,34): error C2143: syntax error: missing '{' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(478,40): error C2143: syntax error: missing '{' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(479,49): error C2143: syntax error: missing '{' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(481,37): error C2143: syntax error: missing '{' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(482,43): error C2143: syntax error: missing '{' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(483,47): error C2143: syntax error: missing '{' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(484,53): error C2143: syntax error: missing '{' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(486,16): error C2143: syntax error: missing '{' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(487,22): error C2143: syntax error: missing '{' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(488,26): error C2143: syntax error: missing '{' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(489,32): error C2143: syntax error: missing '{' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(493,21): error C2143: syntax error: missing '{' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(494,31): error C2143: syntax error: missing '{' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(560,15): error C2061: syntax error: identifier 'TCHAR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(560,15): error C2059: syntax error: ';'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(560,20): error C2059: syntax error: ','
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(561,15): error C2061: syntax error: identifier 'TBYTE'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(561,15): error C2059: syntax error: ';'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(561,21): error C2059: syntax error: ','
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(565,15): error C2061: syntax error: identifier 'LPTCH'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(565,15): error C2059: syntax error: ';'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(565,20): error C2059: syntax error: ','
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(566,16): error C2061: syntax error: identifier 'LPCTCH'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(566,16): error C2059: syntax error: ';'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(566,22): error C2059: syntax error: ','
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(567,16): error C2061: syntax error: identifier 'PTSTR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(567,16): error C2059: syntax error: ';'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(567,21): error C2059: syntax error: ','
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(568,17): error C2061: syntax error: identifier 'PCTSTR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(568,17): error C2059: syntax error: ';'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(568,23): error C2059: syntax error: ','
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(569,17): error C2061: syntax error: identifier 'PUTSTR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(569,17): error C2059: syntax error: ';'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(569,23): error C2059: syntax error: ','
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(570,18): error C2061: syntax error: identifier 'PCUTSTR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(570,18): error C2059: syntax error: ';'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(570,25): error C2059: syntax error: ','
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(571,16): error C2061: syntax error: identifier 'LP'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(571,16): error C2059: syntax error: ';'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(572,17): error C2061: syntax error: identifier 'PZZTSTR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(572,17): error C2059: syntax error: ';'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(573,18): error C2061: syntax error: identifier 'PCZZTSTR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(573,18): error C2059: syntax error: ';'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(574,18): error C2061: syntax error: identifier 'PUZZTSTR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(574,18): error C2059: syntax error: ';'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(575,19): error C2061: syntax error: identifier 'PCUZZTSTR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(575,19): error C2059: syntax error: ';'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(576,17): error C2061: syntax error: identifier 'PZPTSTR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(576,17): error C2059: syntax error: ';'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(577,16): error C2061: syntax error: identifier 'PNZTCH'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(577,16): error C2059: syntax error: ';'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(578,17): error C2061: syntax error: identifier 'PCNZTCH'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(578,17): error C2059: syntax error: ';'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(579,17): error C2061: syntax error: identifier 'PUNZTCH'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(579,17): error C2059: syntax error: ';'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(580,18): error C2061: syntax error: identifier 'PCUNZTCH'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(580,18): error C2059: syntax error: ';'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime_string.h(25,49): error C2146: syntax error: missing ')' before identifier '_MaxCount'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime_string.h(25,49): error C2081: 'size_t': name in formal parameter list illegal
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime_string.h(25,49): error C2061: syntax error: identifier '_MaxCount'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime_string.h(25,49): error C2059: syntax error: ';'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime_string.h(26,5): error C2059: syntax error: ')'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime_string.h(32,41): error C2146: syntax error: missing ')' before identifier '_Size'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime_string.h(32,41): error C2081: 'size_t': name in formal parameter list illegal
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\vcruntime_string.h(32,41): fatal error C1003: error count exceeds 100; stopping compilation
1>Done building project "Raga_demo.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Thanks in advance.

Sincerely

VSCode automatically putting brackets and a comment when I press return after an else.

$
0
0
Whenever i type 'else' and press the return key, it puts the brackets automatically, i dont like this, how can i get rid of it.

eg:
else
i press enter and it goes to:
else
{
    /* code */

}


I have looked in the preferences and i cant find a way to remove this. I am posting it here cause i cant find a forum sitr for VS Code. I am using c++.

Visual Studio Installer - Setup project output file name

$
0
0

I am developing a Windows Forms Project including a Setup/deployment project.

Each time, I finish a new version, I
- rebuild and create *.msi file for install, fx pgm_7-0.msi - version 7.0
- save a copy of the project source code

Then I increase all version numbers:
- Assembly version to 7.1
- file version to 7.1
- publish version 7.1 (just in case)
- setup project version 7.1, upgrade productcode
- Setup project properties output file name to pgm_7-1.msi

This has worked fine for years - even through the project has lived in VS2008 -> VS2010 -> VS2013 and now VS2017

But as I went from 7.2 to 7.3 /7.4 it still produces a pgm_7-2.msi.

Looks like the output file name hangs in pgm_7-2.msi no matter what I do.

Any explanation ?

mvh  ravnø

Mouse and keyboard lag after VS hit the breakpoint

$
0
0

My program is a shell namespace extension. The situation is similar to the following case in Stackoverflow forum. But the problem only happened in VS, When I switched to another program, everything was OK again.

https://stackoverflow.com/questions/17886883/visual-studio-extreme-lag-spikes-while-debugging (It prompts me that I need to verify my account, so that I can post link.)

 

I can not enable mysql nuget on visual studio 2017

$
0
0

I am developing a winform app which should connect a remote mysql database.

Yesterday every thing was fine but today i can connect database without entity model. But if i want to create entity model i can not see mysql option in the list.

Mysql for visual studio always disable on extensions and updates. I click enable but when i restart the program, it is disabled again.

VCVARS64

$
0
0
May I know what is the full form of "vcvars" in vcvars64.bat file?

When i backspace on visual studio 2019 it makes me do the whole line again

$
0
0
Help my visual studio goes back every time i need too, but then it takes from the next letter making me restart the whole line of code!very annoying when i'm writing lots of code and make 1 mistake then it makes me do the whole line again.

visal studio is running the wrong file in terminal!

$
0
0

im trying to run a file(python) invisual studio , but for some reason it keeps running the same file i Xed long  ago and wont run the right file

what can i do beside turn it off and restart?

Unable to create a new Visual C# project in Visual Studio 2017

$
0
0

Hello,

I have visual studio installed on my system for both C# and C++ and I am able to open both c# and C++ solution files and run them on my visual studio.However I do not have have option to create any C# projects I can edit in the already created project but I cannot create a new one. Also at the same I have option to create a C++ project and also edit them. 

Could some one tell my why it is so or probably the solution to resolve this. ? This will help me resolve this issue.

Thanks in Advance for Your Help,

Shravya


How to set TAB Index automatically as per order of precedence

$
0
0
I am trying to edit an existing project and sometime introducing new controls in  between, Because of that tab index is getting messed up. So I need to reorder the tab index. Is there any way to put tab index for aspx controls as per their order of precedence on aspx page. Any help will be appreciated.
Thank You in advance.

Online compiler collection using various Visual C++ toolkit versions?

$
0
0

Dear Visual Studio experts,

are you aware of an online compiling tool where I could test some #ifdef magic aimed at supporting various MSVC toolkits? (ideally from v90 to v14x included...) ? I'd like to avoid the hassle of setting up a VM, installing tools... I just need to test a simple TU with some static tests. Compiling is enough, I do not need to link or execute (barring code generation bugs).

I know about _MSC_VER_MSC_FULL_VER__cplusplus , _MSVC_LANG and /Zc, but I'd like to test my feature flag detection before pushing my changes into the wild (it's indeed quite scary looking, when taking into account GCC and clang support, and I might want to add support for other compilers in the near future)

I already know about Compiler Explorer but it only goes as far as v140, and I am precisely concerned by the v90/v100 era.

Thanks in advance!

Retrieve .aspx.vb files after publishing in Visual Studio

$
0
0
Is there is a way to get .aspx.vb files after executing publish operation in Visual studio (only .aspx files are available after publishing), since the backup of .aspx.vb files were deleted due to a system issue.

Forms with partial classes - create another form

$
0
0

Hi,

I’m new to Visual Studio and have an issue with Forms and partial classes.

I have a form with has a lot of code behind it. To make it easier to navigate I’ve created a new C# file and put in it the partial class for the form, I’ve then moved some of the forms routines I created into the new c# file.

The problem with this is that when I add the partial class to the new c# file, the c# file then open another form when I double click on it – so now I have two forms??

This is the process I’m taking:

  • Create a new solution, and add a form – Called Form1 (I’ve added a button to the form).

  • As my form has a lot of code, I would like to create a partial class of Form1 so that I can put some of the code in a different file – its easier to navigate this way (so I'm told), so I add a new Class which creates Class1.cs


  • To change Class1 to a partial class of Form1, I copy the code:

“Public partial class Form1 : Form” from Form1.cs and replace the line “class Class1” in Class1.cs

I also add “Using System.Windows.Forms” to Class1.cs.

  • Now when I double click on Class1.cs it open a blank form (though I can get to the code by double clicking on the blank form).

So I now appear to have two forms in my project, the original one for Form1.cs and the new blank one for Class1.cs.

The main reason I am doing this is because the code I have in Form1 is becoming very long and difficult to navigate and so I’d like to split the code into different files. From a previous post on the internet someone said that partial classes where the best way of doing this.

I'd appriciate some advise on why I'm getting two forms - its not a big deal as I can still run my code, its just confusing...

Thanks.


VS Code not activating Python virtual env

$
0
0

I have installed VS Code and the Python plug-in. I have setup a virtual env using Anaconda and added django to this env.
I can select the Virtual env from the drop down list or via the option at the bottom of the screen. A new terminal then runsconda activate <env_name>. However when i try to run the Python website, i get an error that django is not installed.
If i run conda info --envs it shows that the environment is set to the Anaconda base env. despite me changing it.
if i manually run conda activate <env_name> nothing changes.
Why is VS Code not picking up the right virtual environment?

Using WiringPi with Visual Studio

$
0
0

I added Unosquare.WiringPi to my to a Visual Studio Forms project. But I am unfamiliar with C programming and the way it's declared and initialized in the Visual Studio "Blink" project doesn't work in my Visual Studio Forms project. Can you tell me if is possible to use it with my Forms project, and if so how?

I am very familiar with Visual Basic. Do you know if it is possible to use 
Unosquare.WiringPi with Visual Basic?

Lines of Code in Single File

$
0
0
How would you characterize the skills of a programmer who submitted a code file containing over 50,000 lines as a finished result?

Perhaps a better question would be to mention that the programmer did not include any testing and the code was so created to virtually eliminate maintenance or testing by anyone other than -- and possibly even by -- the creator.

Marty G.


Exception thrown at 0x75E14192 (KernelBase.dll) Module not found.

$
0
0

I'm using the latest release of the Visual Studio 2019 Community Edition.  I'm building a console application that uses the Intel Math Kernel Library to do linear algebra calculations.  I successfully used them in the past but have not used them recently.

The application builds successfully but throws an unhandled exception when I call one of intel functions that I have not had issues with in the past.  The debugger output indicate that is has something to do with KernelBase.dll and that it may be some kind of a path problem.  I have updated the installs of Visual Studio and the MKL library the to  latest versions and I am still having the problem.

The exception is thrown when I call the MKL functionLAPACKE_dgetrf.  

CraigsSystem.exe' (Win32): Loaded 'D:\cpodc\Documents\Visual Studio 2019\Projects\CraigsSystem\Debug\CraigsSystem.exe'. Symbols loaded.
'CraigsSystem.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'.
'CraigsSystem.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'.
'CraigsSystem.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'.
'CraigsSystem.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'.
'CraigsSystem.exe' (Win32): Loaded 'C:\Windows\SysWOW64\win32u.dll'.
'CraigsSystem.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'.
'CraigsSystem.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32full.dll'.
'CraigsSystem.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp_win.dll'.
'CraigsSystem.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbase.dll'.
'CraigsSystem.exe' (Win32): Loaded 'D:\cpodc\Documents\Visual Studio 2019\Projects\CraigsSystem\Debug\mkl_rt.dll'. Module was built without symbols.
'CraigsSystem.exe' (Win32): Loaded 'C:\Windows\SysWOW64\vcruntime140d.dll'.
'CraigsSystem.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbased.dll'.
'CraigsSystem.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'.
The thread 0x2b54 has exited with code 0 (0x0).
'CraigsSystem.exe' (Win32): Loaded 'D:\cpodc\Documents\Visual Studio 2019\Projects\CraigsSystem\Debug\mkl_intel_thread.dll'. Module was built without symbols.
'CraigsSystem.exe' (Win32): Loaded 'D:\cpodc\Documents\Visual Studio 2019\Projects\CraigsSystem\Debug\libiomp5md.dll'.
Exception thrown at 0x75E14192 (KernelBase.dll) in CraigsSystem.exe: 0xC06D007E: Module not found (parameters: 0x0095F6BC).
Unhandled exception at 0x75E14192 (KernelBase.dll) in CraigsSystem.exe: 0xC06D007E: Module not found (parameters: 0x0095F6BC).
The thread 0x5060 has exited with code -1073741510 (0xc000013a).
The thread 0x41ec has exited with code -1073741510 (0xc000013a).
The thread 0x4f18 has exited with code -1073741510 (0xc000013a).
The thread 0x297c has exited with code -1073741510 (0xc000013a).
The program '[572] CraigsSystem.exe' has exited with code -1073741510 (0xc000013a).

Thank you in advance for your help.

Craig

Visual Studio 2019 and 2017 About the target platform

$
0
0
If I build a desktop app for windows using Visual Studio 2019 or 2017, is windows server 2019 a target platform?
Viewing all 21115 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>