Hi all,
I installed VS2010 and created a new package with one custom command in it as a test. After the project is created, I notice the references for EnvDTE, EnvDTE100, EnvDTE80, EnvDTE90, Microsoft.VisualStudio.CommandBars and stdole all have exclamation mark.
Building the solution gets following 2 errors:
The "ResolveComReference" task has been declared or used incorrectly, or failed during construction. Check the spelling of the task name and the assembly name.
The "ResolveComReference" task could not be instantiated from "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". The security state of an AppDomain was modified by an AppDomainManager configured with the NoSecurityChanges flag.
My latest VS and .net framework version is
Microsoft Visual Studio 2010
Version 10.0.30319.1 RTMRel
Microsoft .NET Framework
Version 4.0.30319 RTMRel
I do have VS2003, VS2005, VS2008 installed on the same machine.
I did try reinstall VS2010 just in case but it didn't make any difference.
Does anyone know what could went wrong here?
Thanks,
Jinlin