Skip to content
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

Is it possible to leave all cs files in csproj? #270

Open
AlexanderButs opened this issue Oct 24, 2019 · 2 comments
Open

Is it possible to leave all cs files in csproj? #270

AlexanderButs opened this issue Oct 24, 2019 · 2 comments

Comments

@AlexanderButs
Copy link

First of all THANK YOU for this useful tool. Great job!

In my old csproj file I have all cs files to compile specified. When I migrate csproj to new format all cs files disappear and new implicit logic to include cs files to project is used. Is it possible to leave all cs files in csproj for new format as well? Couldn't find any related issue to this one.

Thanks.

@sommmen
Copy link

sommmen commented Jul 15, 2020

nope thats not possible, thats how the new format works.

@SamB
Copy link

SamB commented Mar 26, 2021

nope thats not possible, thats how the new format works.

The documentation actually says that this will turn off the implicit items:

<PropertyGroup>
  <EnableDefaultItems>false</EnableDefaultItems>
</PropertyGroup>

Or, if you only want to turn off the implicit Compile items:

<PropertyGroup>
  <EnableDefaultCompileItems>false</EnableDefaultCompileItems>
</PropertyGroup>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants