Visual Studio 2017 can not Debug new asp.net core project - asp.net-core

I installed VS2017 Enterprise on my Windows 10 machine. I created a test core project and hit F5. And I'am keeping getting this error.
The program '[11084] dotnet.exe: Program Trace' has exited with code 0 (0x0).
code:-32000
message:No script for id: 32
The program '[11084] dotnet.exe' has exited with code -2147450749 (0x80008083).
The program '[5892] chrome.exe: WebKit' has exited with code -1 (0xffffffff).
The program '[10272] iisexpress.exe: Program Trace' has exited with code 0 (0x0).
The program '[10272] iisexpress.exe' has exited with code 0 (0x0).
So I can't debug, and can not running. I would be grateful if you could give me any sugetion
Thanks

Are you running Visual Studio as an administrator?

Related

Folly compiler error making build fail. Is there a workaround?

Error message:
Building Solution: C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\XamlCompiler\Microsoft.Windows.UI.X...
× Build failed with message C:\Users\Larkuo\Documents\Work\El-Parah\Code\storeWindows\store\node_modules.folly\folly-2021.06.28.00\folly\lang\Assume.cpp(26,3):
error C2131: expression did not evaluate to a constant [C:\Users\Larkuo\Documents\Work\El-Parah\Code\storeWindows\store\node_modules\react-native-windows\Folly\Folly.vcxproj].
Check your build configuration.
react-native run-windows fails to build
Original build on windows 11 works fine but on windows 10 it returns this error
Run with visual studio code

Failed to locate the code coverage command line tool , MSBuild with SonarQube

Getting the following error's once build is triggered from the build definition.
3:46:16 AM Failed to locate the code coverage command line tool Post-processing failed. Exit code: 1
Exception Message: TF270015: 'MSBuild.SonarQube.Runner.exe' returned an unexpected exit code. Expected '0'; actual '1'. See the build logs for more details. (type UnexpectedExitCodeException)
Exception Stack Trace:
at System.Activities.Statements.Throw.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
I am using SonarQube 5.3, installed in the build server. I have .net framework installed in build server not the visual studio .
BuildDefinition where I am referencing SonarQube.
Please help me here !!!!
The code coverage tools are installed with Visual Studio not the .Net Framework, so if you want code coverage you'll need to install VS on the build agent.
Depending on the version of Visual Studio you are using, you may not need an additional license for build agent. See the discussion Is a separate Visual Studio license required for a build machine? get more detail.

running vb.net code in Mono on Windows

I'm trying to run the following vb.net code on Mono on the Windows 7 machine, ina file called vbtest.vb:
console.writeline("hello world")
The command used and error:
C:\Windows\System32>vbnc "C:\Users\Henry\vbtest.vb"
Visual Basic.Net Compiler version 0.0.0.5943
Copyright (C) 2004-2010 Rolf Bjarne Kvinge. All rights reserved.
Error : VBNC2017: The library 'Microsoft.VisualBasic.dll' could not be found.
There were 1 errors and 0 warnings.
Compilation took 00:00:00.3320190

Moving solutions from 32bit XP to 64bit Win7 --> compile error

I developed some solutions (C#, VB.Net) with VS2008/VS2010 on a XP-computer (32bit). The solutions uses .NET Framework 2.0 and 3.5 and references to 32bit Com-objects (dll, exe). The solutions are compiled with build-setting release+x86. This worked fine.
Now I moved the solutions to a new computer with 64bit Windows7 and VS2010 Premium. Now I'm getting the following error when building the solutions.
This is the complete error message:
------ Rebuild All started: Project: IXDokService, Configuration: Release x86 ------
TlbImp : error TI0000: The input file 'C:\Program Files (x86)\DSA\JetOffice Workflow\bin32\wrkflw32.exe' is not a valid type library.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1558,9): warning MSB3283: Cannot find wrapper assembly for type library "JetOfficeWorkflow".
------ Starting pre-build validation for project 'IXDokServiceWebSetup' ------
ERROR: An error occurred while validating. HRESULT = '80004005'
------ Pre-build validation for project 'IXDokServiceWebSetup' completed ------
------ Rebuild All started: Project: IXDokServiceWebSetup, Configuration: Release ------
========== Rebuild All: 0 succeeded, 2 failed, 0 skipped ==========
wrkflw32.exe is a 32bit-exe (COM). When I'm changing the .NET Framework Version to 4 then the building process of the solution runs successfully.
But I don't want to change the .NET Framework version. Has someone an idea for me?

Visual Studio 2010 Crash on project/form load

First i want to apologize for my english :S.
Hi i just got visual studio pro 2 days ago and every time i create a project, close VS 2010 and when i come back to work on my project and i click on my Form.vb i got every time : Visual Studio has stopped working.Then i tried run as administrator it doesn't work. What i don't understand it's when i click on show code the form load but the moment i click on it ,it just crashing and it's make me wanna drop laptop cascade...I've look on forum and post here but i haven't saw what i was searching.
Here the error that VS show me :(Those files doesn't exist i search)
Files that help describe the problem:
C:\Users\Usager\AppData\Local\Temp\WER152.tmp.WERInternalMetadata.xml
C:\Users\Usager\AppData\Local\Temp\WER18C9.tmp.appcompat.txt
C:\Users\Usager\AppData\Local\Temp\WER3520.tmp.hdmp
An unhandle win32 exception occured in devenv.exe[1688]
Unhandled exception at 0x777715de in devenv.exe: 0xC0000005: Access violation reading
location 0x00000000.
An unhandled exception of type 'System.ExecutionEngineException' occurred in
Microsoft.VisualStudio.Design.dll
Again thank you for your time to helping me.**
Here the Error log :
[02/07/12,18:22:19] Microsoft Visual Studio 2010 Professional - FRA: [2] UpdateFileFetcherFromMsi: Warning: Missing fwlink entry for cabinet: #GDR.cab
[02/07/12,18:22:19] Microsoft Visual Studio 2010 Professional - FRA: [2] UpdateFileFetcherFromMsi: Warning: Missing fwlink entry for cabinet: #QFE.cab
[02/07/12,18:55:04] VS70pgui: [2] Return for Visual Studio 2010 Tools pour SQL Server Compact 3.5 SP2 FRA indicates a failed installation. DepCheck indicates the component is installed.
[02/07/12,18:57:05] Microsoft Visual Studio 2010 Professional - FRA: [2] UpdateFileFetcherFromMsi: Warning: Missing fwlink entry for cabinet: #GDR.cab
[02/07/12,18:57:05] Microsoft Visual Studio 2010 Professional - FRA: [2] UpdateFileFetcherFromMsi: Warning: Missing fwlink entry for cabinet: #QFE.cab
[02/07/12,19:15:44] Microsoft Visual Studio 2010 Professional - FRA: [2] UpdateFileFetcherFromMsi: Warning: Missing fwlink entry for cabinet: #GDR.cab
[02/07/12,19:15:44] Microsoft Visual Studio 2010 Professional - FRA: [2] UpdateFileFetcherFromMsi: Warning: Missing fwlink entry for cabinet: #QFE.cab
**EndOfSession
Could be the *.suo file next to the .sln file. Delete it and retry?
See this for more info
I had a similar error. I found out that the destination path had too many characters and was too long. I fixed it by moving the whole project to my main drive (C:).