You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Runs successfully on Visual Studio 2017RC environment Build 26020.00
Fails compiling in command line.
C:\Program Files\dotnet\sdk\1.0.0-rc4-004530\Roslyn\Microsoft.CSharp.Core.targets(71,5): error MSB3105: The item "Class1.cs" was specified more than once in the "Sources" parameter. Duplicate items are not supported by the "Sources" parameter. [D:\workspaces\enricforn\dotnetcore-webapi-sample-app\ClassLibraryTest\ClassLibraryTest.csproj]
Steps to reproduce
Clone repo https://github.com/enricforn/dotnetcore-webapi-sample-app.git
Use dotnetcore sdk version 1.0.0-rc4-004530
run dotnet restore
run dotnet build -v:n
Expected behavior
Compilation successful
Actual behavior
Runs successfully on Visual Studio 2017RC environment Build 26020.00
Fails compiling in command line.
C:\Program Files\dotnet\sdk\1.0.0-rc4-004530\Roslyn\Microsoft.CSharp.Core.targets(71,5): error MSB3105: The item "Class1.cs" was specified more than once in the "Sources" parameter. Duplicate items are not supported by the "Sources" parameter. [D:\workspaces\enricforn\dotnetcore-webapi-sample-app\ClassLibraryTest\ClassLibraryTest.csproj]
Environment data
dotnet --info
output:PS D:\workspaces\enricforn\dotnetcore-webapi-sample-app> dotnet --version
1.0.0-rc4-004530
##Possible workaround
I tried to solve the issue using workaround #668 but it doesn`t work.
The text was updated successfully, but these errors were encountered: