-
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
.NET CLI not including files under certain directory and not removing other files #1074
Milestone
Comments
Here are those diagnostic build logs you asked for: |
@livarcocc Working
|
This looks like an MSBuild bug... |
This issue was moved to dotnet/msbuild#2128 |
GangWang01
pushed a commit
to GangWang01/sdk
that referenced
this issue
Jun 7, 2022
Remove unused rememberMe parameter
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I upgraded a solution from VS2015 to VS2017 using the migration tool. When I try to compile my project for netstandard1.6, it cannot find certain files even though they are under the same directory. In addition, it is not excluding some files that are stated in my csproj.
Repro steps:
dotnet restore Lucene.Net.Portable.sln
cd .\src\Lucene.Net
dotnet build .\Lucene.Net.csproj -f netstandard1.6
Expected
It builds. (
dotnet build .\Lucene.Net.csproj -f net451
builds correctly)Actual
I get a bunch of errors below:
Support\StreamUtils.cs
should not be compiled because it is removed here: Lucene.net.csproj #L44-L46DisposableThreadLocal<>
is defined inUtil\CloseableThreadLocal.cs
which is under the Lucene.Net folderConstants
is defined inUtil\Constants.cs
Version info
.NET Command Line Tools (1.0.0)
Product Information:
Version: 1.0.0
Commit SHA-1 hash: e53429f
Runtime Environment:
OS Name: Windows
OS Version: 10.0.15063
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\1.0.0
The text was updated successfully, but these errors were encountered: