Solved

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

Posted on 2016-10-21
7
37 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 78

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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

708 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

20 Experts available now in Live!

Get 1:1 Help Now