Solved

How can I change the tools version reference in visual studio 2015?

Posted on 2016-10-21
7
135 Views
Last Modified: 2016-10-25
I'm building a script and getting error: BC32035: Attribute specifier is not a complete statement:
One indication is that the msbuild toolset multi versioning mismatch is an issue:
The diagnostic output from the build starts with:



1>Build started 10/21/2016 12:48:03 PM.
1>Building with tools version "14.0".
1>Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="14.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=293424.
1>Target "_CheckForInvalidConfigurationAndPlatform" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\lbc0vht\AppData\Local\Temp\Vsta\SSIS_ST130\VstavmBMdsDem0__3lxd_QougJQ\Vsta2i9UIS2njkCvZAVJTtdxMA\ST_82f1b7073b9643508689b14a7fa0f347.vbproj" (entry point):
0
Comment
Question by:conardb
  • 4
  • 2
7 Comments
 
LVL 79

Accepted Solution

by:
David Johnson, CD, MVP earned 250 total points
ID: 41854274
go to the project folder, open the *.*proj file in an editor in the xml you will see the tools version xml
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

This should have been updated when you opened the solution
0
 
LVL 21

Assisted Solution

by:Tapan Pattanaik
Tapan Pattanaik earned 250 total points
ID: 41854351
Hi conardb,

It seems that you are trying to compile a Visual Studio 2013 Project (as it uses ToolsVersion=12.0) on Visual Studio 2015 (uses ToolsVersion=14.0). You need to compile it with the correct compiler.

Regards,
Tapan Pattanaik
0
 

Author Comment

by:conardb
ID: 41857035
do I need to use visual studio 2013 to combile this?

I tried in sql server data tools / visual studio 2012 and not getting same error but others.
I do not see the <ProjectToolsVersion> = anyversion# in the 2012.proj file.... I'll have to check the 2013.proj file later
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:conardb
ID: 41857451
I think I got past the issues using 2012.... I'm using an http connection and getting errors that connection / file can't be found... I suspect may be the url uses a .asp #jump switch??? or because the file is a .zip file.   If I put the url in directly the http connection does not work...  I will put in a seperate ?
0
 

Author Comment

by:conardb
ID: 41857452
able to compile in 2012... issue with connection / seperate ?
0
 
LVL 21

Expert Comment

by:Tapan Pattanaik
ID: 41857516
Please check the attached screen shot for Project Tools Versoin
Project-Tools-Versoin.PNG
0
 

Author Closing Comment

by:conardb
ID: 41858961
thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now