reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mariia Mykhailova (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (REEF-313) Use Visual Studio 2015 for REEF.NET development
Date Wed, 20 Jan 2016 01:13:39 GMT

    [ https://issues.apache.org/jira/browse/REEF-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15107778#comment-15107778
] 

Mariia Mykhailova commented on REEF-313:
----------------------------------------

Test on machine which has both VS2015 and VS2013 installed
Running from VS2015 without any extra setup:

 - build passes. 
There's a significant amount of warnings {{warning MSB4011: "C:\incubator-reef\lang\cs\build.props"
cannot be imported again. It was already imported at "C:\incubator-reef\lang\cs\Org.Apache.REEF.Wake\Org.Apache.REEF.Wake.csproj
(31,3)". This is most likely a build authoring error. This subsequent import will be ignored.}}
Is there any way to get rid of them?
 - tests (executed from Test Explorer) pass, except for {{TestNamedParameterWithAliasRoundTrip}}.
Both mstest and xUnit tests are discovered.

Running from command line (after executing PowerShell {{Setup-VisualStudio 2015}}):
- build passes.
There is a bunch of warnings
{noformat}
"C:\incubator-reef\lang\cs\Org.Apache.REEF.sln" (default target) (1) ->
"C:\incubator-reef\lang\cs\Org.Apache.REEF.Network.Examples.Client\Org.Apache.REEF.Network.Examples.Client.cspro
j" (default target) (13) ->
  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5):
warning MSB3274: The
primary reference "C:\incubator-reef\lang\cs\bin\x64\Debug\Org.Apache.REEF.Bridge\Org.Apache.REEF.Bridge.exe"
co
uld not be resolved because it was built against the ".NETFramework,Version=v4.5.2" framework.
This is a higher
version than the currently targeted framework ".NETFramework,Version=v4.5". [C:\incubator-reef\lang\cs\Org.Apach
e.REEF.Network.Examples.Client\Org.Apache.REEF.Network.Examples.Client.csproj]
{noformat}
Is this expected? Is there any local setup to be done to get rid of them?
- I'm working on running tests from command line. {{vstest.console.exe}} seems to ignore dll
names after the first one, so it looks like several commands need to be executed. I'm thinking
about a PowerShell script to run both mstest and xUnit tests with one command.

> Use Visual Studio 2015 for REEF.NET development
> -----------------------------------------------
>
>                 Key: REEF-313
>                 URL: https://issues.apache.org/jira/browse/REEF-313
>             Project: REEF
>          Issue Type: Task
>          Components: REEF.NET
>            Reporter: Markus Weimer
>            Priority: Minor
>
> Visual Studio 2015 is nearing completion. We should investigate if and when we want to
make the switch from 2013.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message