OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 11:59 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Ye gads, another error!
PostPosted: Fri Mar 24, 2017 1:47 am 
Offline
Member
Member
User avatar

Joined: Sat Sep 17, 2016 2:14 am
Posts: 83
Location: Moscow, Russia
G'day mates,
While I was researching how to make an error-free code, I ran into error MSB4062: The "VCMessage" task could not be loaded from the assembly Microsoft.Build.CppTasks.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. Could not load file or assembly 'Microsoft.Build.CppTasks.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. I have tried to uncheck then check .NET Framework, but it didn't work.
Any suggestions?
Cheers,
Tim Williams.

_________________
Coffee is not airplane fuel.


Top
 Profile  
 
 Post subject: Re: Ye gads, another error!
PostPosted: Fri Mar 24, 2017 2:30 am 
Offline
Member
Member

Joined: Wed Oct 26, 2011 12:00 pm
Posts: 202
This is caused due to corrupt configuration. I would advise you to clean your system from ANY visual-studio installations using Forced Uninstaller that microsoft provides to remove anything related to VS, then doing a full reinstall of visual studio

_________________
mollenos | gracht (protocol library) | vioarr (window-manager) | bake (package manager)


Top
 Profile  
 
 Post subject: Re: Ye gads, another error!
PostPosted: Fri Mar 24, 2017 4:41 am 
Offline
Member
Member
User avatar

Joined: Sat Sep 17, 2016 2:14 am
Posts: 83
Location: Moscow, Russia
Well, I guess I will have to do a code reset with GCC. The bootloader is already good, so I only have to reset the kernel to a cross-Windows and Linux style.

_________________
Coffee is not airplane fuel.


Top
 Profile  
 
 Post subject: Re: Ye gads, another error!
PostPosted: Sat Apr 29, 2017 3:16 pm 
Offline
Member
Member
User avatar

Joined: Sat Sep 17, 2016 2:14 am
Posts: 83
Location: Moscow, Russia
The bug strikes back after copying several files in the MSBuild command prompt.
How do I fix it?

_________________
Coffee is not airplane fuel.


Top
 Profile  
 
 Post subject: Re: Ye gads, another error!
PostPosted: Sat Apr 29, 2017 8:12 pm 
Offline
Member
Member
User avatar

Joined: Thu Jul 12, 2012 7:29 am
Posts: 723
Location: Tallinn, Estonia
Use a proper environment?

_________________
Learn to read.


Top
 Profile  
 
 Post subject: Re: Ye gads, another error!
PostPosted: Mon May 01, 2017 4:08 am 
Offline
Member
Member
User avatar

Joined: Sat Sep 17, 2016 2:14 am
Posts: 83
Location: Moscow, Russia
dozniak wrote:
Use a proper environment?

FYI, I used MSBuild to compile the OS with .NET Framework 4.0. While compiling I got MSB4062.

_________________
Coffee is not airplane fuel.


Top
 Profile  
 
 Post subject: Re: Ye gads, another error!
PostPosted: Mon May 01, 2017 4:38 am 
Offline
Member
Member

Joined: Wed Oct 26, 2011 12:00 pm
Posts: 202
I have to agree with dozniak, use another environment than MSBuild or CI.exe. I currently use that environment with visual studio, and always have, but I would never recommend it. Use GCC instead through bash on windows using Developer Mode.

Or do as I already told earlier in this thread and perform a reinstall, it sounds like a corruption of the installation

_________________
mollenos | gracht (protocol library) | vioarr (window-manager) | bake (package manager)


Top
 Profile  
 
 Post subject: Re: Ye gads, another error!
PostPosted: Mon May 01, 2017 2:09 pm 
Offline
Member
Member
User avatar

Joined: Sat Sep 17, 2016 2:14 am
Posts: 83
Location: Moscow, Russia
MollenOS wrote:
I have to agree with dozniak, use another environment than MSBuild or CI.exe. I currently use that environment with visual studio, and always have, but I would never recommend it. Use GCC instead through bash on windows using Developer Mode.

Or do as I already told earlier in this thread and perform a reinstall, it sounds like a corruption of the installation


Okay. It sucks that VS has to barf out errors while compiling. But with GCC, it all works!!!

_________________
Coffee is not airplane fuel.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 34 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group