-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[Proposal] Allow setting projects meant to only be used to not compile code as Non applicable for building. #15408
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
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
cc @dsplaisted |
It does say that |
Is this what you are looking for? https://github.com/microsoft/MSBuildSdks/tree/master/src/NoTargets |
Oh that looks to be similar. |
there should be a |
Missing this as well. Currently a problem if having sln with different projects, some eg. net8.0, some net8.0-windows. Can control dotnet publish, but not dotnet build, so had to split out a subset sln with only net8.0 projects.
|
Uh oh!
There was an error while loading. Please reload this page.
This is to avoid any CSC warnings about there being no code in the project (obviously there would be no code if we do not mean for the csproj to build anything except generating nuspec / providing our own nuspec to the .NET pack targets files in the .NET SDK (so we can use dotnet pack with it).
I am thinking of something similar to
<IsPackable>/<IsPackable>
for this to be something like:<IsBuildable>true/false</IsBuildable>
(default true)<BuildSupported>true/false</BuildSupported>
(default true)<Buildable>true/false</Buildable>
(default true)The text was updated successfully, but these errors were encountered: