Compile error in VS2015 .net 3.5
Hello,
we use FastReport.net 2015.3.1.0 in Visual Studio 2008 project. Project is under .net 3.5 fw and all work well. We are planning upgrade to Visual Studio 2015, but in first step we would like to use .net 3.5 in VS2015.
I tried to convert project from VS2008 to VS2015. Conversion was done without problems, but I can't compile project. VS2015 show this errors:
1>
Rebuild All started: Project: FastReportTestVS2012, Configuration: Debug Any CPU
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1820,5): warning MSB3268: The primary reference "FastReport" could not be resolved because it has an indirect dependency on the framework assembly "System.Windows.Forms.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v3.5". To resolve this problem, either remove the reference "FastReport" or retarget your application to a framework version which contains "System.Windows.Forms.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35".
1>F:\Projekty\Others\C#\FastReportTestVS2012\FastReportTestVS2012\FastReportTest.cs(4,7,4,17): error CS0246: The type or namespace name 'FastReport' could not be found (are you missing a using directive or an assembly reference?)
1>F:\Projekty\Others\C#\FastReportTestVS2012\FastReportTestVS2012\FastReportTest.cs(5,7,5,17): error CS0246: The type or namespace name 'FastReport' could not be found (are you missing a using directive or an assembly reference?)
1>F:\Projekty\Others\C#\FastReportTestVS2012\FastReportTestVS2012\FastReportTest.cs(6,7,6,17): error CS0246: The type or namespace name 'FastReport' could not be found (are you missing a using directive or an assembly reference?)
1>F:\Projekty\Others\C#\FastReportTestVS2012\FastReportTestVS2012\FastReportTest.cs(7,7,7,17): error CS0246: The type or namespace name 'FastReport' could not be found (are you missing a using directive or an assembly reference?)
1>F:\Projekty\Others\C#\FastReportTestVS2012\FastReportTestVS2012\FastReportTest.cs(35,13,35,23): error CS0246: The type or namespace name 'ExportBase' could not be found (are you missing a using directive or an assembly reference?)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
All work well, if I update project to .net 4.0.
Its possible to use FastReport in VS2015 under .net 3.5? Why do all work in VS2008 and in VS2015 not?
Thanks for your answer.
BR,
Jakub.
we use FastReport.net 2015.3.1.0 in Visual Studio 2008 project. Project is under .net 3.5 fw and all work well. We are planning upgrade to Visual Studio 2015, but in first step we would like to use .net 3.5 in VS2015.
I tried to convert project from VS2008 to VS2015. Conversion was done without problems, but I can't compile project. VS2015 show this errors:
1>
Rebuild All started: Project: FastReportTestVS2012, Configuration: Debug Any CPU
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1820,5): warning MSB3268: The primary reference "FastReport" could not be resolved because it has an indirect dependency on the framework assembly "System.Windows.Forms.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v3.5". To resolve this problem, either remove the reference "FastReport" or retarget your application to a framework version which contains "System.Windows.Forms.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35".
1>F:\Projekty\Others\C#\FastReportTestVS2012\FastReportTestVS2012\FastReportTest.cs(4,7,4,17): error CS0246: The type or namespace name 'FastReport' could not be found (are you missing a using directive or an assembly reference?)
1>F:\Projekty\Others\C#\FastReportTestVS2012\FastReportTestVS2012\FastReportTest.cs(5,7,5,17): error CS0246: The type or namespace name 'FastReport' could not be found (are you missing a using directive or an assembly reference?)
1>F:\Projekty\Others\C#\FastReportTestVS2012\FastReportTestVS2012\FastReportTest.cs(6,7,6,17): error CS0246: The type or namespace name 'FastReport' could not be found (are you missing a using directive or an assembly reference?)
1>F:\Projekty\Others\C#\FastReportTestVS2012\FastReportTestVS2012\FastReportTest.cs(7,7,7,17): error CS0246: The type or namespace name 'FastReport' could not be found (are you missing a using directive or an assembly reference?)
1>F:\Projekty\Others\C#\FastReportTestVS2012\FastReportTestVS2012\FastReportTest.cs(35,13,35,23): error CS0246: The type or namespace name 'ExportBase' could not be found (are you missing a using directive or an assembly reference?)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
All work well, if I update project to .net 4.0.
Its possible to use FastReport in VS2015 under .net 3.5? Why do all work in VS2008 and in VS2015 not?
Thanks for your answer.
BR,
Jakub.