-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The item "Class1.cs" was specified more than once in the "Sources" parameter #668
Comments
ah, removing
fixes the issue. still, feels like this should be handled somehow or a lot of projects are going to break :) |
There is supposed to be a different error message that tells you that you don't need the Compile include in your file. It's not showing up in the intellisense build: #664 |
Thinking more about it, it's possible that the reason you didn't get the right error message is because the CLI you are using doesn't have the changes from #624 which added it. |
Aha allright, that's what living on the edge gets ya :D |
@aL38891 which version of sdk contains the fix to this issue ? @dsplaisted if I remove these lines, Visual Studio 2017 do not recognize the class as added to the project |
i'm using version 1.0.0-preview4-004233 |
@enricforn We haven't released a version of Visual Studio with these changes yet. So right now what your .NET CLI supports and what your version of Visual Studio supports is out of sync. |
@dsplaisted ok, as a workaround we'll only compile through command line. It will be supported on the next RC ? |
After removing all occurrences of
it works on VS 2017 RC3. Then I also installed the following debs on our Linux Ubuntu Server so that it can build from the Linux Server:
I used this call
|
…0190529.8 (dotnet#668) - Microsoft.AspNetCore.Mvc.Api.Analyzers - 3.0.0-preview6-19279-08 - Microsoft.AspNetCore.Mvc.Analyzers - 3.0.0-preview6-19279-08
Hello,
While reproing NuGet/Home#4059 I ran into a strange issue with the latest cli, all the details are over there but basically, for a previously created class library I get
and then
Even though there is only one cs file in that project. Am I missing something obvious?
The text was updated successfully, but these errors were encountered: