bdill
Joined: 15 Feb 2005 Posts: 28 Location: Nashville, TN
|
Posted: Wed May 23, 2012 1:19 am Post subject: |
|
|
Here are my results:
When I target the .Net 4 Framework I only get this in the Output window:
| Code: |
------ Build started: Project: CreateRedGateSnapshot, Configuration: Debug x86 ------
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== |
No Errors, warnings or messages in the Error list window.
When targeting the .Net 4 Framework Client profile I get these warnings and error:
http://www.flickr.com/photos/9431737@N08/7252425942/in/photostream
| Code: |
------ Build started: Project: CreateRedGateSnapshot, Configuration: Debug x86 ------
c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3252: Could not resolve assembly "System.Web". The assembly is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.
c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3253: The referenced assembly "RedGate.SQLCompare.Rewriter, Version=10.0.0.192, Culture=neutral, PublicKeyToken=7f465a1c156d4d57, processorArchitecture=MSIL" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.
c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3253: The referenced assembly "RedGate.Shared.Utils, Version=9.5.0.440, Culture=neutral, PublicKeyToken=7f465a1c156d4d57, processorArchitecture=MSIL" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.
c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3253: The referenced assembly "RedGate.Shared.SQL, Version=9.5.0.440, Culture=neutral, PublicKeyToken=7f465a1c156d4d57, processorArchitecture=MSIL" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.
c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3253: The referenced assembly "RedGate.SQLCompare.Engine, Version=10.0.0.192, Culture=neutral, PublicKeyToken=7f465a1c156d4d57, processorArchitecture=MSIL" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.
c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3253: The referenced assembly "RedGate.SQLCompare.ASTParser, Version=10.0.0.192, Culture=neutral, PublicKeyToken=7f465a1c156d4d57, processorArchitecture=MSIL" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.
licenses.licx(1): error LC0003: Unable to resolve type 'RedGate.SQLCompare.Engine.Database,RedGate.SQLCompare.Engine'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== |
The System.Web warnings are expected since it is a Client profile... There is no inner exception that I can see. Right clicking on it doesn't present any menu items related to inner exceptions.
Just for shucks, I tried targeting .Net 3.0 and 3.5 Frameworks.
3.0 worked just fine (same as .Net Framework 2.0)
3.5 gave the same results as 4.0 - failed to build with no Errors, Warnings or Messages in the Error List window. |
|