Posts

Showing posts with the label VisualStudio

VS2017.15.8.4 Error fixed

Image
Recently, I am a bit of fear to upgrade VS2017. Especially a major version was changed that every time will occur some error after installed. This time I  upgrade it from 15.7.x to 15.8.4.As expected all of my projects cannot be loaded. Workaground According to the message I head to the developer forum where I found the answer as below: 1. Run as administrator to open Developer Command. 2.Enter the following commands. gacutil /i "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Build.Framework.dll" gacutil /i "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Build.dll" gacutil /i "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Build.Engine.dll" gacutil /i "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Build.Conversion.Core.dll" gacutil /i "C:\Pro...

VS2017-Build fail-FindDependenciesOfExternallyResolvedReferences

Image
Recently, After installed the newest version of Visual Studio 2017 that occurred some of the following error messages: Software Infomation:Visual Studio 2017 Enterprise 15.7.4  (The problem since 15.6.x) Workaround I asked the help from forums the got temporary workaround as below: Opening file: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets Finding the red block highlight at below photo then remove it from the file. Reference https://developercommunity.visualstudio.com/content/problem/208668/the-finddependenciesofexternallyresolvedreferences.html

VS2017 Msbuild Framework Error

Image
Issue After reinstalling my laptop, My web project that originally normal cannot be deployed.It shows errors Could not load file or assembly "Microsoft.Build.Framework" .

Stopping TypeScript Compile to accelerate debugging

Image
    Due to our project architecture that consists of much of typescript file. Every model or service or controller even a dto that there is an individual file each of them.Total files are 1000 files.     There are too many files in the project so that every time compiler needs waste much time to compile typescript.Today, I count the time is about 30 seconds.   Basically, It will output js file when press saves button but when you execute compiled it will output again and along with all typescript.I don't want to compile all of the typescripts at this situation.Therefore, I found a way to disabled typescript compiled

Unable to launch the IIS Express Web server

Image
   After I finished my program that I tested it with press F5 and I got the error which is "Unable to launch the IIS Express Web server".In the past, My workaround is to restart Visual Studio if which is not working then I will restart the computer so that it can be work.     Every time I got this error that was affected my productivity.According to that, I decided to find the permanent solution to do that.

VS2017 Unable to copy file roslyn

Image
The colleague report a strange error about build process that "Unable to copy file" This error cannot show on my computer.I checked the versions both of my and the colleague. 26430.13 -->My 26430.1 5   -->colleague My computer shows the same error while the upgrade to the same version.